SkillsGrove
SkillsGrove/Vídeo curto e criadores/leamsigc/ShortsGenerator/ig-research

ig-research

Instalação

$npx skills add https://github.com/leamsigc/ShortsGenerator --skill ig-research
$git clone --depth 1 https://github.com/leamsigc/ShortsGenerator.git /tmp/ShortsGenerator && mkdir -p ~/.claude/skills && cp -r /tmp/ShortsGenerator/skills/ig-research ~/.claude/skills/ig-research
Por favor, instale esta Agent Skill para mim: https://github.com/leamsigc/ShortsGenerator/tree/7e4e16b8c5cb51f61836265189e3a89282228e40/skills/ig-research. Leia primeiro o SKILL.md e os scripts, e só a instale na minha pasta de skills depois de confirmar que é segura.

Resumo

Descrição original · MITSocial media content research tool — scrape, transcribe, analyze top-performing content across platforms (Instagram, Facebook, LinkedIn, X, YouTube). Main orchestrator skill. Delegates to state sub-skills for each phase. Also runs the shared video-ideas pipeline (video-idea-research subskill): research the topic on the platform for the reels/videos with the most views in a window (week/month/year) → extract outlines → 5 video ideas × 3 scripts (viral / storytelling / inspiration) + YouTube metadata (title, description, tags, keywords) → REPORT.html with the top 10 videos and the 5 scripted ideas.
O SKILL.md abaixo é reproduzido de leamsigc/ShortsGenerator (commit 7e4e16b) sob a licença MIT. O texto não foi alterado; apenas os metadados do cabeçalho do arquivo foram omitidos, as imagens são exibidas como links e arquivos muito longos são truncados. Copyright 2024 leamsigc. Licença: LICENSE. Apenas o arquivo de instruções é exibido; consulte o repositório original para ver os scripts.

Social Research Tool — Main Skill

Full workflow: Setup → Scrape → Transcribe → Report → Analyze → Video Ideas

Video Ideas Mode

Given a topic (e.g. "futbol mexicano"), research the platform's top reels by views in a window and build video ideas from them:

/ig-research ideas:<topic> [platform:instagram|facebook|linkedin|x|youtube] [window:week|month|year] [limit:10] [ideas:5] [lang:es]

Full protocol: skill video-idea-research. Instagram specifics:

Step How (Instagram)
Collect candidates hashtag pages (/explore/tags/<hashtag>/), reels tab, competitor accounts
Window newest-first browse + post date on each reel page
Views reel page play count when visible; else likes + saves × est. (record the proxy used)
Outline caption = hook; Whisper transcript via scripts/transcribe.sh for beats/CTA
Media reel URLs from the scrape feed the final video (short-generator)
Output video-ideas.json → node "$CLAUDE_SKILL_ROOT/scripts/build-ideas-report.js" <path> (script ships with the video-idea-research skill; fallback: node ./skills/video-idea-research/scripts/build-ideas-report.js <path>)

Architecture

skills/ig-research/            # Skill (bundled, global-installable via ~/.claude/skills/)
├── SKILL.md
└── scripts/                   # Bundled — no external .ig-research/scripts needed
    ├── package.json
    ├── scrape.js
    ├── transcribe.sh
    └── report-html.js

.ig-research/                  # Tool data directory (project root, auto-resolved)
└── projects/<name>/
    ├── config.json            # Global per-project config
    ├── latest.json            # -> <YYYY-MM-DD_HHMMSS>
    └── <YYYY-MM-DD_HHMMSS>/   # One folder per run (dated)
        ├── raw-posts.json
        ├── transcripts/
        ├── hook-screenshots/
        └── report.html

Platform Extensibility

Each platform has its own scraper. The config schema includes a platform field:

Platform Scraper location Config platform
Instagram scripts/scrape.js (default) instagram
Facebook platforms/facebook/scrape.js facebook
LinkedIn platforms/linkedin/scrape.js linkedin
X platforms/x/scrape.js x
YouTube platforms/youtube/scrape.js youtube

To add a new platform: create a scraper script in skills/ig-research/platforms/<name>/scrape.js (or external platforms/<name>/scrape.js with --data-root) that outputs raw-posts.json with the same schema (posts array with postId, type, likes, caption, author, platform, hasScreenshots, hasAudio). The transcribe and report steps work with any platform's output.

Workflow

Load the full workflow with: skill ig-research

Each state can be run independently with: skill ig-research-<state>

# Run full pipeline for a project
skill ig-research-setup     # Step 1: Setup (prerequisites + config)
skill ig-research-scrape    # Step 2: Scrape Instagram
skill ig-research-transcribe # Step 3: Transcribe audio
skill ig-research-report    # Step 4: Generate HTML report
skill ig-research-analyze   # Step 5: Content psychology analysis + video ideas
Ver o texto completo da licença (MIT)
MIT License

Copyright (c) 2024 leamsigc

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.