ig-audience-insights

Read real Instagram niche and profile data via Apify without logging in. Scan current posts under a tag (likes, comments, posters) to learn effective formats and hooks, and retrieve public profile stats for any account (follower count, post count, bio, category). Because Instagram hides liker/commenter user info, this tool focuses on content discovery and profile analysis rather than tracking interacting users. Example triggers: “what works in my niche,” “scan a tag,” “competitor data.” Not intended for copywriting.

Last repository push
GitHub Stars
966
Forks
184
Issues / PRs
4

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "ig-audience-insights" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-95c195b169cd42b85e0bad87227c0240a6e6711bce3258dc7e9d6ade5376a138. Verify the upstream source and version against https://github.com/sergebulaev/instagram-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Read real Instagram niche and profile data via Apify without logging in. Scan current posts under a tag (likes, comments, posters) to learn effective formats and hooks, and retrieve public profile stats for any account (follower count, post count, bio, category). Because Instagram hides liker/commenter user info, this tool focuses on content discovery and profile analysis rather than tracking interacting users. Example triggers: “what works in my niche,” “scan a tag,” “competitor data.” Not intended for copywriting.

0 Downloads

Introduction source: third_party · sergebulaev · 0.0.1 Reference

SkillPi interpretation

Tasks
Read your Instagram niche and profile from real data via Apify, no login. Scan a hashtag for the posts traveling now (likes, comments, owner) to see the format and hook that works. Pull profile stats for any handle, yours or a competitor's: followers, posts, bio, category. Instagram hides who liked or commented on other accounts, so this is discovery plus profiles, not engagers. Triggers on \"what works in my niche\", \"scan the hashtag\", \"competitor stats\". Not for writing captions (use ig-caption-writer).
Audience
Turn real Instagram data into a read on what is working: which posts in your niche are traveling right now and why, and how any account (yours or a competitor's) actually performs. This is the read layer, so the skill sees real numbers instead of guessing. One honest limit: Instagram caps and cookie-gates who **liked** or **commented** on someone else's post, so a liker or commenter roster is not reliably available for other accounts. The signal here is **niche post performance + profile stats**, which is what you can actually read on Instagram.
Inputs and outputs
A niche hashtag (with or without the `#`), a username (yours or a competitor's), or both Optional: the goal (niche pulse / competitor read / self benchmark)
Software, accounts and paid services
The read layer uses **Apify** (no login, no cookies). Get a free token at `https://console.apify.com/account/integrations` and set `APIFY_TOKEN`. No token? Paste the posts or profile stats you already have and the skill runs the same analysis on them.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: ig-audience-insights
description: "Read your Instagram niche and profile from real data via Apify, no login. Scan a hashtag for the posts traveling now (likes, comments, owner) to see the format and hook that works. Pull profile stats for any handle, yours or a competitor's: followers, posts, bio, category. Instagram hides who liked or commented on other accounts, so this is discovery plus profiles, not engagers. Triggers on \"what works in my niche\", \"scan the hashtag\", \"competitor stats\". Not for writing captions (use ig-caption-writer)."

Instagram Audience Insights

Turn real Instagram data into a read on what is working: which posts in your niche are traveling right now and why, and how any account (yours or a competitor's) actually performs. This is the read layer, so the skill sees real numbers instead of guessing.

One honest limit: Instagram caps and cookie-gates who liked or commented on someone else's post, so a liker or commenter roster is not reliably available for other accounts. The signal here is niche post performance + profile stats, which is what you can actually read on Instagram.

When to use

  • "What is working in my niche / scan the #hashtag"
  • "Pull the stats for this account / how big is this competitor"
  • "What format is traveling under this hashtag right now"
  • "Compare my follower count to this account"

Not for writing a caption (use ig-caption-writer) or planning a carousel (use ig-carousel-planner).

Setup (optional)

The read layer uses Apify (no login, no cookies). Get a free token at https://console.apify.com/account/integrations and set APIFY_TOKEN. No token? Paste the posts or profile stats you already have and the skill runs the same analysis on them.

Input

  • A niche hashtag (with or without the #), a username (yours or a competitor's), or both
  • Optional: the goal (niche pulse / competitor read / self benchmark)

Output

  1. Niche pulse - the top posts under a hashtag ranked by engagement, with the pattern behind the winners (hook shape, caption length, image vs carousel vs Reel, presence of a question or a specific number)
  2. Profile read - the stats for a handle: followers, post count, bio, category, verified and business flags
  3. Benchmark - your account against a competitor on follower count and post cadence, normalized so a small account's breakout is not buried under a big account's average
  4. Action list - what format to make more of, which accounts to watch, what to route to ig-caption-writer or ig-carousel-planner

Steps

  1. Pull the data. For a niche: lib.ApifyClient().fetch_niche_posts(hashtag, max_items=20). For a profile: fetch_profile(username). Falls back to pasted data if no token.
  2. Rank by engagement. Sort the niche posts by likes + comments. Normalize against the owner's reach where known so a mega-account's average does not crowd out a small account's breakout.
  3. Extract the pattern. For the top posts, name what they share: the hook shape (question, confession, list, data-point), the caption length, image vs carousel vs Reel, the presence of a specific number. That is the repeatable part.
  4. Read the profile. From fetch_profile, report followers, post count, bio, category, and whether it is a verified business account. Use it to benchmark, not to guess private engagement.
  5. Benchmark honestly. Compare handles on the stats Instagram exposes (followers, post count, cadence). Do not imply access to a liker or commenter list for accounts you do not own.
  6. Build the action list. Make-more-of (the winning format), watch (specific accounts), route drafts to ig-caption-writer / ig-carousel-planner.
  7. Deliver the report in the Output shape, with the raw ranked posts and profile stats attached.

What the read layer exposes

Method Returns
fetch_niche_posts(hashtag, max_items) top posts under a hashtag: caption, likes, comments, owner, type, url
fetch_profile(username) profile stats: username, followers, following, posts, bio, category, verified, business

Hard rules

Global voice rules: see root SKILL.md Voice rules. Additional skill-specific rules:

  • Be honest that Instagram hides who liked or commented on other accounts. This is niche discovery + profile stats, not a liker or engager roster. Do not imply otherwise.
  • Normalize by follower count before calling a post a winner, or you extract "big account" effects, not "good post" effects.
  • Never invent a post, a number, or a pattern. If a hashtag returns thin, say so and try an adjacent tag or pull known accounts.
  • A pattern is only a pattern if it recurs across several top posts, not one.

Related skills

  • ig-caption-writer - write more of what the niche data shows is working
  • ig-carousel-planner - turn a winning format into a slide plan
  • ig-hook-extractor - reverse-engineer the hook from a top-performing post
  • ig-hashtag-strategist - size the hashtag set around the tags that are traveling
  • ig-content-planner - feed the winning patterns into a weekly plan

Version history

  1. v1.0.34 GitHub ↗
    Original release notes

    Dependency refresh only: `certifi` to 2026.10.23 and the `hashgraph-online` plugin scanner action to 1.2.817 (#35, #38), with the Codex package resynced. **Full changelog:** https://github.com/sergebulaev/instagram-skills/compare/v1.0.33...v1.0.34

  2. v1.0.33 GitHub ↗
    Original release notes

    ## Publora links carry UTM now Signups that came from this repo arrived with no referrer and counted as "direct", so the question "how much do the skills repos actually bring" had no answer. [@ftseitlx](https://github.com/ftseitlx) tags every bare Publora link. No behaviour changes. | Where the link lives | `utm_medium` | |---|---| | README, read on GitHub | `readme` | | SKILL.md, read by Claude Code and Codex | `skill` | | `.env.example` | `env-example` | | `PUBLORA_SIGNUP_URL`, printed by the agent | `agent` | `utm_source=github`, `utm_campaign=instagram-skills`. API and media URLs untouched. The fourth row is the interesting one: that link is printed mid-task, right after a draft is approved and the agent explains that auto-publishing takes two minutes. It is the only one of the four where the agent knows which skill is running, which is where a per-skill label would go if the attribution turns out to be worth it. Also: a grammar fix in the README from [@wanderlustdrc](https://github.com/wanderlustdrc) (#28). Dependencies refreshed in the same release. **Full changelog:** https://github.com/sergebulaev/instagram-skills/compare/$prev...v1.0.33

  3. v1.0.32 GitHub ↗
    Original release notes

    ## The MCP mapping check now matches each table to the shape it documents The version of `check_mcp_mapping.py` this bundle shipped compared field names against the whole document. That passes when a row is deleted from one mapping table while the same field name still appears in another, which is exactly the case the check exists to catch: two shapes under one set of names is how a connector read quietly becomes a second contract. It now finds, for each normalizer, the table the prose attributes to it, and fails on a row missing from that table or a row it never produces. Each mapping table therefore has to name its normalizer, which the reference now does. Verified by deleting a row that exists in both tables and watching it fail on the right one. **Full changelog:** https://github.com/sergebulaev/instagram-skills/compare/$prev...v1.0.32

  4. v1.0.31 GitHub ↗
    Original release notes

    ## Instagram reads work on claude.ai now Add this as a custom connector and sign in with OAuth, no key on disk: ``` https://mcp.apify.com?actors=apify/instagram-hashtag-scraper,apify/instagram-profile-scraper ``` **Keep the `?actors=` filter.** The bare `https://mcp.apify.com` also hands the agent `search-actors` and `call-actor`, which run anything in the Apify Store at whatever that actor charges. Checked against the live server rather than its docs: no anonymous access (`401 invalid_token`), 12 default tools rather than the advertised ~30, and both actor names survive without the hash truncation longer ids get. ## The niche scan was ranking noise `fetch_niche_posts` never sent `resultsType`, so it took the actor's default of `posts`: the most recent feed posts under a hashtag, minutes old. Measured across #marketing, #fitness and #coffee: **14 of 15 rows came back with a `likesCount` of 0**, while reels on the same hashtags returned 758, 2004 and 3462. `ig-audience-insights` has been sorting those zero-like rows by engagement and reporting the result as what is working in your niche. `kind` now defaults to `"reels"`. Pass `kind="posts"` when the question really is what was just published. ## A hidden count is not a zero The actor answers `-1` when an account hides its counts. Passing that through as a number sorted a hidden post *below* a post with genuinely zero engagement. Counts now normalize to `None`, and the ranking step skips them rather than treating unknown as worst. ## The mapping, and a check that holds it `references/mcp-read-layer.md` carries the connector URL, both tool names, the inputs including the two the library does not use (`keywordSearch`, `includeAboutSection`), both mappings (8 fields for a hashtag row, 11 for a profile), the hidden-count rule, and what Instagram gates regardless of path: no post-by-URL read, no likers, commenter identities capped and cookie-walled. `scripts/check_mcp_mapping.py` fails if an actor id, an input key or a flat field drifts from `lib/apify_client.py` in either direction. Verified against five ways of breaking it. Also: the README claimed there is no read layer and suggested wiring an actor later, for a bundle that has shipped two. **Full changelog:** https://github.com/sergebulaev/instagram-skills/compare/v1.0.30...v1.0.31

  5. v1.0.30 GitHub ↗
    Original release notes

    Two trust boundaries this bundle shared with the LinkedIn one, where [@cybrking](https://github.com/cybrking) reported them ([#68](https://github.com/sergebulaev/linkedin-skills/pull/68)). These clients share an ancestor, so two of his three findings were here too. ## A project `.env` could choose what the publisher executes `load_env()` copied every variable in any `.env` found by searching upwards from the working directory into the environment. The DIY tier reads `INSTAGRAM_SKILLS_CUSTOM_POSTER` from there and runs it through `subprocess`. So a `.env` that arrives with a clone, or that anything able to write a file leaves in a parent directory, was arbitrary command execution on the next publish. `lib/_env.py` now reads an allowlist of five credential names with `dotenv_values()`. The poster has to come from the launch environment. Verified by hand: a `.env` setting the poster no longer reaches `os.environ`, while the credential beside it still loads. ## Credentials followed redirects The Publora key rides the custom header `x-publora-key` and the read token rides a query parameter. `requests` strips `Authorization` across hosts but neither of those, and redirects are allowed by default, so a redirect would have handed the credential, and on POST the request body, to whatever host answered. Every authenticated call in the Publora, read-layer and Pixfaro clients now refuses redirects. His third finding, a fail-open status check before deletion, does not apply here: this bundle has no `delete_post`. ## Held by a check `scripts/check_security_boundaries.py` enforces all of it: the allowlist exists, the poster is not in it, nothing calls `load_dotenv()` behind `load_env`, and no authenticated request is missing `allow_redirects=False`. Wired into the verify-references workflow and verified against all four failure modes. **Full changelog:** https://github.com/sergebulaev/instagram-skills/compare/$prev...v1.0.30

Only the five most recent versions are shown. View full version history at the source ↗

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 解决 Instagram 内容创作者的实际痛点:了解细分领域有效格式与竞品分析
  • 提供真实数据驱动的洞察,避免猜测,提升内容策略效率
Trigger Precision92/100

Highlights

  • 触发词精准覆盖核心场景:“what works in my niche”、“scan the hashtag”、“competitor stats”
  • 边界清晰,避免与其他 Skill 重叠
Structure and Standards95/100

Highlights

  • 结构完整,包含 When to Use、Setup、Input、Output、Steps 等必要章节
  • 步骤清晰(7 步),有端到端逻辑与出口条件
Execution Reliability88/100

Areas to improve

  • description写错位置 Reported severity: Minor

    顶层 frontmatter 中 description 字段为空,实质描述内容位于 skill_body 内部

    Recommendation: 将 description 内容移至顶层 frontmatter 的 description 字段,保持规范一致

Highlights

  • 工具来源明确(Apify),参数合理,支持无 token 降级方案
  • 数据归一化处理避免“大账号效应”,提升分析准确性
Evidence Verifiability (mean of the first four)88/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • console.apify.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

The read layer uses **Apify** (no login, no cookies). Get a free token at `https://console.apify.com/account/integrations` and set `APIFY_TOKEN`. No token? Paste the posts or profile stats you already have and the skill runs the same analysis on them.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.