ReelSynth

Skill Darwin — DevOps skill for Claude Code

DevOps community

skill-darwin tests AI coding skills (SKILL.md) in safe Docker sandboxes on real bugs using Claude Code and Gemini CLI.

How to install Skill Darwin

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

What Skill Darwin does

skill-darwin tests AI coding skills (SKILL.md) in safe Docker sandboxes on real bugs using Claude Code and Gemini CLI. It scores each run on test passes, small code edits, and token use—so only the best skills survive.

Alternatives in DevOps

  • 16 Testing — Prompt 16: Add Test Infrastructure & Smoke Tests 2.3k ★
  • Runtm — Open-source sandboxes where coding agents build and deploy 291 ★
  • Airis MCP Gateway — new Docker-based MCP multiplexer that aggregates 60+ tools behind 7 meta-tools, reducing context token usage b 142 ★

README

skill-darwin

skill-darwin tests AI coding skills (`SKILL.md`) in safe Docker sandboxes on real bugs using **Claude Code** and **Gemini CLI**. It scores each run on test passes, small code edits, and token use—so only the best skills survive.

Architecture

  • Unified HarnessAdapter (skill_darwin/harnesses/base.py): Standardizes mounting a SKILL.md bundle into a workspace, building deterministic headless CLI invocations, and parsing structured JSON telemetry + skill-activation signals.
  • Claude Code Adapter (skill_darwin/harnesses/claude_code.py): Mounts .claude/skills//SKILL.md (Claude Code Skills Docs) and runs claude -p "" --bare --output-format json with explicit permission mode and tool allowlists (Claude Code Headless Docs, Headless Docker Guide).
  • Gemini CLI Adapter (skill_darwin/harnesses/gemini_cli.py): Mounts .gemini/skills//SKILL.md (or .agents/skills//SKILL.md) (Gemini CLI Agent Skills Docs) and runs gemini -p "" --output-format json, extracting response, stats token/latency metrics, and activate_skill signals (Gemini CLI Headless Docs).
  • Two-Phase DockerSandboxRunner (skill_darwin/sandbox/docker_runner.py):
    1. Copies the target repository into an ephemeral workspace and mounts the candidate skill (or omits it for a blank-prompt baseline).
    2. Executes the agent CLI in a hardened, non-root container (--cap-drop ALL, --security-opt no-new-privileges, CPU/memory/PID caps).
    3. Strips the mounted skill directory before computing git diff and Python AST node deltas (skill_darwin/scoring/ast_diff.py).
    4. Runs the repository's test suite in a separate air-gapped (--network none) container.

Quickstart

1. Build the sandbox image