Community写作与编辑github.com

Varnan-Tech/opendirectory

将博客文章或新闻转换为精彩的Twitter/X推文串,包含引人入胜的开头钩子、每条推文一个独特见解,并以明确的行动号召收尾。可选择通过Composio自动发布。

opendirectory 是什么?

该技能能够将一篇博客文章或新闻自动转化为7-10条精心编排的Twitter/X推文串。它首先从用户提供的URL或粘贴的文本中提取标题、作者、发布日期、正文、关键统计数据等核心信息。随后,技能会智能识别文章中最反直觉或最令人惊讶的单个洞察,以及6-9个支撑性的见解、数据点或步骤。根据文章内容,它会自动选择最佳推文串风格——数据/洞察、操作方法、故事/历程或热评——并生成每条推文。每条推文严格限制在280字符以内,坚持“一条推文一个见解”的原则,避免使用禁用词(如“令人难以置信”、“创新”、“颠覆性”等),并采用主动语态和口语化表达,不使用连接线、分号或话题标签。技能还会生成一个备选的开头钩子,并在最后一条推文中加入清晰有力的行动号召。最后,如果配置了COMPOSIO_API_KEY,它可以自动将整个推文串发布到X平台,并确保每条推文回复上一条以形成连贯的串。该技能适用于Claude Code、Cursor、Codex等平台,帮助内容创作者、营销人员和开发者快速高效地将长文内容重新利用为适合社交媒体的短篇推文串,无需繁琐的人工排版和检查。

兼容平台✓Claude Code~Codex CLI~Cursor✓Gemini CLI
npx skills add https://github.com/Varnan-Tech/opendirectory/tree/main/skills/tweet-thread-from-blog

Installed? Explore more 写作与编辑 skills: steipete/notion, langchain-ai/langchain, bytedance/podcast-generation · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

从博客生成推文串

将博客文章或新闻转换为7-10条推文组成的推文串。每条推文一个见解。开头强钩。最后一条推文包含行动号召。可选通过Composio直接发布到X。

写作风格

编写每条推文时,请严格遵循以下规则:

  • 仅使用主动语态
  • 口语化,如同一个人用手机打出
  • 必须使用缩写形式:don't、it's、won't、can't、I've
  • 短句,每条推文只表达一个想法
  • 不要使用长破折号——改用句号或逗号代替
  • 不要使用分号
  • 不要使用Markdown或星号
  • 推文串中任何位置都不要使用话题标签

禁用词——切勿使用以下任何词语: 令人难以置信的、令人惊叹的、杠杆化、协同、改变游戏规则的、改变游戏规则、让我们深入探讨、系好安全带、值得一提的是、深入探究、驾驭、解锁、开创性的、尖端的、非凡的、范式、革命性的、颠覆性的、变革性的、兴奋不已、激动地分享、强大、创新、全面、可操作、关键、必不可少、至关重要、阐明、利用、可以、可能、只是、那个、非常、真的、实际上、一定、可能、基本上、并能

如果草稿推文中包含任何禁用词,在呈现之前必须重写。

关键规则

不要编造具体细节。推文串中的每个说法、数据和例子都必须来自博客文章。切勿捏造数据、引用或结果。


步骤1:检查设置

确认输入已提供。用户必须提供以下之一:

  • 博客文章URL
  • 粘贴的文章文本

如果未提供输入,请询问:“我应该将哪篇博客文章或新闻转换为推文串?请分享一个URL或粘贴内容。”

COMPOSIO_API_KEY 仅在需要直接发布到X时需要。仅输出模式可以无需该密钥直接工作。


步骤2:获取并提取内容

如果输入是URL: 使用WebFetch或Chrome DevTools MCP获取页面。提取:

  • 标题
  • 作者姓名
  • 发布日期
  • 所有正文文本
  • 关键统计数据和数据点
  • 编号列表或步骤
  • 子标题
  • 任何引用

如果输入是粘贴的文本: 直接读取。

获取后,识别:

  • 最令人惊讶或最反直觉的一个洞察
  • 6-9个支撑性见解、数据点或步骤
  • 任何具体的数字、百分比或具体结果
  • 核心论点或主要收获

QA检查点:陈述核心论点并列出计划使用的主要见解。确认每个见解都直接源自来源。如果无法验证某个说法,请勿继续。


步骤3:选择推文串风格

四种风格。根据内容信号自动检测。尊重用户的明确覆盖。

风格适用场景信号
数据/洞察基于证据的文章,包含统计数据或研究发现数字、百分比、研究结果、数据点
操作方法教程、指南或分步文章编号列表、步骤标题、标题中包含“如何”
故事/历程个人经验、构建日志、学到的教训第一人称叙述、“我学到了”、“我们构建了”
热评观点文章、反向论点“为什么X是错的”、“停止做X”、反直觉的主张

