Agent skill

Evolve

by softspark in softspark/ai-toolkit

Analyzes agent/skill failures, drafts prompt/permission fixes.

Apache-2.0Auto-check passedAI & LLM Engineering

Install Evolve

skills CLI
$ npx skills add softspark/ai-toolkit --skill evolve -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install softspark/ai-toolkit evolve --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/softspark/ai-toolkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/app/skills/evolve .claude/skills/evolve && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
evolve
GitHub stars
179
Token cost
~1k tokens
SKILL.md length
439 words
Files
1
Skills in repo
112
Repo updated
First seen
Licence
Apache-2.0

At a glance

Analyzes agent/skill failures, drafts prompt/permission fixes.

  • Works in 4 steps: Analyze → Design → Implement → …
  • Tasks that involve Prompt engineering
  • SKILL.md covers Usage, Protocol, Rules and Gotchas, plus 1 more section
  • Calls python3

What it does

Evolve is an agent skill from softspark/ai-toolkit. Analyzes agent/skill failures, drafts prompt/permission fixes. Triggers: improve agent, refine skill, system prompt, optimize agent.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering Prompt engineering. The repository describes itself as: Professional-grade AI coding toolkit: 94 skills, 44 agents, multi-platform (Claude, Cursor, Windsurf, Copilot, Gemini, Cline, Roo Code, Aider, Augment, Antigravity, Codex CLI… The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Prompt engineering

Example prompts

  • “Use the evolve skill to analyz agent/skill failures, drafts prompt/permission fixes”
  • “/evolve”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Read, Edit, Grep, Glob

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Analyze
  2. Design
  3. Implement
  4. Report

What it can do on your machine

Read from SKILL.md and the folder at commit d64db2b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Edit
    • Grep
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Evolve loads about 1k tokens when it runs. Until then it costs about 35 tokens; SKILL.md has 439 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~35
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from softspark/ai-toolkit at commit d64db2b, republished under its Apache-2.0 licence (© softspark). 439 words, ~1,046 tokens.

Download SKILL.mdSave it as .claude/skills/evolve/SKILL.md (or your agent's skills folder).
name
evolve
description
Analyzes agent/skill failures, drafts prompt/permission fixes. Triggers: improve agent, refine skill, system prompt, optimize agent.
allowed-tools
Read, Edit, Grep, Glob
effort
medium
disable-model-invocation
true
context
fork
agent
meta-architect

Evolve Command

$ARGUMENTS

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

Usage

bash
/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:

TargetFile LocationChange Type
Agent definitionsapp/agents/*.mdFrontmatter (tools, model), system prompt text
Skill definitionsapp/skills/*/SKILL.mdDescription, workflow steps, allowed-tools
Rulesapp/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:

markdown
## 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
Show full SKILL.md (186 more words)Show less

Gotchas

  • Small changes to an agent's description can silently re-route a dozen adjacent queries. After an evolution, run the skill router against a saved set of representative queries to confirm no drift.
  • kb/learnings/ entries without a status: final frontmatter field are often drafts — aggregating them treats speculative observations as validated patterns. Filter by status before mining.
  • "Last-failure" often points at the symptom, not the root cause. A route-to-wrong-agent failure may actually be a description-field ambiguity; fix the description, not the router.
  • Changes to agent frontmatter fields (tools, model) propagate to the installed global config only after ai-toolkit update. A locally-evolved agent still runs old behavior until the user reinstalls.
  • Evolution in isolation invites regression. Keep a changelog (kb/learnings/ entries or CHANGELOG.md) so future sessions can see what was tried and reverted.

When NOT to Use

  • For a specific, known agent edit — call meta-architect directly
  • For fixing a failing test — use /fix or /debug
  • For auditing current skill/agent quality — use scripts/evaluate_skills.py and scripts/audit_skills.py --ci
  • For creating a new agent — use /agent-creator
  • When no recurring pattern exists (single data point) — wait and observe; do not over-fit to noise

© softspark, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in app/skills/evolve of softspark/ai-toolkit.

Open the folder on GitHubat commit d64db2b

Compare with similar skills

Evolve next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Evolve compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Evolve this skillsoftspark/ai-toolkit179—~1kAutomated safety check: PassApache-2.0
Prompt Improverseverity1/claude-code-prompt-improver1.9k2 repos~1.7kAutomated safety check: PassMIT
Prompt Engineering Patternsynulihao/AgentSkillOS61714 repos~1.7kAutomated safety check: PassNone
Patch CreationPiebald-AI/tweakcc2.5k—~1.6kAutomated safety check: PassMIT
LLM Application DevMoizIbnYousaf/ai-agent-skills1.1k2 repos~1.3kAutomated safety check: PassMIT
Senior Prompt Engineermaslennikov-ig/claude-code-orchestrator-kit2594 repos~1.4kAutomated safety check: PassCustom licence

Similar skills

  • Prompt Improver

    severity1/claude-code-prompt-improver

    This skill enriches vague prompts with targeted research and clarification before execution.

    1.9k GitHub starsUsed in 2 repos~1.7k tokens
    AI & LLM EngineeringAuto-check passed
  • Prompt Engineering Patterns

    ynulihao/AgentSkillOS

    Master advanced prompt engineering techniques to maximize LLM performance, reliability, and controllability in production.

    617 GitHub starsUsed in 14 repos~1.7k tokens
    AI & LLM EngineeringAuto-check passed
  • Patch Creation

    Piebald-AI/tweakcc

    Create and register new patches for tweakcc. An agent skill from Piebald-AI/tweakcc.

    2.5k GitHub stars~1.6k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • LLM Application Dev

    MoizIbnYousaf/ai-agent-skills

    Building applications with Large Language Models - prompt engineering, RAG patterns, and LLM integration.

    1.1k GitHub starsUsed in 2 repos~1.3k tokens
    AI & LLM EngineeringAuto-check passed
  • Senior Prompt Engineer

    maslennikov-ig/claude-code-orchestrator-kit

    Provides reference guides and Python scripts for prompt optimization, RAG evaluation, and agent orchestration when building or tuning LLM systems.

    259 GitHub starsUsed in 4 repos~1.4k tokens
    AI & LLM EngineeringAuto-check passed
  • Codex Fable5

    baskduf/FableCodex

    Apply a Claude Fable 5 inspired operating style inside Codex.

    437 GitHub stars~1.6k tokensUpdated 2 mo ago
    AI & LLM EngineeringAuto-check passed

More from softspark/ai-toolkit

All 112 skills in this repo
  • Prepare Test Env

    softspark/ai-toolkit

    Prepare or verify a project QA environment with source identity, readiness, browser access, evidence paths and owned cleanup.

    179 GitHub stars~1.8k tokensUpdated today
    Auto-check: notes
  • A11y Validate

    softspark/ai-toolkit

    Accessibility validator: WCAG 2.1 AA, EN 301 549, EAA. An agent skill from softspark/ai-toolkit.

    179 GitHub stars~3.8k tokensUpdated today
    Auto-check: notes
  • Analyze

    softspark/ai-toolkit

    Analyzes code quality, complexity, patterns across codebase.

    179 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Autonomous Dev

    softspark/ai-toolkit

    Drives a brief, specification, issue or existing PR through implementation, review, tests and QA to a ready PR.

    179 GitHub stars~2.6k tokensUpdated today
    Auto-check: notes
  • Brand Voice

    softspark/ai-toolkit

    Direct technical voice for docs, README, user-facing text. An agent skill from softspark/ai-toolkit.

    179 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • CI

    softspark/ai-toolkit

    Detect/generate/debug CI pipeline config (GitHub Actions, GitLab CI).

    179 GitHub stars~1.1k tokensUpdated today
    Auto-check: notes

Questions about Evolve

What does Evolve do?

Analyzes agent/skill failures, drafts prompt/permission fixes. Evolve is an agent skill from softspark/ai-toolkit. Analyzes agent/skill failures, drafts prompt/permission fixes.

When should I use Evolve?

Evolve fits situations like: tasks that involve Prompt engineering.

How do I install Evolve in Claude Code?

Run `npx skills add softspark/ai-toolkit --skill evolve -a claude-code`. Or copy the skill folder (app/skills/evolve in softspark/ai-toolkit) into .claude/skills/evolve in your project. Claude Code loads it when a task matches its description.

How do I install Evolve in Codex?

Run `npx skills add softspark/ai-toolkit --skill evolve -a codex`. Or copy the skill folder (app/skills/evolve in softspark/ai-toolkit) into .agents/skills/evolve in your project. Codex loads it when a task matches its description.

Can I use Evolve in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add softspark/ai-toolkit --skill evolve -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/evolve, .gemini/skills/evolve, .github/skills/evolve and .opencode/skills/evolve in your project.

What does Evolve need to run?

Going by SKILL.md and its folder, Evolve needs the command-line tools its instructions call (python3). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Edit, Grep, Glob.

Does Evolve access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Evolve safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Evolve use?

Evolve is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Evolve use?

About 1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Evolve?

Skills that share tags, products or a category with Evolve: Prompt Improver (severity1/claude-code-prompt-improver, 1.9k stars), Prompt Engineering Patterns (ynulihao/AgentSkillOS, 617 stars), Patch Creation (Piebald-AI/tweakcc, 2.5k stars) and LLM Application Dev (MoizIbnYousaf/ai-agent-skills, 1.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Evolve?

softspark (a GitHub user) maintains it in softspark/ai-toolkit, which has 179 GitHub stars. The repository holds 112 skills in this directory. The repository was last updated on October 7, 2026.

Source: softspark/ai-toolkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.