twitter-thread-creation by inferen-sh/skills
npx skills add https://github.com/inferen-sh/skills --skill twitter-thread-creation通过 inference.sh CLI 撰写高参与度的 Twitter/X 线程。
需要 inference.sh CLI (
infsh)。安装说明
infsh login
# 发布推文
infsh app run x/post-create --input '{
"text": "I analyzed 1,000 landing pages.\n\n90% make the same 5 mistakes.\n\nHere are the fixes (with examples):\n\n🧵👇"
}'
| 元素 | 限制 |
|---|---|
| 推文文本 | 280 字符 (免费版), 25,000 (Premium 版) |
| 线程长度 | 无限制 (10-15 条推文是理想范围) |
| 图片替代文本 | 1,000 字符 |
| 引用推文附加内容 | 280 字符 |
| 回复 |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 280 字符 |
| 显示名称 | 50 字符 |
Tweet 1 (Hook): 大胆主张 + "thread 🧵"
Tweet 2: 背景 / 重要性说明
Tweet 3-9: 每条推文一个要点 (编号)
Tweet 10: 总结或最重要的收获
Tweet 11: 行动号召 (关注、转发、收藏)
这条推文在时间线上独立存在。它必须在没有线程的情况下也有效。
| 钩子类型 | 模板 |
|---|---|
| 我做了 X + 结果 | "我分析了 1,000 个 [事物]。以下是我的发现:" |
| 数字 + 列表 | "10 个 [主题] 技巧,能 [带来好处]:" |
| 反主流观点 | "不受欢迎的观点:[大胆的观点]" |
| 故事开场 | "2019 年,我 [戏剧性事件]。以下是发生的情况:" |
| 操作指南承诺 | "如何 [达成结果] (逐步指南):" |
| 令人惊讶的事实 | "[看似错误的统计数据]。让我解释:" |
# 发布钩子推文
infsh app run x/post-create --input '{
"text": "I spent 3 years building SaaS products.\n\nHere are 10 things I wish someone told me on day 1:\n\n🧵"
}'
| 规则 | 原因 |
|---|---|
| 每条推文一个想法 | 清晰且易于转发 |
| 编号 (1/, 2/ 等) | 进度信号,易于引用 |
| 每条推文应能独立存在 | 人们会分享单条推文 |
| 以见解开头 | 不要埋没重点 |
| 使用换行 | 视觉呼吸空间 |
| 包含示例 | 抽象 → 具体 |
# 带视觉效果的内容推文
infsh app run x/post-create --input '{
"text": "3/ Your pricing page is the second most visited page on your site.\n\nBut most founders treat it as an afterthought.\n\nThe fix:\n→ Show 3 tiers (not 2, not 5)\n→ Highlight the middle one\n→ Annual toggle defaulted ON\n→ Feature comparison below"
}'
# 行动号召推文
infsh app run x/post-create --input '{
"text": "11/ That'\''s the full playbook.\n\nTL;DR:\n• Validate before building\n• Launch ugly, iterate fast\n• Pricing is positioning\n• Talk to users weekly\n\nIf this was useful:\n→ Retweet the first tweet\n→ Follow me @username for more\n→ Bookmark this thread"
}'
❌ 密集:
"If you want to grow on Twitter you need to post consistently and engage with your audience while also making sure your content provides value to your followers."
✅ 格式化:
"Want to grow on Twitter?
3 non-negotiable rules:
→ Post daily (consistency > quality)
→ Reply to 20 accounts bigger than you
→ Every tweet must teach OR entertain
No shortcuts."
| 符号 | 用途 |
|---|---|
| → | 步骤、行动、方向 |
| • | 要点、列表 |
| — | 旁白、归属 |
| ✅ | 该做的、积极的 |
| ❌ | 不该做的、消极的 |
| 1/ 2/ 3/ | 编号的线程推文 |
Short sentence.
← 空行
Short sentence.
← 空行
Punchline.
换行创造节奏感。使用它们来控制阅读速度和强调重点。
| 推文位置 | 图片类型 | 目的 |
|---|---|---|
| 钩子 (推文 1) | 引人注目的图形 | 停止滚动 |
| 关键要点 | 截图、示例 | 证据 |
| 总结 | 信息图 | 可分享的摘要 |
# 生成线程标题图片
infsh app run infsh/html-to-image --input '{
"html": "<div style=\"width:1200px;height:675px;background:linear-gradient(135deg,#0f172a,#1e293b);display:flex;align-items:center;justify-content:center;padding:60px;font-family:system-ui;color:white;text-align:center\"><div><h1 style=\"font-size:48px;font-weight:900;line-height:1.2;margin:0\">10 SaaS Pricing Mistakes<br>That Cost You Revenue</h1><p style=\"font-size:22px;opacity:0.5;margin-top:20px\">A thread 🧵</p></div></div>"
}'
# 为证据生成截图
infsh app run infsh/agent-browser --input '{
"url": "https://example.com/pricing",
"action": "screenshot"
}'
| 格式 | 尺寸 | 最大大小 |
|---|---|---|
| 单张图片 | 1200 x 675 (16:9) 推荐 | 5 MB |
| 两张图片 | 每张 700 x 800 | 每张 5 MB |
| 四张图片 | 每张 600 x 600 | 每张 5 MB |
| GIF | 最大 1280 x 1080 | 15 MB |
1/ [主题] 简单解释:
2/ 什么是 [概念]?
3/ 为什么重要
4-8/ 关键原则 (编号)
9/ 常见错误
10/ 资源
11/ 行动号召
1/ [戏剧性开场]
2/ 背景/上下文
3-7/ 按时间顺序的事件
8/ 转折点
9/ 经验教训
10/ 如何应用
11/ 行动号召
1/ 每个 [受众] 需要的 [数量] 个 [事物]:
2-10/ 每条推文一个项目并附简要说明
11/ 行动号召
1/ 我分析了 [事物]。以下是我的发现:
2/ 设置 (我查看了什么)
3-8/ 发现 1, 2, 3... 附证据
9/ 最大的惊喜
10/ 要点总结
11/ 行动号召
| 行动 | 时机 | 原因 |
|---|---|---|
| 发布钩子推文 | 高峰时段 (目标受众时区的上午 8-10 点,中午 12-1 点) | 最大化初始可见度 |
| 回复链完成线程 | 钩子发布后立即 | 完成线程 |
| 置顶线程 | 发布后立即 | 访客看到你的最佳作品 |
| 与回复互动 | 前 60 分钟 | 算法助推 |
| 引用推文高亮 | 第二天 | 第二波可见度 |
| 重新发布钩子 | 1-2 周后 | 吸引新关注者 |
# 研究源材料
infsh app run tavily/search-assistant --input '{
"query": "latest statistics on remote work productivity 2024"
}'
# 为线程生成视觉内容
infsh app run infsh/html-to-image --input '{
"html": "<div style=\"width:1200px;height:675px;background:#0f172a;display:flex;align-items:center;padding:60px;font-family:system-ui;color:white\"><div><p style=\"font-size:20px;color:#38bdf8;text-transform:uppercase;letter-spacing:2px\">Data Deep Dive</p><h1 style=\"font-size:52px;font-weight:900;margin:12px 0;line-height:1.2\">Remote Work in 2024:<br>What the Data Actually Says</h1></div></div>"
}'
| 错误 | 问题 | 解决方法 |
|---|---|---|
| 钩子推文太弱 | 线程在第一条推文就失败 | 使用钩子公式 — 大胆、具体、激发好奇心 |
| 推文太多 (20+) | 读者在 10-12 条后流失 | 理想范围是 8-12 条推文 |
| 每条推文多个想法 | 混乱,不易转发 | 一个想法 = 一条推文 |
| 推文没有编号 | 难以跟进,没有进度信号 | 始终编号:1/, 2/, 3/ |
| 没有图片 | 带图片的线程参与度提高 2 倍 | 在钩子和关键点添加视觉内容 |
| 只有线程 (没有独立推文) | 错过非线程受众 | 也发布独立推文,不仅仅是线程 |
| 结尾没有行动号召 | 错过关注/参与机会 | 始终要求转发、关注、收藏 |
| 发布时间错误 | 初始参与度低会降低触及率 | 在目标受众的高峰时段发布 |
| 大段文字推文 | 没人阅读密集的推文 | 换行、符号、短句 |
npx skills add inference-sh/skills@linkedin-content
npx skills add inference-sh/skills@content-repurposing
npx skills add inference-sh/skills@social-media-carousel
浏览所有应用:infsh app list
每周安装量
7.2K
代码库
GitHub 星标
202
首次出现
14 天前
安全审计
安装于
claude-code5.8K
gemini-cli5.2K
codex5.2K
opencode5.1K
amp5.1K
github-copilot5.1K
Write high-engagement Twitter/X threads via inference.sh CLI.
Requires inference.sh CLI (
infsh). Install instructions
infsh login
# Post a tweet
infsh app run x/post-create --input '{
"text": "I analyzed 1,000 landing pages.\n\n90% make the same 5 mistakes.\n\nHere are the fixes (with examples):\n\n🧵👇"
}'
| Element | Limit |
|---|---|
| Tweet text | 280 characters (free), 25,000 (Premium) |
| Thread length | No limit (10-15 tweets is sweet spot) |
| Image alt text | 1,000 characters |
| Quote tweet addition | 280 characters |
| Reply | 280 characters |
| Display name | 50 characters |
Tweet 1 (Hook): Bold claim + "thread 🧵"
Tweet 2: Context / why this matters
Tweet 3-9: One point per tweet (numbered)
Tweet 10: Summary or biggest takeaway
Tweet 11: CTA (follow, retweet, bookmark)
This tweet lives or dies alone in the timeline. It must work WITHOUT the thread.
| Hook Type | Template |
|---|---|
| I did X + result | "I analyzed 1,000 [things]. Here's what I found:" |
| Number + list | "10 [topic] tips that [benefit]:" |
| Contrarian | "Unpopular opinion: [bold take]" |
| Story opener | "In 2019, I [dramatic event]. Here's what happened:" |
| How-to promise | "How to [achieve outcome] (step by step):" |
| Surprising fact | "[Stat that seems wrong]. Let me explain:" |
# Post hook tweet
infsh app run x/post-create --input '{
"text": "I spent 3 years building SaaS products.\n\nHere are 10 things I wish someone told me on day 1:\n\n🧵"
}'
| Rule | Why |
|---|---|
| One idea per tweet | Clarity and retweetability |
| Number them (1/, 2/, etc.) | Progress signal, easy to reference |
| Each tweet should stand alone | People share individual tweets |
| Lead with the insight | Don't bury the point |
| Use line breaks | Visual breathing room |
| Include examples | Abstract → concrete |
# Content tweet with visual
infsh app run x/post-create --input '{
"text": "3/ Your pricing page is the second most visited page on your site.\n\nBut most founders treat it as an afterthought.\n\nThe fix:\n→ Show 3 tiers (not 2, not 5)\n→ Highlight the middle one\n→ Annual toggle defaulted ON\n→ Feature comparison below"
}'
# CTA tweet
infsh app run x/post-create --input '{
"text": "11/ That'\''s the full playbook.\n\nTL;DR:\n• Validate before building\n• Launch ugly, iterate fast\n• Pricing is positioning\n• Talk to users weekly\n\nIf this was useful:\n→ Retweet the first tweet\n→ Follow me @username for more\n→ Bookmark this thread"
}'
❌ Dense:
"If you want to grow on Twitter you need to post consistently and engage with your audience while also making sure your content provides value to your followers."
✅ Formatted:
"Want to grow on Twitter?
3 non-negotiable rules:
→ Post daily (consistency > quality)
→ Reply to 20 accounts bigger than you
→ Every tweet must teach OR entertain
No shortcuts."
| Symbol | Use For |
|---|---|
| → | Steps, actions, directions |
| • | Bullet points, lists |
| — | Asides, attributions |
| ✅ | Do's, positives |
| ❌ | Don'ts, negatives |
| 1/ 2/ 3/ | Numbered thread tweets |
Short sentence.
← blank line
Short sentence.
← blank line
Punchline.
Line breaks create pacing. Use them to control reading speed and emphasis.
| Tweet Position | Image Type | Purpose |
|---|---|---|
| Hook (tweet 1) | Eye-catching graphic | Stop the scroll |
| Key points | Screenshots, examples | Evidence |
| Summary | Infographic | Shareable recap |
# Generate thread header image
infsh app run infsh/html-to-image --input '{
"html": "<div style=\"width:1200px;height:675px;background:linear-gradient(135deg,#0f172a,#1e293b);display:flex;align-items:center;justify-content:center;padding:60px;font-family:system-ui;color:white;text-align:center\"><div><h1 style=\"font-size:48px;font-weight:900;line-height:1.2;margin:0\">10 SaaS Pricing Mistakes<br>That Cost You Revenue</h1><p style=\"font-size:22px;opacity:0.5;margin-top:20px\">A thread 🧵</p></div></div>"
}'
# Generate screenshots for evidence
infsh app run infsh/agent-browser --input '{
"url": "https://example.com/pricing",
"action": "screenshot"
}'
| Format | Dimensions | Max Size |
|---|---|---|
| Single image | 1200 x 675 (16:9) recommended | 5 MB |
| Two images | 700 x 800 each | 5 MB each |
| Four images | 600 x 600 each | 5 MB each |
| GIF | 1280 x 1080 max | 15 MB |
1/ [Topic] explained simply:
2/ What is [concept]?
3/ Why it matters
4-8/ Key principles (numbered)
9/ Common mistakes
10/ Resources
11/ CTA
1/ [Dramatic opener]
2/ Background/context
3-7/ Chronological events
8/ The turning point
9/ The lesson
10/ How to apply it
11/ CTA
1/ [Number] [things] every [audience] needs:
2-10/ One item per tweet with brief explanation
11/ CTA
1/ I analyzed [thing]. Here's what I found:
2/ The setup (what I looked at)
3-8/ Finding 1, 2, 3... with evidence
9/ The biggest surprise
10/ Takeaways
11/ CTA
| Action | Timing | Why |
|---|---|---|
| Post hook tweet | Peak hours (8-10 AM, 12-1 PM your audience's TZ) | Maximum initial visibility |
| Reply-chain the thread | Immediately after hook | Complete the thread |
| Pin the thread | Right after posting | Visitors see your best work |
| Engage with replies | First 60 minutes | Algorithm boost |
| Quote-tweet highlight | Next day | Second wave of visibility |
| Repost hook | 1-2 weeks later | Catch new followers |
# Research source material
infsh app run tavily/search-assistant --input '{
"query": "latest statistics on remote work productivity 2024"
}'
# Generate visual for the thread
infsh app run infsh/html-to-image --input '{
"html": "<div style=\"width:1200px;height:675px;background:#0f172a;display:flex;align-items:center;padding:60px;font-family:system-ui;color:white\"><div><p style=\"font-size:20px;color:#38bdf8;text-transform:uppercase;letter-spacing:2px\">Data Deep Dive</p><h1 style=\"font-size:52px;font-weight:900;margin:12px 0;line-height:1.2\">Remote Work in 2024:<br>What the Data Actually Says</h1></div></div>"
}'
| Mistake | Problem | Fix |
|---|---|---|
| Weak hook tweet | Thread dies at tweet 1 | Use hook formulas — bold, specific, curiosity-driving |
| Too many tweets (20+) | Readers drop off after 10-12 | Sweet spot is 8-12 tweets |
| Multiple ideas per tweet | Confusing, not retweetable | One idea = one tweet |
| No numbers on tweets | Hard to follow, no progress signal | Always number: 1/, 2/, 3/ |
| No images | Threads with images get 2x engagement | Add visuals to hook + key points |
| Thread only (no standalone) | Miss the non-thread audience | Post standalone tweets too, not just threads |
| No CTA at the end | Missed follow/engagement opportunity | Always ask to RT, follow, bookmark |
| Posting at wrong time | Low initial engagement kills reach | Post during your audience's peak hours |
| Wall of text tweets |
npx skills add inference-sh/skills@linkedin-content
npx skills add inference-sh/skills@content-repurposing
npx skills add inference-sh/skills@social-media-carousel
Browse all apps: infsh app list
Weekly Installs
7.2K
Repository
GitHub Stars
202
First Seen
14 days ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
claude-code5.8K
gemini-cli5.2K
codex5.2K
opencode5.1K
amp5.1K
github-copilot5.1K
专业SEO审计工具:全面网站诊断、技术SEO优化与页面分析指南
56,300 周安装
| Nobody reads dense tweets |
| Line breaks, symbols, short sentences |