/agent-toolkit:self-improvefrom Agent Toolkit
Captures user corrections into skills, docs, or checks so future sessions don't repeat mistakes. Proposes changes for approval when the user rejects or overrides agent output.
Ships in Agent Toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Suggest durable improvements to the skill, doc or check that should have steered the agent, so the next session gets it right without being told again — and apply them only after the user approves. The skill proposes; the user stays in control of every change. Three ways in:
/self-improve to deliberately improve a skill or doc."Skill/doc" means any standing instruction: a SKILL.md, AGENTS.md/CLAUDE.md, a
coding-standards or convention doc, a rules file — anything that guides future agents. A "check"
(lint rule, hook, CI job) enforces one mechanically and is not a skill/doc.
SKILL.md goes through
compact-skill-creator; any other doc (rule,
AGENTS.md/CLAUDE.md, convention doc) goes through
compact-docs-writer. Actually invoke the skill and follow its
workflow before drafting or applying; reading it, applying its principles by hand, or naming it
after a direct edit does not count. A check is edited directly.The word autoaccept, in the invocation or a caller's brief, is the go-ahead given in advance:
each lesson's target (the placement table included) and edit take the agent's own recommendation
and are applied without the diff being confirmed (the compaction skills' present-and-confirm step
included), each reported with the file it changed or that already covers it. Still put to the user
(in a subagent, reported blocked): a lesson that reverses an existing rule, one needing a new
target (step 2), and any placement the agent is unsure of.
Signals the agent was corrected in a way worth persisting: the user rejects or reverts a choice ("no, do X instead"), states a standing preference ("we always…", "never…"), or redirects an action the agent took under a skill or doc.
Only persist a durable lesson — one that generalizes and will recur. Skip one-off, task-specific tweaks that won't apply next time; persisting those pollutes the docs. The same correction the user made separately in two places or sessions is durable, not a local choice; one change spanning several spots (a rename in a declaration and its callers) counts once. Whenever unsure whether it generalizes, ask the user.
AGENTS.md/CLAUDE.md, convention docs); when the repo defines a doc-placement guide (e.g.
.agents/docs/README.md), follow it for locating and creating targets. If one exists, it's the
target — and if that rule already existed yet failed to steer the agent, the discoverability gap
is the lesson, not a no-op: don't stop at "the rule exists." Diagnose why it didn't fire
(buried, in a doc the agent wouldn't open for this action, scoped or worded too narrowly, or
unenforced) and fix that root cause: surface it where the agent looks, widen its scope,
cross-reference it, or enforce it mechanically. If none fits, propose a new target and ask
before drafting: a check for a mechanical lesson (below), a new skill for a recurring workflow,
a new rule for a standing constraint, or the most fitting doc otherwise; a new doc comes with its
entry-file index line and read-when hook, or nothing ever loads it. Ask whenever unsure.
AGENTS.md/CLAUDE.md) hold mostly pointers;
a rule that matters only when reviewing goes in a review-time doc, not implementation context.SKILL.md → compact-skill-creator, any
other doc → compact-docs-writer, a check → edited directly — presenting a diff and applying only
on approval, Autoaccept aside. Done when every handed-over or captured lesson is applied,
declined by the user, reported as already covered or still put to the user (Autoaccept), each
named in the closing message.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub eai-org/agent-toolkit --plugin agent-toolkit31 skills in this plugin
/agentify-projectMake a project agent-ready by converging it toward a canonical agent-neutral structure. Re-runnable, and doubles as an audit./attach-to-ticketAttach pasted images, files or URLs to a fetched ticket, saved beside its ticket file and referenced from it, or fill an attachment the fetch could not download. Local only — never queries or edits the tracker./check-ticket-implementationCheck how much of a ticket is already implemented and save a per-requirement status report.Other plugins' skills for the same job