Darwin-skill evolves Claude Code skills, keeping only edits that help in trial runs
Darwin-skill is a Claude Code skill that checks other Agent Skills and tries to improve them, keeping a change only when blind-judged test runs show it does better.
Darwin-skill is a Claude Code skill that takes an existing Agent Skill and tries to improve it. The author says it borrows the loop of Andrej Karpathy's autoresearch: evaluate, improve, test, then keep or revert, with git used to roll back changes. The author argues that a skill should be judged by whether an agent doing the same job with it does better than without it, not by how complete its SKILL.md looks. A zero-token check command, darwin.py check, scans all installed skills for routing problems, bodies over 500 lines, missing referenced files, and leaked keys or personal paths.
Install with npx skills add alchaincyf/darwin-skill. Live test runs need an environment that can start independent sub-agents. Without one, the README says the tool only does checks and reads scores, and marks the missing measurements. A full optimisation takes more than 20 sub-agent calls, and the workflow pauses for human confirmation at the test set, the baseline, and each diff. The README gives the license as MIT.
The one trial the README reports used a copy of the huashu-excel skill and two development tasks with synthetic data. It recorded one win, one tie, and no losses. SKILL.md shrank 31 percent, so the change was kept. The author says the held-out set was not run and the change was not merged into the original. The README also lists limits: only a few test prompts per skill, LLM judges that cannot be fully removed of bias, and trigger tests that are simulated rather than run in real runtimes.
In the author's words
Autoresearch-inspired autonomous skill optimization for Claude Code. Evaluate, improve, test, keep or revert.
From the README or the author's post. We checked that the sentence is there, not that it is true.
When to reach for it
Someone maintaining many agent skills could run its zero-cost check first to rank them by problems. The keep-or-revert rule, which keeps a tie only when the new version is shorter, is a reusable idea for judging any prompt edit by blind comparison of outputs.
See it
AI wrote this entry from the project's own README or its author's post. What the project does, and that AI built it where the entry says so, are the author's statements, quoted here. Nobody at IKANGAI ran or tested it. How this list is made