evolve

evolve is a skill for Claude Code from softspark/ai-toolkit. It costs 31 tokens per session (990 once invoked), scanned A, original, Apache-2.0.

A workflow for improving coding agents and skills based on recurring failures or observed weaknesses. It analyzes learnings, recent failures, or agent definitions and drafts targeted changes.

In plain words
What is it for?
Auditing agent prompts, refining skill instructions, reviewing failure logs, and proposing changes to permissions, tools, or model choices.
Why use it?
It helps turn repeated mistakes, missing tools, or unclear instructions into concrete improvements.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: agent in frontmatter; reads .claude/ paths.

Part of the ai-toolkit plugin — 115 skills, 44 agents, 14 hooks shipped together

Good fit Auditing agent prompts, refining skill instructions, reviewing failure logs, and proposing changes to permissions, tools, or model choices.

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

Made for: Claude Code.

Or install ai-toolkit, the plugin that ships this one along with the rest of its 115 skills, 44 agents, 14 hooks.

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 evolve

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/softspark/ai-toolkit/evolve"><img src="https://agentmods.dev/badge/skills/softspark/ai-toolkit/evolve.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 990 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.00031 $0.00990
Opus 5.5 $0.00012 $0.00396
Sonnet 5.5 $0.00006 $0.00198
Haiku 4.5 $0.00003 $0.00099

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

Security

Grade A, and why

evolve 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 1mo 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.

app/skills/evolve/SKILL.md · 93 lines

How it starts

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

Evolve Command

$ARGUMENTS

Triggers the Meta-Architect to improve agent and skill definitions based on observed patterns.

Usage

/evolve [source]
# /evolve learnings        : analyze kb/learnings/ for recurring failure patterns
# /evolve last-failure     : analyze the most recent error log
# /evolve agents           : audit all agent definitions for gaps

Protocol

1. Analyze

Read the input source and extract actionable patterns:

  • learnings: grep kb/learnings/ for entries tagged failure, retry, timeout, or inefficiency
  • last-failure: read the most recent file in kb/learnings/ and identify root cause
  • agents: scan all .md files in app/agents/ for missing tools, vague prompts, or mismatched model tiers

2. Design

Draft changes targeting the identified patterns:

Target File Location Change Type
Agent definitions app/agents/*.md Frontmatter (tools, model), system prompt text
Skill definitions app/skills/*/SKILL.md Description, workflow steps, allowed-tools
Rules app/rules/ New or updated rule files

Show the proposed diff to the user before applying.

3. Implement

Apply approved changes. After each edit:

  • Run python3 scripts/validate.py to confirm structural integrity
  • Verify YAML frontmatter parses without errors
  • Confirm no forbidden patterns (eval, exec, shell=True)

4. Report

Create a summary documenting what evolved:

## Evolution Report
- **Source**: [learnings | last-failure | agents]
- **Pattern found**: [description of failure/inefficiency]
- **Changes applied**:
  - `app/agents/[name].md`: [what changed and why]
- **Validation**: passed / failed

Rules

  • MUST delegate file edits to the meta-architect agent — this command is the trigger, the agent owns the changes
  • MUST have a concrete failure signal (recurring error, named incident, repeated correction) before evolving — do not mutate based on vibes
  • NEVER evolve an agent based on a single failure instance — evolution is pattern-matching, not reaction
  • NEVER touch .claude/agents/* files directly from this skill; meta-architect is the only agent with that authority
  • CRITICAL: every evolution names the trigger, the change, and the expected measurable shift (e.g., "reduces false routing of /debug to /fix")
  • MANDATORY: run scripts/validate.py --strict after every applied change; roll back if the score drops

Read the full file on GitHub · 93 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. 1mo ago First seen · 93 lines · 31 tokens per session scan A 6df04ffc9c73

Subscribe to this mod's changes

evolve is a skill published in the GitHub repository softspark/ai-toolkit (180 stars, last pushed yesterday), licensed Apache-2.0. It adds 31 tokens to every session and 990 once invoked, about $0.0001 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-09-03.