SkillsGrove
SkillsGrove/Produção de vídeo/leamsigc/ShortsGenerator/facebook-research-report

facebook-research-report

Instalação

$npx skills add https://github.com/leamsigc/ShortsGenerator --skill facebook-research-report
$git clone --depth 1 https://github.com/leamsigc/ShortsGenerator.git /tmp/ShortsGenerator && mkdir -p ~/.claude/skills && cp -r /tmp/ShortsGenerator/skills/facebook-research-report ~/.claude/skills/facebook-research-report
Por favor, instale esta Agent Skill para mim: https://github.com/leamsigc/ShortsGenerator/tree/7e4e16b8c5cb51f61836265189e3a89282228e40/skills/facebook-research-report. 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 · MITReport state — synthesizes all phase outputs into a comprehensive final report. Generates a self-contained HTML report (REPORT.html) plus a markdown backup (report.md). Includes performance summary, history trend comparison, top 5 deconstruction recap, video structure analysis, competitor deep-dive, replication scripts, keyword strategy, and engagement opportunities.
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.

Facebook Research — Report State (v3)

Generates the final report. The HTML shell is produced by a script; the analytical sections are authored from the scraped data.

Preconditions

  • Config: .fb-research/projects/<project-name>/config.json
  • Analysis: .fb-research/projects/<project-name>/top5-analysis.md
  • Analytics: .fb-research/projects/<project-name>/page-analytics.json + page-analytics-history.json
  • Competitors: .fb-research/projects/<project-name>/competitors/
  • Optional video template data: video-template/VIDEO-TEMPLATE.md, video-analysis.json, transcripts/

Steps

1. Load all data + compute history trends

Read all JSON/markdown files. Compute trend direction per metric (followers, avg views, avg likes, top post views) across snapshots — improving / declining / stable.

2. Discover real competitors via Facebook search

chrome-devtools navigate_page --url "https://www.facebook.com/search/pages/?q=<URL_ENCODED_NICHE>"

Scroll, extract page results, filter to the top 5 most relevant, save to discovered-competitors.json. Benchmark each competitor's positioning relative to the target page.

3. Generate 5 replication script templates

Mix at least 3 from the page's top 5 + up to 2 from competitor patterns. Each script: original source, core pattern, why it works, adapted topic script (hook/body/CTA), caption template, production notes, performance prediction, post-publication tracking checklist.

Save each to replication-scripts/001-<slug>.md and update replication-history.json.

4. Keyword research + competitor deep-dive

  • WebSearch the niche for trending topics/audience interests
  • Extract keywords from top posts + competitors → keyword clusters by content type
  • Visit competitor pages via Chrome DevTools, extract recent posts + video URLs

5. Generate the HTML report + markdown backup

The HTML shell is rendered from the structured data:

node "$CLAUDE_SKILL_ROOT/scripts/report-html.js" <project-name> [sessionId] --session $SESSION
# fallback: node ./skills/facebook-research/scripts/report-html.js <project-name> --session $SESSION

Then augment REPORT.html with the analytical sections authored above (executive summary, top-5 deep dive, video structure analysis, replication scripts, keyword strategy, engagement strategy, feedback for page manager, 30-day action plan). Keep REPORT.html as the primary deliverable and write report.md as the markdown backup. Append a snapshot to report-history.json.

Report Completion

✅ Facebook Research Report Complete!
Project: .fb-research/projects/<project-name>/
📊 REPORT.html (primary) · 📄 report.md (backup) · 📈 trend-report.md (round 2+)
Replication scripts: <N> · Competitors analyzed: <N>
Next step: skill facebook-research-engage (recommended for growth)
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.