evolve

Solid

Analyzes agent/skill failures, drafts prompt/permission fixes. Triggers: improve agent, refine skill, system prompt, optimize agent.

AI & Automation 155 stars 19 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
73
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# 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: | 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: ...

Details

Author
softspark
Repository
softspark/ai-toolkit
Created
2 months ago
Last Updated
2 days ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category