correct

correct is a skill for Claude Code from haowjy/creative-writing-skills. It costs 65 tokens per session (653 once invoked), scanned A, original, Apache-2.0.

A process for fixing recurring mistakes made by coding agents. It looks for repeated correction patterns and applies the strongest practical fix, such as removing an unsafe method, adding a check, or improving project guidance.

In plain words
What is it for?
Use it when humans keep correcting the same kind of work, to update code, checks, permissions, or written instructions and verify the fix on a past mistake.
Why use it?
It prevents the same agent error from being corrected repeatedly by addressing the cause rather than only fixing each individual result.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions AGENTS.md.

Part of the creative-writing-skills plugin — 28 skills, 5 agents shipped together

Good fit Use it when humans keep correcting the same kind of work, to update code, checks, permissions, or written instructions and verify the fix on a past mistake.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/haowjy/creative-writing-skills/correct
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 haowjy/creative-writing-skills --skill correct
Clone the repo
git clone --depth 1 https://github.com/haowjy/creative-writing-skills

Made for: Claude Code.

Or install creative-writing-skills, the plugin that ships this one along with the rest of its 28 skills, 5 agents.

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 correct

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/haowjy/creative-writing-skills/correct"><img src="https://agentmods.dev/badge/skills/haowjy/creative-writing-skills/correct.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 653 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.00065 $0.00653
Opus 5.5 $0.00026 $0.00261
Sonnet 5.5 $0.00013 $0.00131
Haiku 4.5 $0.00006 $0.00065

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

Security

Grade A, and why

correct 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 10d 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.

plugin/claude/skills/correct/SKILL.md · 64 lines

How it starts

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

Correct

The human keeps correcting agents for the same mistakes. Change the project or the prompts so the next agent can't make them.

Assume every contributor is an agent that sees only the files it opened, copies the nearest example, and takes the shortest path that works. Design so a change that looks right from one file is right for the whole project.

In a code project, load resources/code.md: it adds architecture, types, and tests to the levels below.

Find the Classes

Start from the KB corrections register (/creative-writing-skills:knowledge-layers resources/corrections/) and any correction the human just gave. Add what the register missed: mine recent sessions with @session-miner, and read work the human undid or redirected and recent review findings. A class counts once it has happened twice or the human names it; record other single occurrences as candidates.

Fix Each Class at the Strongest Level That Holds

  1. Remove the wrong way. Give each piece of state one owner and each task one supported way. Replace hand-synced copies with one source of truth. Delete the old way and the examples an agent would copy.
  2. An automated check that fails and names what to do instead: a validator, a schema, a check script. Where the pattern is already common, fail only on additions.
  3. A tool permission in the agent profile, for agent behavior a tool rule can block: a denied command, a read-only tool set.
  4. A written rule, last, for judgment calls nothing can check. Put it where the agent reads it at the moment of choice: the nearest AGENTS.md, or the skill or agent prompt that governs that step, edited in its source package.

Fix and Prove

Fix the most frequent classes first, one change each. Prove each new check fails on a real past mistake: replay the change that made it and show the failure. An exception goes where the check fires, with a reason and the human's approval.

Update the Register

Set each class's Enforced by to what now catches it. Delete a row once its mistake can no longer happen. When a class recurs under a written rule, look again for a stronger level. If none holds, sharpen the rule, move it closer to the moment of choice, and report the class as a judgment risk that remains.

Read the full file on GitHub · 64 lines

Files

What ships with it

1 file 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. 10d ago First seen · 64 lines · 65 tokens per session scan A ef1902ddcc5e

Subscribe to this mod's changes

correct is a skill published in the GitHub repository haowjy/creative-writing-skills (567 stars, last pushed 10d ago), licensed Apache-2.0. It adds 65 tokens to every session and 653 once invoked, about $0.0003 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-10-28.

Related

correct compared with skills from other repositories

correct next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
correcthaowjy/creative-writing-skillsSkill56710d agoApache-2.0A65Claude Code
systematic-debuggingopen-metadata/OpenMetadataSkill16kyesterdayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7k3d agoMITA71Claude Code, Codex
cwv-optimizeradobe/skillsSkill319yesterdayApache-2.0A112Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2kyesterdayApache-2.0A15Claude Code, Codex
incident-response-incident-responsermyndharis/antigravity-skillsSkill1.9k23d agoMITA36Claude Code
triaging-web-analytics-supportPostHog/posthogSkill41kyesterdaynoneA151Claude Code, Codex