决定逻辑:

  • 文章包含具体统计数据或数据:数据/洞察
  • 文章结构为步骤或技巧:操作方法
  • 文章为第一人称叙述:故事/历程
  • 文章反驳常见观点:热评

说明所选的风格及其理由。如果模糊,选择一个并注明。


步骤4:阅读规则文件

在编写任何推文之前,完整阅读references/thread-format.md。内化:

  • 钩子推文规则(推文1必须能让人停下来)
  • 每条推文一个见解的规则
  • 字符限制(每条推文280字符,请仔细计数)
  • 推文编号格式(1/8、2/8等)
  • 行动号召推文规则(仅最后一条推文)
  • 无话题标签
  • 无长破折号
  • 禁用词列表

阅读references/output-template.md并选择与所选风格匹配的模板。


步骤5:生成推文串

生成三项内容:

(A) 完整的推文串(7-10条推文)

每条推文:

  • 少于280字符,包括推文编号("1/8 "占4个字符)
  • 正好包含一个见解、步骤或想法
  • 听起来像人打的
  • 推文1到N-1中不要包含URL
  • 无话题标签

(B) 行动号召推文(最后一条推文)

  • 用一句话总结关键收获
  • 以一个行动结束:“阅读回复中的完整文章。”或“你怎么看?”或“关注以获取更多类似内容。”
  • 如果提供了来源URL,则包含该URL

(C) 一个备选的开头钩子推文

  • 使用与主钩子不同的格式
  • 如果主钩子使用了数据,则提供一个基于问题的钩子
  • 如果主钩子使用了大胆的主张,则提供一个“之前/之后”的钩子

步骤6:自我QA

在呈现之前,检查每个项目。先修复违规。

  • 推文1创造了好奇心缺口或以最令人惊讶的洞察开头
  • 每条推文少于280字符(计数包括推文编号)
  • 每条推文仅包含一个想法
  • 没有推文以“我”开头(故事/历程风格除外)
  • 任何推文中没有禁用词
  • 任何推文中没有长破折号
  • 任何推文中没有话题标签
  • 除了在最后的行动号召推文中,没有URL
  • 没有编造的数据。每个统计数据和例子都能追溯到来源。
  • 推文串读起来自然连贯
  • 推文总数量在7到10条之间

在呈现之前,说明总推文数量并确认每条推文少于280字符。


步骤7:通过Composio发布或输出

检查COMPOSIO_API_KEY。

如果已设置: “推文串已准备好。确认通过Composio发布到X,或说‘仅输出’以获取文本。”

确认后:

  1. 使用操作TWITTER_CREATION_OF_A_POST发布推文1,将text设置为推文1内容
  2. 捕获返回的推文ID
  3. 发布推文2,设置reply_in_reply_to_tweet_id = 推文1的ID,捕获其ID
  4. 按顺序对每条推文重复以上步骤,每条推文都回复前一条推文的ID
  5. 每次发布之间等待1秒以避免限速
  6. 所有推文发布后:“推文串已发布。推文1-N已上线。”

如果未设置: 在代码块内以编号列表形式呈现每条推文。添加:

“要启用直接发布,请将COMPOSIO_API_KEY添加到您的.env文件中。有关Composio的设置,请参阅README.md。”

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

Varnan-Tech/opendirectory

Use when the user asks to generate a blog cover image, thumbnail, or article header. Automatically uses modern typography, brand logos, and Google Search grounding to create beautiful 16:9 images with Gemini 3.1 Flash Image Preview.

Varnan-Tech/opendirectory

World-class brand strategist and naming expert. Uses an interrogation-led discovery phase to extract your brand's DNA, then applies scientific naming frameworks (Phonosemantics) and automated multi-TLD domain checking.

Varnan-Tech/opendirectory

Use when the user asks to generate or update a project's CLAUDE or AGENTS context file from a codebase scan. Writes a focused file under 100 lines containing only the non-obvious build commands, conventions, and gotchas Claude Code needs.

Varnan-Tech/opendirectory

Use when the user wants to verify cold emails, enrich a lead list, or autonomously guess email addresses from a CSV using ValidEmail.co or the open-source Reacher engine.

Varnan-Tech/opendirectory

Competitive intelligence orchestrator tracking companies across 8+ platforms (GitHub, Twitter, Reddit, HN, PH, YC Jobs) with heat scores and AI briefings.

Varnan-Tech/opendirectory

Give it your product URL or description. It finds your top 5 competitors, runs three-track PR research across all of them (editorial, podcasts, communities), identifies which channels appear most frequently, looks up the journalist or host for each, and returns a tiered outreach list with story angles and ready-to-send cold pitch drafts tailored to your product. Use when asked to find PR opportunities, discover where competitors got featured, build a media outreach list, find which journalists cover my space, or get pitch templates for press coverage.

Varnan-Tech/opendirectory

