PlugWiki

darwin-skill for Claude Code: score and improve your SKILL.md files

Makes Claude score your other skills, edit the weakest, test the change and keep it only if judges agree, for people who maintain several SKILL.md files.

Installs
11.3K
on skills.sh
Stars
6.7K
on GitHub
Updated
Sep 2026
last commit

darwin-skill runs a loop on SKILL.md files in a git repo. It scores each skill on a 9-part, 100-point rubric, picks the weakest part, makes one edit and commits it. Independent judge sub-agents then compare the old and new versions, and the edit stays only if most of them prefer it. It pauses for your approval after the baseline scores and after each skill.

It triggers on requests such as "auto optimize", "skill review" or "optimize skill", and on their Chinese equivalents. The SKILL.md is written in Chinese and the README has an English version. It needs git, edits the skills you point it at, and can render a result card with a Node script. Treat it as a tool that changes your files on a new branch.

Good for

  • People who maintain many skills and want to know which are weakest
  • Skill authors who want edits tested, not just reformatted
  • Teams that want each change reviewed by a person before it stays

Install darwin-skill

Claude Code

  1. 1

    Copy this prompt.

    Install the darwin-skill skill in Claude Code. Run this command:
    
    npx skills add alchaincyf/darwin-skill
    
    Then check that it loaded and tell me how to use it.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Node.js.

Run it from a git repository, and commit or stash your own skill edits first, as the README advises. The result cards need the scripts and templates folders, so install the whole repo and not only SKILL.md.

From the project README. Source.

What's in the skill

When it loads

Darwin Skill 2.0 (达尔文.skill 2.0): autonomous skill optimizer, v2.0 integrates Microsoft Research SkillLens (arXiv 2605.23899) 9-dim rubric + SkillOpt (arXiv 2605.23904) validation-gated design + human-in-the-loop checkpoints. Evaluates SKILL.md files using a 9-dimension rubric (structure + effectiveness + meta-skill blacklists), runs hill-climbing with git version control, spawns independent judge agents for blind evaluation, validates improvements through test prompts with auto-break on diminishing returns, and generates visual result cards. Use when user mentions "优化skill", "skill评分", "自动优化", "auto optimize", "skill质量检查", "达尔文", "darwin", "帮我改改skill", "skill怎么样", "提升skill质量", "skill review", "skill打分".

Sections in SKILL.md

  1. 设计哲学
  2. 评估 Rubric(9维度,总分100)
  3. 结构维度(59分)— 静态分析
  4. 效果维度(35分)— 需要实测
  5. Meta-skill 维度(6分)— 反例与黑名单
  6. 评分规则
  7. Rubric 的实证基础
  8. 关于「实测表现」维度
  9. Runtime 适配性审查(gate 项,独立于 9 维度评分)
  10. Phase 1 基线评估时强制跑一次红灯扫描
  11. 例外(允许的「Claude Code 痕迹」)
  12. 自主优化循环
  13. Phase 0: 初始化
  14. Phase 0.5: 测试Prompt设计
  15. Phase 1: 基线评估(Baseline)— triage 用途
  16. Phase 2: 优化循环

Key facts

Installs on skills.sh
11,276 as of 2026-11-02
GitHub stars
6,745
Last repo commit
2026-09-18

What it includes

  • Picks the skills to cover, makes a git branch and a results.tsv log

    Creates the branch auto-optimize/YYYYMMDD-HHMM and results.tsv if it is missing, and reads earlier results. If you are not in a git repo it asks whether to run git init or use file backups.

    Try: “Optimize all my skills.”

    Runs code · Phase 0: Set up

  • Writes 2 to 3 typical prompts per skill to test-prompts.json

    You see the prompts and confirm them before scoring starts.

    Write · Phase 0.5: Test prompts

  • Scores every skill, with sub-agents running each test prompt with and without the skill

    The absolute scores only rank which skill is weakest. It then stops and waits for you.

    Try: “Evaluate the quality of all my skills.”

    Runs code · Phase 1: Baseline scores

  • One edit per round, committed, then judged; up to 3 rounds per skill

    3 judges read the old and new version in one call and vote better, worse or tie. A majority of worse triggers git revert, a new commit that undoes the edit. You approve each skill before the next.

    Try: “Optimize the skill called huashu-slides.”

    Runs code · Phase 2: Optimize loop

  • Offers a full rewrite when two skills stop improving in round 1

    It uses git stash to keep the best version and runs only after you agree.

    Runs code · Phase 2.5: Exploratory rewrite

  • Summarises experiments kept and reverted, and score changes

    Read · Phase 3: Report

  • Nine scored areas; the live test is worth the most, 23 of 100 points

    In order: frontmatter 7, workflow 12, failure modes 12, checkpoints 6, specificity 18, resources 4, architecture 12, live test 23, do-not list 6.

    Rubric (9 parts, 100 points)

  • Runs a grep for wording that ties a skill to one agent

    It greps SKILL.md and README.md for phrases such as "Claude Code skill" and fixes real hits first.

    Runs code · Runtime-neutrality scan

  • Fills an HTML template and screenshots it to a PNG

    It runs node scripts/screenshot.mjs, with npx playwright screenshot as the fallback.

    Runs code · Result card

  • Every 30 days, compares your clone with its origin and may tell you to git pull

    It reads .last-update-check, runs git ls-remote origin HEAD, writes the date, and leaves the update to you.

    Runs code · Update check

  • Evaluate only, optimize one skill, or show results.tsv history

    Read · Other uses

