Anson-gzy

Darwin — AI skill for Claude Code

AI community

Self-evolution for AI coding agent configs.

How to install Darwin

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Anson-gzy/darwin and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Darwin does

Self-evolution for AI coding agent configs. An agent corrects its own skills and knowledge notes, with every change as one atomic revertable commit instead of a validation gate.

Alternatives in AI

  • No No Debug — No-No Debug — Self-evolution system for AI coding assistants 153 ★
  • Zettel Builder — Bottom-up Zettelkasten card-note skill for AI agent harnesses (Claude Code / OpenClaw / Codex / Hermes) 58 ★
  • Dory — Dory treats hosted LLM interfaces as disposable tools by offloading state to your local environment and enforc 57 ★

README

![Darwin: Self-Evolution for Agents](assets/banner.png)

Darwin

Darwin is an agentic self-evolution framework that enables AI coding assistants to safely modify, correct, and evolve their own configuration, skills, and knowledge base.

darwin.sh fix knowledge/cards/foo.md "root cause was wrong, actually shell builtin shadowing" < /dev/null

The command stages only the named files, records an atomic git commit with provenance metadata, appends a 6-column audit entry to `DARWIN.md`, and prints the short hash. Running `git revert ` cleanly undoes that single modification without disturbing unrelated files.

Safety does not come from cumbersome pre-approval or heavyweight synthetic benchmarks. It comes from **low undo cost**: every modification is an isolated atomic commit that `git revert` can undo instantly.

Darwin governs two foundational assets:

  1. Skills: Procedural workflows defining how to execute complex tasks. A defective skill immediately degrades agent performance across all future sessions.
  2. Knowledge Notes: Empirical records of pitfalls, system quirks, and hard-won facts (what is true). An inaccurate note silently misdirects agents without triggering runtime syntax errors.

Why There Is No Validation Gate

In Google Research's WikiSkill paper (*arXiv 2608.27454*, August 2026), proposed skill edits are benchmarked against a held-out validation dataset and accepted only if test scores improve over the historical best. Across five benchmarks, that loop elevated average task accuracy from 49.5% to 68.1%.

However, running a formal validation gate requires three prerequisites:

  1. A deterministic, repeatable task suite,
  2. An automated scoring oracle, and
  3. A large execution token budget.

Personal coding environments lack all three. Darwin inverts the design: **it does not gate modifications in advance, but keeps every change exactly one atomic `git revert` away.**


Core Pillars of the Modern Architectu