Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add nirholas/XActions --skill viral-thread-generationgit clone --depth 1 https://github.com/nirholas/XActionsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/nirholas/xactions/viral-thread-generation)<a href="https://agentmods.dev/skills/nirholas/xactions/viral-thread-generation"><img src="https://agentmods.dev/badge/skills/nirholas/xactions/viral-thread-generation/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/nirholas/xactions/viral-thread-generation"><img src="https://agentmods.dev/badge/skills/nirholas/xactions/viral-thread-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00040 | $0.00889 |
| Opus 5.5 | $0.00016 | $0.00356 |
| Sonnet 5.5 | $0.00008 | $0.00178 |
| Haiku 4.5 | $0.00004 | $0.00089 |
Grade A, and why
viral-thread-generation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Viral Thread Generation
MCP-powered workflow for researching trends, analyzing successful threads, and generating high-engagement thread content.
MCP Tools Used
| Tool | Purpose |
|---|---|
x_search_tweets |
Find trending conversations and competitor threads |
x_get_tweets |
Analyze competitor content patterns |
x_get_profile |
Audience context for tone matching |
x_get_followers |
Understand target audience interests |
Thread Structure Template
Every thread follows this 5-part structure:
- Hook — First tweet. Stops the scroll. Use: curiosity gap, bold claim, or surprising stat.
- Credibility — Why the reader should listen. Brief proof, experience, or data.
- Value ladder — 3-7 tweets delivering the core content. Each tweet is self-contained but builds on the previous. Use numbered lists, one idea per tweet.
- Twist/insight — Unexpected angle, counterintuitive takeaway, or personal story.
- CTA — Call to action: follow, retweet, bookmark, reply, or link.
Workflow
- Research trending topics — Call
x_search_tweetswith 3-5 queries related to your niche. Sort by engagement. Identify topics with high reply counts (indicates discussion potential). - Analyze competitor threads — Call
x_get_tweetsfor 3-5 competitor accounts withlimit: 50. Filter for threads (tweets with "🧵" or "Thread:" or high reply counts). Note which hooks and formats performed best. - Mine audience interests — Call
x_get_followerswithlimit: 100for your account. Scan bios for common interests, job titles, and pain points. - Generate 3 thread drafts — For each, apply the thread structure template:
- Thread A: Educational (how-to or framework)
- Thread B: Story-driven (case study or personal experience)
- Thread C: Contrarian (challenge common wisdom)
- Optimize hooks — Write 3 hook variations per thread. Test criteria:
- Creates curiosity gap or tension
- Under 200 characters
- No hashtags in hook tweet
- Includes a number, question, or bold claim
- Add engagement triggers — Insert throughout each thread:
- "Bookmark this" at the value peak
- A reply prompt ("What would you add?")
- Retweet hook in final tweet
- Format for posting — Number each tweet, keep under 280 chars, end thread with CTA.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 93 lines · 40 tokens per session scan A 812349f1e56c
viral-thread-generation is a skill published in the GitHub repository nirholas/XActions (671 stars, last pushed 3d ago), licensed Apache-2.0. It adds 40 tokens to every session and 889 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
viral-thread-generation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| viral-thread-generationnirholas/XActions | Skill | 671 | 3d ago | Apache-2.0 | A | 40 | Claude Code, Codex |
| social-x-post-cardnexu-io/open-design | Skill | 110k | today | Apache-2.0 | A | 31 | Claude Code, Codex |
| card-twitternexu-io/open-design | Skill | 110k | today | Apache-2.0 | A | 15 | Claude Code, Codex |
| social-x-post-cardnexu-io/html-anything | Skill | 17k | yesterday | Apache-2.0 | A | 33 | Claude Code, Codex |
| twitter-clipublic-clis/twitter-cli | Skill | 3.0k | 2d ago | Apache-2.0 | A | 43 | Claude Code, Codex |
| card-twitternexu-io/html-anything | Skill | 17k | yesterday | Apache-2.0 | A | 17 | Claude Code, Codex |
| x_intelmateaix/mateclaw | Skill | 1.2k | 2d ago | Apache-2.0 | A | 24 | Claude Code, Codex |