competitor-report
Installation
SKILL.md
Competitor report
The user sends an Instagram profile, you return a report built on data, not on impressions.
Setup (token, secondary account, tools) is in this skill's README.md. If a step fails for a missing setup piece, point the user to the matching README section instead of guessing.
1. Collect the data
python3 "${CLAUDE_SKILL_DIR}/profile_data.py" "<profile link or handle>" --n 60 --transcribe-top 8 \
--out ~/.creator-skills/research/competitor-reports/data/<handle>-<YYYY-MM-DD>.json
(~/.creator-skills is the default; if the user set CREATOR_SKILLS_HOME, use that instead.) Takes 1-2 minutes, mostly transcription. What it does:
- Source 1, official API (Instagram Business Discovery): bio, website, followers, and for each post caption, date, format, views, likes, comments. Works for Business/Creator accounts, which is almost every competitor.
- Source 2, fallback for personal accounts: a Chrome logged in with the user's secondary account (
ig_browser.py profile). Plays/likes/comments only, no captions or dates: say so in the report and runpython3 "${CLAUDE_SKILL_DIR}/ig_browser.py" post <url>on the top 3-5 reels to get their captions. - Transcripts of the 8 strongest outliers (yt-dlp with the secondary-account session + whisper). Many creators write empty captions like "Comment X", so what they talk about mostly comes from here. Whisper
basemangles names ("Clawed" = Claude): fix them in the report. - Pre-analysis: median reel views,
outlier= views / median, top 10 outliers, outliers from the last 60 days, posts per week, format mix, CTAs in captions, "Comment X" keywords, hashtags, website title and description.
Typical errors: IG_GRAPH_TOKEN missing → README, part A. Instagram is asking for a manual step → python3 "${CLAUDE_SKILL_DIR}/ig_browser.py" open, the user clears the screen by hand. API returns no data though the token is valid → the 90-day data access expired, README part A, "Renewal".