Agent skill · writing content · aradotso
darwin-skill-optimizer
darwin-skill-optimizer — an agent skill for coding agents.
Why this skill is useful
Adds an autonomous optimization script for SKILL.md files that enhances agent capabilities through iterative improvement and testing.
What it needs
Requires npx installed locally. About 5k tokens when loaded. Last updated 2026-07-09. 70 stars on the source repository.
What this skill does
bash via npx (recommended) npx skills add alchaincyf/darwin-skill manual (no GitHub access) Download: https://pub-161ae4b5ed0644c4a43b5c6412287e03.r2.dev/skills/darwin-skill.zip Unzip → place SKILL.md at: ~/.claude/skills/darwin-skill/SKILL.md ┌─────────────┐ ┌──────────────┐ ┌───────────────┐ │ Phase 1 │────▶│ Phase 2 │────▶│ Phase 3 │ │ Inventory │ │ Optimize │ │ Report │ │ + Score │ │ (ratchet) │ │ + Confirm │ └─────────────┘ └──────────────┘ └───────────────┘ │ │ │ ┌─────▼──────┐ │ │ score(new) │ │ │ > score(old│ │ │ keep / rev │ │ └────────────┘ "optimize all skills" "optimize the darwin-skill skill" "run the darwin optimization loop on my nuwa skill" "evaluate all my skill files and improve the weakest ones" Round 1: baseline = 65 Round 2: proposal scores 75 → KEEP (baseline = 75) Round 3: proposal scores 71 → REVERT (baseline stays 75) Round 4: proposal scores 82 → KEEP (baseline = 82) bash Before each improvement attempt git add skills/<name>/SKILL.md git commit -m "darwin: pre-improvement snapshot (<name>)" Apply the targeted edit to SKILL.md... Re-score with an isolated sub-agent NEWSCORE=$(runscoringagent skills/<name>/SKILL.md) if [ "$NEWSCORE" -gt "$BASELINESCORE" ]; then git add skills/<name>/SKILL.md git commit -m "darwin: improve <name> (+$DELTA pts → $NEWSCORE)" echo "✅ Kept: $BASELINESCORE → $NEWSCORE" else git revert HEAD --no-edit echo "⏪ Reverted: $NEWSCORE < $BASELINESCORE" fi Skill Score Weakest Dimension ────────────────────────────────────────────── nuwa-skill 88/100 Code examples (11/15) darwin-skill 76/100 Live test coverage (8/15) my-custom-skill 54/100 Trigger phrases (4/10) markdown Darwin Optimization Report Skill Before After Delta ----------------- -------- ------- ------- nuwa-skill 88 92 +4 darwin-skill 76 83 +7 my-custom-skill 54 61 +7 Total improvement: +18 pts across 3 skills Reverted attempts: 2 json // ~/.claude/skills/<name>/test-prompts.json { "skill": "my-custom-skill", "prompts": [ { "id": "basic-usage", "input": "show me …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aradotso/darwin-skill-optimizer