AI for Developers
Agent skill (SKILL.md) Open source MIT 6.8k

darwin-skill

Tunes other skills with a ratchet loop: edit, re-score, and keep the change only if the score goes up.

Install

For this project
$ npx skills add alchaincyf/darwin-skill -a claude-code
For every project
$ npx skills add alchaincyf/darwin-skill -a claude-code -g

Or copy the skill folder into .claude/skills/ (project) or ~/.claude/skills/ (all projects).

When to use

Use it once you have a handful of skills and suspect some are bloated, vague or no better than the bare model.

Darwin tunes other skills with a ratchet loop, an idea borrowed from Karpathy's autoresearch. It evaluates a skill, improves it, tests the result, asks a human to confirm, and then keeps or rolls back the change with git. The README is in Chinese, with an English version linked at the top.

Version 3.0 changed what the ratchet measures. Earlier versions had judges read the old and new SKILL.md and vote. Version 3 has an independent agent run the task with each version and has judges blind-score the outputs. Ties go to the shorter version, a held-out test set checks for overfitting, and a script settles the verdicts. A check command scans all your skills for free, flagging weak routing, files over 500 lines, missing references and leaked secrets.

Related skills

All skills