prompt-writer

prompt-writer is a skill for Claude Code from anilcancakir/claude-code. It costs 39 tokens per session (4,933 once invoked), scanned C, original, MIT.

A skill for writing and reviewing instructions that another Claude model will execute, including prompts, commands, skills, agents, and project guidance files.

In plain words
What is it for?
It helps create or audit system prompts, subagent briefs, skill bodies, command bodies, agent instructions, CLAUDE.md files, and rule documents.
Why use it?
It reduces vague or incomplete instructions by grounding them in the actual target files and relevant current sources before writing.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Part of the ac plugin — 6 skills, 10 hooks shipped together

Good fit It helps create or audit system prompts, subagent briefs, skill bodies, command bodies, agent instructions, CLAUDE.md files, and rule documents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anilcancakir/claude-code/prompt-writer
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 anilcancakir/claude-code --skill prompt-writer
Clone the repo
git clone --depth 1 https://github.com/anilcancakir/claude-code

Made for: Claude Code.

Or install ac, the plugin that ships this one along with the rest of its 6 skills, 10 hooks.

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 prompt-writer

README.md
[![agentmods](https://agentmods.dev/badge/skills/anilcancakir/claude-code/prompt-writer/github.svg)](https://agentmods.dev/skills/anilcancakir/claude-code/prompt-writer)
Your own site
<a href="https://agentmods.dev/skills/anilcancakir/claude-code/prompt-writer"><img src="https://agentmods.dev/badge/skills/anilcancakir/claude-code/prompt-writer/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 prompt-writer

Your own site · 80×15
<a href="https://agentmods.dev/skills/anilcancakir/claude-code/prompt-writer"><img src="https://agentmods.dev/badge/skills/anilcancakir/claude-code/prompt-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,933 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00039 $0.04933
Opus 5.5 $0.00016 $0.01973
Sonnet 5.5 $0.00008 $0.00987
Haiku 4.5 $0.00004 $0.00493

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

Security

Grade C, and why

prompt-writer scanned grade C with 1 finding 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.

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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- SYSTEM PROMPT -->
plugins/ac/skills/prompt-writer/SKILL.md · 249 lines

How it starts

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

Prompt Writer

You are about to write or edit a prompt another Claude will execute. The Claude models covered are Opus 5.5, Sonnet 5.5 and Haiku 5.5 (the opus, sonnet and haiku aliases on the Anthropic API). Pick the reference below, read the card of the target model, fill in the template, validate against the checklist.

References

File Load when...
${CLAUDE_SKILL_DIR}/references/claude-models.md Any Claude prompt, first: the model matrix, rules all three 5.5 models share (effort, thinking, sampling, prefill, append-only history), what Claude Code adds, a porting table, the checklist.
${CLAUDE_SKILL_DIR}/references/opus-5-5-tuning.md Target claude-opus-5-5: effort from medium, the unattended four-stop paragraph, progress updates, time signals, pasted-content tags, and the length, scope and subagent rules carried from Opus 5.
${CLAUDE_SKILL_DIR}/references/sonnet-5-5-tuning.md Target claude-sonnet-5-5: check-ins at low and medium, unrequested additions, self-started review at xhigh, between_tools, JSON answers, search, tolerant tool calls.
${CLAUDE_SKILL_DIR}/references/haiku-5-5-tuning.md Target claude-haiku-5-5: early stopping in long agent prompts, the verify paragraph, search with the date, JSON with your own tools, chatbot rules.
${CLAUDE_SKILL_DIR}/references/claude-code-builtin-prompts.md Anything that runs inside Claude Code: verbatim built-in prompt text per shape and model, CLAUDE.md wrapper, subagent defaults, Agent tool text, patterns worth copying.
${CLAUDE_SKILL_DIR}/references/claude-code-conventions.md Prompts for the Claude Code harness: agents, slash commands, hooks, harness rules.
${CLAUDE_SKILL_DIR}/references/subagent-prompts.md Briefing a fresh subagent, designing a subagent_type, lookup vs investigation, length caps.
${CLAUDE_SKILL_DIR}/references/architecture.md Message structure, XML tag names, long-context layout, example design.
${CLAUDE_SKILL_DIR}/references/snippets.md A copy-paste building block (verbosity, parallel tools, hallucination control, output format, scope).
${CLAUDE_SKILL_DIR}/references/anti-patterns.md Auditing or debugging a prompt that produces wrong output.
${CLAUDE_SKILL_DIR}/references/worked-examples.md A complete prompt as a starting template (extraction, code review, custom agent, long-document RAG, slash command, meta-prompt).
${CLAUDE_SKILL_DIR}/references/gemini-tuning.md A Gemini text or agent model: delimiters, placement, thinking and sampling deltas, how Gemini CLI and Antigravity prompts are built.
${CLAUDE_SKILL_DIR}/references/gemini-media-prompts.md The prompt for generate_image, generate_video or generate_music: the chat-model hop, which options are fields and which are text, image, edit, video and music rules, worked prompts.
${CLAUDE_SKILL_DIR}/references/gemini-model-cards.md A specific Gemini model: the per-model matrix and cards for 3.8 Flash, Hydrogen, Carbon, Argon, older Flash and 3.1 Pro, plus a porting table.
${CLAUDE_SKILL_DIR}/references/gemini-4-neon-tuning.md gemini-4-neon, any Gemini 4 model, or Antigravity rules, skills and Orchestrator: thinking levels, pre-tool text, turn state, reported failure modes.

Read the full file on GitHub · 249 lines

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 Changed · -11 lines · -2 tokens per session cf4cc9dacd86
  2. 14d ago Changed · +7 lines · +6 tokens per session d49a8c71494b
  3. 29d ago Changed 5a87d99c876d
  4. 1mo ago Changed · -39 lines 03ff73bf1d99
  5. 1mo ago Changed · -3 lines 28354b813b97
  6. 1mo ago Changed · +1 lines b176b3f923bf
  7. 2mo ago Changed · +4 lines fdb81bd624b8
  8. 2mo ago Changed · -31 lines · -14 tokens per session 17505c77e07d
  9. 2mo ago Changed · +1 lines · -130 tokens per session 5c37fedb708d
  10. 3mo ago First seen · 320 lines · 179 tokens per session scan C c2bf8e412f03

Subscribe to this mod's changes

prompt-writer is a skill published in the GitHub repository anilcancakir/claude-code (4 stars, last pushed 7d ago), licensed MIT. It adds 39 tokens to every session and 4,933 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

prompt-writer compared with skills from other repositories

prompt-writer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prompt-writeranilcancakir/claude-codeSkill47d agoMITC39Claude Code
cloudflare-workers-aisecondsky/claude-skillsSkill257yesterdayMITA39Claude Code
nano-banana-promptingNikiforovAll/claude-code-rulesSkill14329d agoApache-2.0A51Claude Code
nano-bananaNikiforovAll/claude-code-rulesSkill14329d agoApache-2.0A73Claude Code
skill-meta-promptnyldn/claude-octopusSkill4.5ktodayMITA19Claude Code
ai-workflow-architectcbrock84/headcountSkill2.6ktodayMITA89Claude Code
cloudflare-vectorizesecondsky/claude-skillsSkill257yesterdayMITA37Claude Code