From the official docs

Permissions

Medium risk

The skill rewrites and commits your other SKILL.md files, and its tests run those skills. Run it on a clean git branch and read each checkpoint diff before you approve.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • It edits and commits your other skills

    Each round edits a SKILL.md and commits it on an auto-optimize branch. The README says to run it from a git repo and to commit or stash your own edits first. github.com

  • Test prompts run the skills you are testing

    Sub-agents execute each test prompt with the skill loaded. A skill that runs shell commands or calls services will do so during the test, so read the prompts it shows you before you confirm. github.com

  • Result cards need Node and playwright

    The screenshot script launches Chromium through playwright and opens the PNG with your system viewer. Its error text tells you to install playwright-core and Chromium if they are missing. github.com

  • It checks for updates against the git remote

    After 30 days it runs git ls-remote origin HEAD and writes the date to .last-update-check. It only tells you about a newer version, and the SKILL.md leaves updating to you. github.com

  • It stops for your approval

    SKILL.md marks CHECKPOINT stops after the baseline scores, after each skill, and before an exploratory rewrite. Use them to review the diff. github.com

Technical details
Turning on read-onlyNo read-only switch. SKILL.md says an evaluate-only request runs Phase 0.5 to 1 and skips the optimize loop, but those phases still write test-prompts.json and results.tsv.
Talks toThe git remote named origin of the darwin-skill folder (git ls-remote, every 30 days). fonts.googleapis.com and fonts.gstatic.com (linked from templates/result-card.html)
Scopes
  • Edits SKILL.md files of the skills you point it at and commits each edit on a new git branch

  • Writes results.tsv, test-prompts.json and .last-update-check

  • Runs git (branch, commit, revert, stash, ls-remote), grep, sed and node

  • Spawns sub-agents that run test prompts with each skill

Questions

What does darwin-skill do?

It scores your skills on a 9-part rubric, makes one edit at a time to the weakest part, and keeps an edit only if a majority of independent judges prefer the new version. It pauses for your approval along the way.

How do I install darwin-skill?

Use the install box at the top of this page. The README command is the skills CLI, and it also offers a zip download. Install the whole repo, because the result cards use its scripts and templates folders.

Does it need an API key?

The SKILL.md names no API key or account. It spawns judge sub-agents, 3 per round by default and 5 on close calls, so a run makes more model calls than a normal chat.

Is it safe to run?

It changes files. It edits the skills you point it at, commits on a new branch, and runs their test prompts through sub-agents. Run it in a git repo with your own edits committed, and read the diff at each checkpoint before you approve.

Can I trust the scores?

Use them to rank, not to decide. The SKILL.md says the same text can score about 8 points apart under different judges, so it decides keep or revert by a vote of judges that compare both versions, and says important decisions need a human review.

How many judges does it use, and how does it decide to keep an edit?

The two sources disagree. SKILL.md says 3 judges per round (5 on a close call), each comparing the old and new version in one call, and keeps the edit unless a majority votes worse. The English README says 2 independent judges per round and describes keeping an edit when the score goes up and reverting when it goes down. This page follows SKILL.md, the file the skill itself loads.

How is it different from a normal skill review?

A normal review checks structure, such as frontmatter and numbered steps. The SKILL.md says darwin-skill also runs test prompts and checks whether the output is better after the edit, then reverts edits that lose the vote.

Does it work in Codex or Cursor?

The README says it works with any tool that supports the SKILL.md format, and the SKILL.md names Codex, Cursor and others. The install box shows a Codex skills folder. It needs git and sub-agents in whichever tool you use.

Information

updated Nov 2, 2026

alchaincyf/darwin-skillskills.sh

Sources

Docs, issue trackers and discussions this page is built from.

Show all 4
  1. darwin-skill README (English) · github.com
  2. darwin-skill SKILL.md · github.com
  3. darwin-skill scripts/screenshot.mjs · github.com
  4. darwin-skill templates/result-card.html · github.com

Updated Nov 2, 2026.