ccc-prompt-fix

ccc-prompt-fix is a skill for Claude Code from KevinZai/commander. It costs 41 tokens per session (1,250 once invoked), scanned A, original, MIT.

A prompt-writing helper that reviews a rough instruction, explains its weaknesses, and rewrites it more clearly. A prompt is the instruction you give an AI coding tool.

In plain words
What is it for?
Use it to fix the last prompt, rewrite a prompt, rate its quality, or find a suitable example from a prompt library for a specific task.
Why use it?
Unclear instructions can produce incomplete or unwanted work; this helps identify missing details and improve the request.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; names the AskUserQuestion tool; mentions Claude Code.

Good fit Use it to fix the last prompt, rewrite a prompt, rate its quality, or find a suitable example from a prompt library for a specific task.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kevinzai/commander/ccc-prompt-fix
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 KevinZai/commander --skill ccc-prompt-fix
Clone the repo
git clone --depth 1 https://github.com/KevinZai/commander

Made for: Claude Code.

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 ccc-prompt-fix

README.md
[![agentmods](https://agentmods.dev/badge/skills/kevinzai/commander/ccc-prompt-fix.svg)](https://agentmods.dev/skills/kevinzai/commander/ccc-prompt-fix)
Your own site
<a href="https://agentmods.dev/skills/kevinzai/commander/ccc-prompt-fix"><img src="https://agentmods.dev/badge/skills/kevinzai/commander/ccc-prompt-fix.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,250 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00041 $0.01250
Opus 5 $0.00020 $0.00625
Sonnet 5 $0.00008 $0.00250
Haiku 4.5 $0.00004 $0.00125

Measured 8d ago against content hash b6070fe10b77, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

ccc-prompt-fix 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 8d 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.

commander/cowork-plugin-codex/skills/ccc-prompt-fix/SKILL.md · 84 lines

How it starts

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

$ccc-prompt-fix — Auto Prompt Fixer

Take a rough prompt and hand back a sharper one — with the why, so you learn the pattern instead of just copying the fix. Grounded in the Claude Code prompt library (skills/claude-code-library/): 52 field-tested prompts + the 6 patterns behind all of them.

This is a coach, not a black box. Every rewrite names which pattern it applied, so the next prompt you write yourself is already better.

Modes

You type It does
$ccc-prompt-fix <your prompt> Fix — diagnose + rewrite that prompt
$ccc-prompt-fix last Fix the last prompt you sent this session (read from the transcript)
$ccc-prompt-fix for <task> Suggest — pull the best matching prompt from the library for that task
$ccc-prompt-fix score <prompt> Score — rate 0–6 on the patterns, no rewrite (quick gut-check)
$ccc-prompt-fix (no args) Ask (via AskUserQuestion) which of the above you want

The rubric — the 6 patterns (from the library)

Diagnose every prompt against these. A missing pattern is a fix opportunity; not every prompt needs all six, but each absent one is a question to ask.

  1. Outcome, not steps — says what, lets Claude find the how. ❌ "open X, change Y, then Z" ✅ "add rate limiting to the public API; keep existing tests green"
  2. A way to check its own work — includes run/test/compare/verify so it iterates instead of stopping at looks done. ✅ "write the migration, run it against dev, confirm the schema matches"
  3. A reference to match — names an existing file/test/pattern. ✅ "add a settings page following the profile page's layout"
  4. A measurable target — metric + threshold so "done" is unambiguous. ✅ "get the bundle under 200KB and show me what you cut"
  5. The artifact, pasted — errors/logs/screenshots or @file instead of description. ✅ "why is the build failing? @build.log"
  6. How to answer — format, length, audience. ✅ "explain the retry logic as an HTML page with a diagram, then open it"

Read the full file on GitHub · 84 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. 8d ago First seen · 84 lines · 41 tokens per session scan A b6070fe10b77

Subscribe to this mod's changes

ccc-prompt-fix is a skill published in the GitHub repository KevinZai/commander (6 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 1,250 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories