Skills

Correct

Use when the human wants the mistakes agents keep repeating fixed for good.

Install

npx skills add haowjy/creative-writing-skills --skill correct -g -a claude-code -y
Category
AI and agents
Updated
8d ago
License
Apache-2.0
Context cost
Lightabout 602 tokens
Runs scripts
No, instructions only

What it does

Use when the human wants the mistakes agents keep repeating fixed for good. Works the KB corrections register: fixes each recurring class at the strongest level that holds (remove the wrong way, an automated check, a tool permission, a written rule last), proves each fix on a real past mistake, and updates the register.

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

Read the whole SKILL.md on GitHub

More in AI and agents