x-create

x-create is a skill for Claude Code, Codex from kangarooking/x-skills. It costs 90 tokens per session (2,625 once invoked), scanned A, original, Apache-2.0.

A workflow for writing posts, threads, and replies for X, the social network formerly called Twitter. It uses several writing styles and first checks a saved profile describing the account and its audience.

In plain words
What is it for?
Use it to draft short posts, multi-post threads, replies, tutorials, opinions, news commentary, personal stories, or technical explanations.
Why use it?
It helps turn a topic into a post format suited to a chosen audience and purpose. If no profile exists, it asks setup questions before creating content.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; names the AskUserQuestion tool.

Install

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.

agentmods
npx agentmods add skills/kangarooking/x-skills/x-create
Any agent
npx skills add kangarooking/x-skills --skill x-create
Clone the repo
git clone --depth 1 https://github.com/kangarooking/x-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for x-create

README.md
[![agentmods](https://agentmods.dev/badge/skills/kangarooking/x-skills/x-create.svg)](https://agentmods.dev/skills/kangarooking/x-skills/x-create)
Your own site
<a href="https://agentmods.dev/skills/kangarooking/x-skills/x-create"><img src="https://agentmods.dev/badge/skills/kangarooking/x-skills/x-create.svg" alt="Measured on agentmods" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,625 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00090 $0.02625
Opus 5 $0.00045 $0.01313
Sonnet 5 $0.00018 $0.00525
Haiku 4.5 $0.00009 $0.00263

Measured 6d ago against content hash 9085604e2db1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

x-create 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 6d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/hooks.py, scripts/schemas.py, scripts/similarity.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

x-create/SKILL.md · 317 lines

How it starts

The opening of the file, as written. The whole thing — 317 lines — stays where its author put it; the contents beside it link to each section on GitHub.

X Create

Create viral X posts (short tweets, threads, replies) based on user's persona and post patterns.

First-Time Setup

Check user profile before creating content:

  1. Read references/user-profile.md
  2. If initialized: false or file doesn't exist → Run onboarding
  3. If initialized: true → Proceed to content creation

Onboarding Questions

Ask user these questions using AskUserQuestion tool:

  1. 账号定位(领域): 你的X账号主要分享什么内容?

    • Options: AI/科技, 创业/商业, 个人成长, 投资理财, Other
  2. 目标受众: 你的目标读者是谁?

    • Options: 中文用户, 英文用户, 双语用户
  3. 人设风格: 你希望塑造什么样的人设?

    • Options: 专业严肃, 轻松幽默, 犀利观点, 温暖亲和, Other

After collecting answers, update references/user-profile.md with initialized: true.

Post Types

5 Categories

Type Style Use When Intent Signals (路由线索)
高价值干货 信息密度高,可收藏 教程、工具推荐、方法论 目标是收藏/转发;强调可执行清单、工具、步骤
犀利观点 有态度有立场 行业评论、反常识观点 目标是讨论/对立;需要强立场、对比、反常识
热点评论 快速反应 新闻评论、事件点评 目标是蹭热度/抢时效;围绕刚发生事件快速解读
故事洞察 个人经历+洞察 案例分析、经验复盘 目标是共鸣/关注;用具体场景+转折+金句
技术解析 深度技术 原理讲解、源码分析 目标是建立专业度;解释原理、机制、影响与建议

Output Formats

  1. 短推文 (≤280 characters) - Single tweet
  2. Thread (多条串联) - 3-10 tweets connected
  3. 评论回复 - For replying to trending posts

Creation Workflow

Step 1: Load Context

1. Read references/user-profile.md → Get persona, style
2. (Optional) Read state from ~/.claude/skills/x-create/state/
   - liked_topics.json (positive samples)
   - rejected_topics.json (negative samples)
   - events.jsonl (optional)
3. Check assets/templates/{type}/ → Look for user reference posts
4. If no references → Use default patterns from references/post-patterns.md

Step 2: Intent-based Routing

Determine intent first, then choose style and format:

  1. Intent → Style (5 categories)

    • 收藏/转发导向 → 高价值干货
    • 讨论/对立导向 → 犀利观点
    • 时效/热点导向 → 热点评论
    • 共鸣/关注导向 → 故事洞察
    • 专业/技术导向 → 技术解析
  2. Style → Output format

    • Short tweet: Single insight, quick take, one-liner
    • Thread: Multi-point analysis, step-by-step, detailed breakdown
    • Reply: Designed to respond to specific post/topic

Read the full file on GitHub · 317 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 6d ago First seen · 317 lines · 90 tokens per session scan A 9085604e2db1

Subscribe to this mod's changes

x-create is a skill published in the GitHub repository kangarooking/x-skills (325 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 90 tokens to every session and 2,625 once invoked, about $0.0005 per session on Opus 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.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens