# Repository Briefing: alchaincyf/darwin-skill
> Source: https://repoforai.com/repo/alchaincyf/darwin-skill (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/alchaincyf/darwin-skill
- **Official Docs / Website**: https://www.huasheng.ai/skills/darwin-skill/
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: HTML
- **License**: MIT
- **Engineering Health**: A+ (91/100 · Maintenance 31/35 · Adoption 20/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v3.0.2 (2026-11-18) — https://github.com/alchaincyf/darwin-skill/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: MCP, CLI
- **Momentum**: 7,147 ★ total (+8 24h / +78 7d) · 736 forks
- **Topics**: `agent-skills`, `ai-agents`, `autoresearch`, `claude-code`, `claude-code-skills`, `claude-skills`, `codex`, `evaluation`, `huashu-skills`, `llm`, `openclaw`, `prompt-optimization`
- **When to Use**: Best for: Teams maintaining existing Agent Skills that have representative requests, a Git workflow, and a host capable of dispatching independent subagents; start with static triage, then spend model budget on skills whose behavior is worth testing. Skip if: You need an MCP service endpoint, unattended optimization, or statistically reliable detection of small gains from only a handful of tasks. Use an authoring tool if your main job is creating a skill from scratch.

## Overview
```text
### Architecture & Core Mechanics
Darwin 3.0 is a host-orchestrated Agent Skill with a Python CLI helper, not an evidenced MCP service. Its own SKILL.md defines the protocol; the target skill's SKILL.md is the editable asset under test. Supporting material lives in references/ and templates/, with test-prompts.json for task definitions. The host coordinates independent execution and judging subagents; scripts/darwin.py handles static checks, blind-pair preparation, and tallying.

The workflow separates diagnosis from acceptance. A no-skill baseline tests whether the skill adds value at all. Each revision round then tests one hypothesis on development tasks: independent agents run the old and new versions, and three judges compare outputs in randomized order. Fixed rules recommend keeping or reverting the change; the operator confirms the test set and baseline and reviews the final diff. Git revert preserves the experiment history.

### Key Capabilities & Differentiators
The 100-point, nine-dimension rubric identifies what to fix; it does not decide whether an edit survives. The execution dimension is worth 23 points: checklist results provide the base and improvement over a no-skill run caps it. Without execution, the total is marked non-comparable. The acceptance rules keep a candidate that wins more tasks than it loses without checklist regressions, use shorter text to break ties, and verify checkable factual objections rather than settling them by vote.

The original and final versions are compared on held-out tasks, and retest mode reuses the original task set after a model upgrade. The huashu-excel trial illustrates the scope of that evidence: moving report instructions into references cut SKILL.md size by 31%, produced one win and one tie on two development tasks, and did not regress checklist results. The trial used synthesized fixtures and did not test either the holdout or report-producing tasks.

### Trade-offs & Limitations
Anthropic's skill-creator already runs skill-versus-baseline tasks and offers blind comparison as an advanced option. Darwin adds mandatory blind comparisons for revision decisions, a scripted ratchet, and holdout validation for body edits; it does not replace skill-creator's authoring and results viewer. Compared with SkillOpt's autonomous, answer-key-driven workflow, Darwin can start from a few real requests without reference answers, but it requires operator review and relies on LLM judges.

Small suites are better at detecting large regressions or improvements than subtle gains. Randomized pairwise judging mitigates some biases, not all of them; simulated triggering is not a substitute for checking the host's real loading behavior. Evaluation is roughly six subagent calls, versus more than twenty for a full optimization. Tests do not automatically publish, push, or send messages, so those paths remain unverified until deliberately checked.

### Hardware & Deployment Guide
Install with `npx skills add alchaincyf/darwin-skill`, or place the complete extracted folder in the host's skills directory and preserve the relative layout of SKILL.md, references/, scripts/, and templates/. Use Python 3 for `python3 scripts/darwin.py check ~/.claude/skills`, substituting the actual skills directory. For revision experiments, work in Git and commit or stash local changes first. Full behavioral runs require independent subagent dispatch; otherwise the workflow falls back to static checks and document review and marks execution as missing.

The static check needs no model calls; end-to-end resource use depends on the host's models and concurrency. v3.0 introduced behavioral judging, v3.0.1 removed relative group-path clues from blind pairs, and v3.0.2 reduced avoidable rerun prompts without changing acceptance rules. It reports all incomplete ballots together, supports redispatching only missing judges, and limits reruns to one per round, with no rerun prompts for holdout or baseline-gain judging.
```

## Key Capabilities
```text
- Baseline: Compare the current skill with a no-skill run before spending effort on edits.
- Blind judging: Three independent judges compare randomized A/B outputs with execution records and identifying paths removed.
- Revision control: Test one hypothesis per round and use git revert to roll back rejected changes without erasing history.
- Holdout: Confirm at least four tasks, split evenly between development and holdout; compare the original and final versions on the holdout.
- Static triage: The Python CLI checks routing, bodies over 500 lines, missing references, and signs of secrets or personal paths without model calls.
- Evidence reporting: E0–E3 distinguishes static checks, document review, task execution, and real-environment verification.
```

## Quick Start / Clone
```bash
npx skills add alchaincyf/darwin-skill
```