Generate high-converting, deep-dive growth case studies in MDX format. Use this skill when asked to write a case study or blog post about a company's growth, tech stack, or product-led strategy. It handles the full pipeline (researching the company via Tavily, generating a 16:9 cover image, quality checking the draft, uploading assets to cloud storage, and pushing directly to the target repository).

Varnan-Tech/opendirectory

Scans your project for outdated npm, pip, Cargo, Go, or Ruby packages. Runs a CVE security audit. Fetches changelogs, summarizes breaking changes with Gemini, and opens one PR per risk group (patch, minor, major). Includes Diagnosis Mode for install conflicts. Use when asked to update dependencies, check for outdated packages, open dependency PRs, scan for package updates, audit for CVEs, or flag breaking changes in upgrades. Trigger when a user says "check for outdated packages", "update my dependencies", "open PRs for dependency updates", "scan for CVEs", or "which packages need upgrading".

Varnan-Tech/opendirectory

Generates and updates README.md and API reference docs by reading your codebase's functions, routes, types, schemas, and architecture. Uses graphify to build a knowledge graph first, then writes accurate docs from it. Use when asked to write docs, generate a README, document an API, update stale docs, create an API reference from code, add an architecture section, or document a project in any language. Trigger when a user says their docs are missing, outdated, or wants to document their codebase without writing it manually.

Varnan-Tech/opendirectory

Evaluates expired domain candidates against a target niche, scores them by topical relevance, historical activity level, and history cleanliness, then outputs a ranked shortlist with explainable reasoning and risk flags.

Varnan-Tech/opendirectory

Brutally honest developer-experience audit for a GitHub repo. Scores 10 DX dimensions (time-to-first-success, README clarity, visual proof, install, quick-start, docs, examples, community, trust, marketing), writes a shareable roast in the requested tone (brutal/honest/kind), produces a prioritized action plan ranked by impact × effort, and sketches an ideal README. Trigger when user says "roast my repo", "audit my README", "dx audit", "developer experience review", "score my GitHub project", "before launch checklist", or "make my repo shareable".

Varnan-Tech/opendirectory

Drafts and designs a complete HTML email newsletter from a topic or content brief. Outputs paste-ready HTML for Loops, Mailchimp, Beehiiv, Resend, or any standard email platform. Includes subject line options and plain-text fallback. Trigger when a user says "write a newsletter", "draft an email newsletter", "create an HTML email", "design an email for my subscribers", or "write a newsletter about [topic]".

Varnan-Tech/opendirectory

Takes a GitHub PR URL or the current branch and writes a plain-English explanation of what it does and why, then posts it as a PR comment. Use when asked to explain a PR, summarize a pull request, write a plain-English description of a PR, add a summary comment to a PR, or understand what a PR changes. Trigger when a user says "explain this PR", "summarize this pull request", "what does this PR do", "add a comment explaining the PR", or shares a GitHub PR URL and asks what it does.

Varnan-Tech/opendirectory

Audit how often LLMs recommend your brand vs competitors and generate a GEO action plan.

Varnan-Tech/opendirectory

Takes a competitor's public GitHub repo URL, fetches their open issues via the GitHub REST API, filters noise locally, clusters issues into 6 demand categories, computes a demand score per issue and per cluster, and outputs a ranked demand gap report with a GTM messaging brief. Use when asked to scan a competitor's GitHub issues, find what their users are begging for, turn GitHub complaints into product positioning, identify competitor feature gaps, or generate messaging from real user demand. Trigger when a user says "scan competitor issues", "what are users asking for on X repo", "find demand gaps in Y", "turn GitHub issues into messaging", or "what should I build based on competitor complaints".

Varnan-Tech/opendirectory

Find recurring confusion in your repo's GitHub Discussions, rank it by urgency, and draft the actual docs fixes and content angles — with verbatim community quotes and source links as evidence.

Varnan-Tech/opendirectory

SEO keyword research workflow for blog generation using Google Trends data. Use when writing blog posts, planning content calendars, or optimizing articles for search engines. Finds breakout keywords, builds content structure, and generates SEO-optimized blog outlines targeting tech and developer audiences.

Varnan-Tech/opendirectory

Generates a professionally designed case study PDF for B2B SaaS sales and marketing. Supports 7 page layouts, 9 style presets, 1-4 page output. Trigger when user says "create a case study", "write a customer story", "make a case study PDF", "design a success story", "turn this customer win into a PDF".

Varnan-Tech/opendirectory

Generates data visualization charts (bar, line, area, pie, doughnut, scatter, radar, treemap) as PNG using Apache ECharts v6. 1080×1080px default, 5 style presets, highlight annotations. Trigger when user says "create a chart", "visualize data", "make a bar chart", "line graph", "pie chart", "data visualization", "chart this data", "plot", "graph", or "visualize these numbers".

Varnan-Tech/opendirectory

Fetches low-star App Store and Google Play reviews, clusters them into broken-promise patterns, and generates a ranked copy brief with positioning opportunities.

相关技能