技能图谱SKILLSGROVE
技能图谱/视频制作/leamsigc/ShortsGenerator/twitter-research-report

twitter-research-report

安装

$npx skills add https://github.com/leamsigc/ShortsGenerator --skill twitter-research-report
$git clone --depth 1 https://github.com/leamsigc/ShortsGenerator.git /tmp/ShortsGenerator && mkdir -p ~/.claude/skills && cp -r /tmp/ShortsGenerator/skills/twitter-research-report ~/.claude/skills/twitter-research-report
请帮我安装这个 Agent Skill:https://github.com/leamsigc/ShortsGenerator/tree/7e4e16b8c5cb51f61836265189e3a89282228e40/skills/twitter-research-report ,先阅读它的 SKILL.md 和脚本,确认安全后再安装到我的技能目录。

简介

原文描述 · MITReport state — generates the final HTML report (REPORT.html) from raw-posts.json, audience-scores.json, content-drafts.json, and engagement-responses.json. Includes audience scoring matrix, top post analysis, content drafts, and pre-defined engagement responses for every topic post. In Video Ideas Mode it also renders the top-10 videos by views (with outlines) and the 5 video ideas with 3 scripts each (viral/storytelling/inspiration) plus YouTube metadata (title, description, tags, keywords) via the shared video-idea-research report script.
以下 SKILL.md 内容转载自 leamsigc/ShortsGenerator(提交 7e4e16b),依据 MIT 许可证转载正文(文字未改动;仅省略文件头元数据、将图片显示为链接,超长内容会截断);版权归 2024 leamsigc 所有。许可证:LICENSE。仅展示说明文件,附带脚本请在原仓库查看。

Twitter/X Research — Report State (v4)

Generates the final HTML report with audience scoring, post links, and engagement responses.

Video Ideas Mode report

When the session contains video-ideas.json (from the analyze state / the video-idea-research playbook), render the dedicated ideas report:

node "$CLAUDE_SKILL_ROOT/scripts/build-ideas-report.js" <path-to-video-ideas.json>
# fallback: node ./skills/video-idea-research/scripts/build-ideas-report.js <path>

Writes ideas-report.md + REPORT.html next to the input with the two mandatory sections: 1) the top 10 videos (rank, title, views, window, velocity, link, outline) and 2) the 5 video ideas (titles, viral + storytelling + inspiration scripts, audiences, view estimate, media links, YouTube metadata). If the main REPORT.html also exists, append a link to it so both are reachable from one index.

Preconditions

  • Config exists: .twitter-research/<timestamp>/config.json
  • Raw posts exist: .twitter-research/<timestamp>/raw-posts.json (10+ topic posts)
  • Analysis exists: .twitter-research/<timestamp>/audience-scores.json
  • Content drafts exist: .twitter-research/<timestamp>/content-drafts.json

Steps

1. Generate engagement responses (per topic post)

For EVERY post in raw-posts.json posts[], craft 3 response types the user can post as replies to build presence on the topic:

Type Strategy Limit Tone
Value add Build on the tweet's point with an expert insight 1-3 sentences Helpful, authoritative
Discussion starter Ask a thoughtful question that sparks replies 1-2 sentences Curious
Agree + amplify Agree strongly and add a personal take 1-2 sentences Enthusiastic

Rules: never pitch the product, stay on-topic, reference specifics, end with a hook, keep it short.

Save to .twitter-research/<timestamp>/engagement-responses.json (schema: responses[] with targetPostUrl, targetHandle, postPreview, targetSegment, responses[{type, text, whyThisWorks}], tracking).

2. Generate REPORT.html

node "$CLAUDE_SKILL_ROOT/scripts/report-html.js" <timestamp>
# fallback: node ./skills/twitter-research/scripts/report-html.js <timestamp>

The script renders a self-contained dark-themed report from all JSON files:

  • Audience scoring matrix
  • Top posts with direct X links + engagement stats
  • Content drafts (social posts + video scripts)
  • Engagement responses (copyable, with Reply-on-X links)

Report Completion

✅ Twitter/X Research Report Complete!

Session: .twitter-research/<timestamp>/
📊 REPORT.html — open in browser
📁 audience-scores.json · content-drafts.json · engagement-responses.json
查看许可证全文(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.