self-improve

self-improve is a skill for Claude Code from HuntsDesk/ve-kit. It costs 88 tokens per session (2,958 once invoked), scanned A, original, MIT.

A feedback-loop skill for finding repeated problems in code reviews and batch retrospectives. It turns recurring causes into written safeguards for agents and projects.

In plain words
What is it for?
Use it after several work batches, a cluster of similar review findings, or a notable incident to update LESSONS.md, suggest agent hardening, and flag rule changes for human approval.
Why use it?
It helps prevent the same mistakes from being reported repeatedly by recording lessons and proposing improvements to agent instructions and project rules.

Skill for Claude Code

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

Good fit Use it after several work batches, a cluster of similar review findings, or a notable incident to update LESSONS.md, suggest agent hardening, and flag rule changes for human approval.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/huntsdesk/ve-kit/self-improve
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 HuntsDesk/ve-kit --skill self-improve
Clone the repo
git clone --depth 1 https://github.com/HuntsDesk/ve-kit

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 self-improve

README.md
[![agentmods](https://agentmods.dev/badge/skills/huntsdesk/ve-kit/self-improve/github.svg)](https://agentmods.dev/skills/huntsdesk/ve-kit/self-improve)
Your own site
<a href="https://agentmods.dev/skills/huntsdesk/ve-kit/self-improve"><img src="https://agentmods.dev/badge/skills/huntsdesk/ve-kit/self-improve/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 self-improve

Your own site · 80×15
<a href="https://agentmods.dev/skills/huntsdesk/ve-kit/self-improve"><img src="https://agentmods.dev/badge/skills/huntsdesk/ve-kit/self-improve.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,958 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.00088 $0.02958
Opus 5.5 $0.00035 $0.01183
Sonnet 5.5 $0.00018 $0.00592
Haiku 4.5 $0.00009 $0.00296

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

Security

Grade A, and why

self-improve 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 11d 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.

skills/self-improve/SKILL.md · 127 lines

How it starts

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

Self-Improve — learn from review findings, encode guardrails

This skill closes the agent-fleet feedback loop: it reads what code-reviewers and batch retrospectives have been catching, finds the recurring root causes, and encodes them as guardrails so the same class of mistake stops recurring.

Owner: project-coordinator agent (the self-improvement domain + the consumer that runs it). Pairs with docs-manager for any agent/skill/rule edits (that's docs-manager's lifecycle domain — this skill proposes, docs-manager applies the config-layer ones).

How this differs from the review-* family (do NOT duplicate)

review-* (docs-manager) /self-improve (this skill)
Question "Is the config well-formed + current?" "What keeps going wrong, and how do we prevent it?"
Input The .claude/ artifacts themselves Board review findings + batch outcomes + LESSONS.md
Output Structural fixes (frontmatter, stale refs, model IDs) New preventive rules (LESSONS.md, agent hardening, flagged proposals)
Trigger Model upgrade, quarterly, pre-initiative After ~5 batches, a finding cluster, or a notable incident

If a finding is "the config is structurally stale" → that's a review-* job; route it there. This skill is for behavioral patterns (recurring bugs, repeated reviewer catches, repeated skips).

When to invoke

  • After every ~5 worker batches (the auto-claude worker's CLOSING step may call this on a counter).
  • When you notice a cluster of related review findings across recent sessions.
  • After a notable incident whose root cause would recur without a guardrail.
  • Periodically (monthly) as a fleet-health pass.

The one rule that governs everything here

A one-off is NOT a rule. Only encode a guardrail when the pattern recurred across ≥2 distinct batches/sessions/findings. A single incident gets a shared-memory note (cross-dev) or a board task, not a permanent rule. Over-encoding turns LESSONS.md + agent prompts into noise that gets skimmed and ignored. Be ruthless: the bar is "recurring root cause," not "something went wrong once."

Read the full file on GitHub · 127 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. 11d ago Changed 530c4828fb65
  2. 1mo ago Changed · +1 lines f4ef636c7a81
  3. 1mo ago Changed · +1 lines e8c9fd83c061
  4. 1mo ago Changed · +7 lines 91087738cb45
  5. 1mo ago Changed af9c19079f02
  6. 1mo ago First seen · 118 lines · 88 tokens per session scan A 22845497bbbd

Subscribe to this mod's changes

self-improve is a skill published in the GitHub repository HuntsDesk/ve-kit (3 stars, last pushed 10d ago), licensed MIT. It adds 88 tokens to every session and 2,958 once invoked, about $0.0004 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-08-31.