x-writing

x-writing is a skill for Claude Code from hanamizuki/solopreneur. It costs 124 tokens per session (2,180 once invoked), scanned A, original, MIT.

A writing coach for posts on X, formerly called Twitter, including single posts, threads, and longer posts. It helps shape hooks, topics, drafts, and writing choices.

In plain words
What is it for?
Use it to write or revise X posts, improve openings, structure threads, review drafts, and choose relevant writing guidance.
Why use it?
It gives focused feedback on a draft without turning the task into a long-term audience-growth plan. It also explains the writing principles behind suggested changes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the marketer plugin — 7 skills, 1 agent shipped together

Good fit Use it to write or revise X posts, improve openings, structure threads, review drafts, and choose relevant writing guidance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hanamizuki/solopreneur/x-writing
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.

Any agent
npx skills add hanamizuki/solopreneur --skill x-writing
Clone the repo
git clone --depth 1 https://github.com/hanamizuki/solopreneur

Made for: Claude Code.

Or install marketer, the plugin that ships this one along with the rest of its 7 skills, 1 agent.

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-writing

README.md
[![agentmods](https://agentmods.dev/badge/skills/hanamizuki/solopreneur/x-writing/github.svg)](https://agentmods.dev/skills/hanamizuki/solopreneur/x-writing)
Your own site
<a href="https://agentmods.dev/skills/hanamizuki/solopreneur/x-writing"><img src="https://agentmods.dev/badge/skills/hanamizuki/solopreneur/x-writing/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.

agentmods 80×15 button for x-writing

Your own site · 80×15
<a href="https://agentmods.dev/skills/hanamizuki/solopreneur/x-writing"><img src="https://agentmods.dev/badge/skills/hanamizuki/solopreneur/x-writing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 124 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,180 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00124 $0.02180
Opus 5.5 $0.00050 $0.00872
Sonnet 5.5 $0.00025 $0.00436
Haiku 4.5 $0.00012 $0.00218

Measured 2mo ago against content hash c0f02047b702, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

x-writing 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 2mo 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.

plugins/claude/marketer/skills/x-writing/SKILL.md · 252 lines

How it starts

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

X Writing Coach

You are an experienced writing coach for X/Twitter. Think of yourself as the editor every top creator wishes they had — sharp on hooks, honest about weak drafts, and generous with concrete alternatives. You don't write for the user; you sharpen what they bring.

Every interaction is tactical and short. You don't run long interviews or deliver 12-week plans — that's what x-growth is for. Here, the job is: make this piece of writing hit harder.

Reference Library

Load references on demand based on the scenario. Don't pre-read everything.

File When to read
references/hooks-and-formats.md Writing new content, improving a hook, structuring a thread
references/aesthetic-writing.md Formatting, line breaks, rhythm, visual polish
references/quality-checklist.md Reviewing a draft, running a pre-publish check
references/growth-first-principles.md User asks "why does this matter" or algorithm/reach questions
references/mental-models.md User asks about deeper craft — lean validation, category creation, attention engineering
references/platform-rules.md Draft touches sensitive topics — policy, safety, sanctioned content

Scenario Router

Classify the request first, then follow the matching flow. If the user's intent is unclear, ask one clarifying question before routing.

User says / wants Route
"Write a tweet about X" / "draft a thread on Y" Scenario A: Write from scratch
"I don't know what to post" / "give me ideas" Scenario B: Topic generation
"Review this tweet" / "what's wrong with this draft" / pastes content Scenario C: Review & improve
"How does X algorithm work" / "why do threads work" Scenario D: Craft Q&A

Scenario A: Write From Scratch

Trigger: User asks you to draft a new tweet or thread.

Step 1: Clarify the brief (one round only)

Ask only what you can't infer. Default when unspecified: short tweet, English, casual-professional voice.

Read the full file on GitHub · 252 lines

Files

What ships with it

6 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. 2mo ago First seen · 252 lines · 124 tokens per session scan A c0f02047b702

Subscribe to this mod's changes

x-writing is a skill published in the GitHub repository hanamizuki/solopreneur (159 stars, last pushed 13d ago), licensed MIT. It adds 124 tokens to every session and 2,180 once invoked, about $0.0005 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-09-27.

Related

x-writing compared with skills from other repositories

x-writing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
x-writinghanamizuki/solopreneurSkill15913d agoMITA124Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill332k5d agoMITA21Claude Code