Evolve

From softspark/ai-toolkit · View interactive version

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

How to use this skill

Skill file

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:

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:

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

Gotchas

When NOT to Use

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.