Darwin Skill Optimizer
alchaincyf/darwin-skill
Scores SKILL.md files on a nine-dimension rubric, then improves them in a keep-or-revert loop with independent judge agents, test prompts, git history and human checkpoints.
Fetches harness learning proposals from the moai CLI, hands them to the orchestrator for approval and applies, rejects or rolls back the resulting changes.
$ npx skills add modu-ai/moai-adk --skill moai-harness-learner -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install modu-ai/moai-adk moai-harness-learner --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/modu-ai/moai-adk.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/moai-harness-learner .claude/skills/moai-harness-learner && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "moai-harness-learner" agent skill from https://github.com/modu-ai/moai-adk/tree/main/.claude/skills/moai-harness-learner into .claude/skills/moai-harness-learner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "moai-harness-learner", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/modu-ai/moai-adk/tree/main/.claude/skills/moai-harness-learnerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add modu-ai/moai-adk --skill moai-harness-learner -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install modu-ai/moai-adk moai-harness-learner --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/modu-ai/moai-adk.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/moai-harness-learner .agents/skills/moai-harness-learner && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "moai-harness-learner" agent skill from https://github.com/modu-ai/moai-adk/tree/main/.claude/skills/moai-harness-learner into .agents/skills/moai-harness-learner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "moai-harness-learner", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add modu-ai/moai-adk --skill moai-harness-learner -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install modu-ai/moai-adk moai-harness-learner --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/modu-ai/moai-adk.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/moai-harness-learner .cursor/skills/moai-harness-learner && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "moai-harness-learner" agent skill from https://github.com/modu-ai/moai-adk/tree/main/.claude/skills/moai-harness-learner into .cursor/skills/moai-harness-learner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "moai-harness-learner", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/modu-ai/moai-adk.git --path .claude/skills/moai-harness-learner--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add modu-ai/moai-adk --skill moai-harness-learner -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install modu-ai/moai-adk moai-harness-learner --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/modu-ai/moai-adk.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/moai-harness-learner .gemini/skills/moai-harness-learner && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "moai-harness-learner" agent skill from https://github.com/modu-ai/moai-adk/tree/main/.claude/skills/moai-harness-learner into .gemini/skills/moai-harness-learner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "moai-harness-learner", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install modu-ai/moai-adk moai-harness-learnerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add modu-ai/moai-adk --skill moai-harness-learner -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/modu-ai/moai-adk.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/moai-harness-learner .github/skills/moai-harness-learner && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "moai-harness-learner" agent skill from https://github.com/modu-ai/moai-adk/tree/main/.claude/skills/moai-harness-learner into .github/skills/moai-harness-learner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "moai-harness-learner", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add modu-ai/moai-adk --skill moai-harness-learner -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install modu-ai/moai-adk moai-harness-learner --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/modu-ai/moai-adk.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/moai-harness-learner .opencode/skills/moai-harness-learner && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "moai-harness-learner" agent skill from https://github.com/modu-ai/moai-adk/tree/main/.claude/skills/moai-harness-learner into .opencode/skills/moai-harness-learner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "moai-harness-learner", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
moai-harness-learnerFetches harness learning proposals from the moai CLI, hands them to the orchestrator for approval and applies, rejects or rolls back the resulting changes.
This skill coordinates MoAI's harness learning subsystem. It sits between the `moai harness` command line and the orchestrator's approval question: the CLI never prompts you itself, so the skill fetches a proposal payload and hands it to the orchestrator, which asks you to approve or reject. It keeps the four-tier ladder of the earlier harness-learning policy and focuses on tier 4 auto-update proposals.
The workflow is to run `moai harness status`, which reports whether learning is enabled, the tier distribution (observation, heuristic, rule, auto update), the rate-limit window and the pending proposal count, then `moai harness apply` to load the next proposal as JSON. The payload carries an ID, the target file, whether the `description` or `triggers` field changes, the new value, the pattern that triggered it and how often it was observed. On approval the skill writes the approval to the proposals directory and signals the CLI to proceed; on rejection it deletes the proposal file and changes nothing.
The same command line restores a snapshot by date with `moai harness rollback` and turns learning off with `moai harness disable`. The skill is allowed to use Bash, Read, Write and Edit.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 2aab5f7. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
BashReadWriteEditFrom allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
MoAI Harness Learning Coordinator loads about 1.9k tokens when it runs. Until then it costs about 78 tokens; SKILL.md has 699 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Bash, Read, Write, EditAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from modu-ai/moai-adk at commit 2aab5f7, republished under its Apache-2.0 licence (© modu-ai). 699 words, ~1,910 tokens.
.claude/skills/moai-harness-learner/SKILL.md (or your agent's skills folder).<!-- @MX:NOTE: [AUTO] this skill body is preserved unchanged per the harness foundation policy §10 exclusion #10 (text annotation only, no behavioral change). The 4-tier observation/heuristic/rule/auto_update ladder defined here is preserved verbatim. The orchestrator-only AskUserQuestion contract is asserted by the harness foundation policy (cross-reference: .claude/rules/moai/core/agent-common-protocol.md § User Interaction Boundary). The downstream replacement of the frequency-count classifier with an embedding-cluster algorithm is deferred to the harness classifier-upgrade policy. -->
Coordinator skill for the Harness Learning Subsystem. The harness foundation policy is the active contract; the 4-tier ladder from the earlier harness-learning policy is preserved unchanged.
Produces Tier 4 auto-update proposal payloads consumed by the MoAI orchestrator; the orchestrator surfaces them to the user via AskUserQuestion and orchestrates Apply/Rollback flows. Canonical contract: .claude/rules/moai/core/askuser-protocol.md § Orchestrator-Subagent Boundary.
Role: Orchestrator-side bridge between CLI (moai harness) and AskUserQuestion.
Key constraint [HARD]: moai harness apply returns a JSON payload representing a Tier 4 auto-update proposal. This skill produces the payload; the orchestrator surfaces it via AskUserQuestion. The CLI itself does NOT prompt the user. Canonical contract: .claude/rules/moai/core/askuser-protocol.md § Orchestrator-Subagent Boundary.
Common triggers:
moai harness status — check tier distribution and pending proposalsmoai harness apply — load next pending proposal (returns JSON payload)moai harness rollback <date> — restore snapshotmoai harness disable — set learning.enabled: falseWorkflow:
moai harness status to inspect state.moai harness apply to get the proposal payload.AskUserQuestion surfacing (approve / reject).moai harness status --project-root <project_root>Output includes:
enabled statemoai harness apply --project-root <project_root>The command outputs a JSON block with:
id — proposal identifiertarget_path — file to be modifiedfield_key — description or triggersnew_value — proposed new contentpattern_key — what triggered this proposalobservation_count — how many times this pattern was observed[HARD] This skill produces a structured payload representing the Tier 4 auto-update proposal; the MoAI orchestrator surfaces it via AskUserQuestion. Canonical contract: .claude/rules/moai/core/askuser-protocol.md § Orchestrator-Subagent Boundary.
Payload schema:
proposal_id — proposal identifiertarget_path — file to be modifiedfield_key — description or triggerscurrent_value — existing content (for diff context)new_value — proposed new contentobservation_count — pattern observation countconfidence — auto-update confidence score (0.0–1.0)recommended_action — approve (default) | reject | inspect | deferThe skill emits this payload as its tool output. The orchestrator reads the payload, preloads AskUserQuestion via ToolSearch(query: "select:AskUserQuestion"), and surfaces the four-option decision (approve / reject / inspect / defer) to the user. On user approval, the orchestrator re-delegates to this skill with action=apply; on rejection, action=skip. The "(권장)" recommendation suffix and per-option descriptions are constructed by the orchestrator from the payload's recommended_action field per askuser-protocol.md § Socratic Interview Structure.
Without --execute, moai harness apply only surfaces the payload. The write happens on the opt-in execute path (Applier.Apply()), gated by the 5-Layer Safety Pipeline, and --execute requires --id — the proposal it applies is named explicitly, never inferred from "the next pending one".
For the coordinator skill, the simplest flow is:
approved: true to .moai/harness/proposals/<id>.decisionmoai harness apply --execute --id <proposal-id> --project-root <project_root>--project-root defaults to the current directory. Pass it explicitly when the session is working inside a worktree — its value is that worktree's own git rev-parse --show-toplevel, so the write lands in the tree the proposal was raised against rather than in the primary checkout.
.moai/harness/proposals/<id>.json# List available snapshots
ls .moai/harness/learning-history/snapshots/
# Rollback to a specific snapshot
moai harness rollback 2026-04-27T00-00-00.000000000Z --project-root <project_root>moai harness disable --project-root <project_root>Sets learning.enabled: false in .moai/config/sections/harness.yaml.
Comments and key ordering are preserved (YAML round-trip).
moai-meta-harness — generates the hns-* skills that are targets of auto-updatesmoai-workflow-tdd — TDD cycle generates events that feed into the observermoai-foundation-quality — quality gates run after auto-updates to validate correctnessThe 5-Layer Safety Pipeline (L1 Frozen Guard → L2 Canary Check → L3 Contradiction Detector → L4 Rate Limiter → L5 Human Oversight) protects every Tier 4 auto-update:
| Layer | Guard | Action on violation |
|---|---|---|
| L1 | Frozen Guard | Block — FROZEN paths are never modified |
| L2 | Canary Check | Block — if effectiveness drops >0.10 |
| L3 | Contradiction Detector | Block — if trigger conflicts arise |
| L4 | Rate Limiter | Block — max 3 per week, 24h cooldown |
| L5 | Human Oversight | Orchestrator surfaces user-approval via AskUserQuestion (this skill emits payload) |
[HARD] L1 Frozen paths (never auto-modified at runtime):
~/.claude/agents/** (template-managed agents; .claude/agents/harness/ is a user-owned allowed-write target, NOT frozen)~/.claude/skills/moai-*/**.claude/rules/moai/**Only user-area skills (.claude/skills/hns-*/, plus legacy .claude/skills/harness-*/ and .claude/skills/my-harness-*/ generations) and agents (.claude/agents/harness/) are valid auto-update targets.
© modu-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/moai-harness-learner of modu-ai/moai-adk.
Open the folder on GitHubat commit 2aab5f7
MoAI Harness Learning Coordinator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| MoAI Harness Learning Coordinator this skillmodu-ai/moai-adk | 1.2k | — | ~1.9k | Automated safety check: Notes | Apache-2.0 | |
| Darwin Skill Optimizeralchaincyf/darwin-skill | 6.2k | 1 repos | ~4.7k | Automated safety check: Pass | MIT | |
| Show Me Your Work Decision Logcursor/plugins | 10k | 8 repos | ~1.6k | Automated safety check: Pass | None | |
| Using Agent Skillsaddyosmani/agent-skills | 103k | 4 repos | ~2.4k | Automated safety check: Pass | MIT | |
| Ponytail Help CardDietrichGebert/ponytail | 159k | — | ~726 | Automated safety check: Pass | MIT | |
| Skill Creatorzhayujie/CowAgent | 47k | — | ~4.7k | Automated safety check: Notes | MIT |
alchaincyf/darwin-skill
Scores SKILL.md files on a nine-dimension rubric, then improves them in a keep-or-revert loop with independent judge agents, test prompts, git history and human checkpoints.
cursor/plugins
Keeps a TSV decision log for long or unattended agent runs, one row per decision with what, why, evidence and result, so a reviewer can check the work later.
addyosmani/agent-skills
Meta-skill for choosing which workflow skill fits the task at hand, plus always-on habits: surface assumptions, stop on confusion, push back, keep it simple and stay in scope.
DietrichGebert/ponytail
Shows a one-shot quick-reference card for the ponytail skills: intensity levels, the six commands, and how to turn it off, set a default mode and update.
zhayujie/CowAgent
Guides creating, installing and updating agent skills in a workspace: SKILL.md frontmatter, bundled scripts and references, with scripts to scaffold, validate and package.
rebelytics/one-skill-to-rule-them-all
Monitors task execution for skill improvement opportunities.
modu-ai/moai-adk
Builds hand-editable SVG diagrams from computed layout coordinates, lints the source and renders a 2x PNG, with rules for when mermaid is the better choice.
modu-ai/moai-adk
Reference for MoAI-ADK's core development principles: TRUST 5 quality gates, SPEC-first domain-driven workflow, agent delegation and token budgeting.
modu-ai/moai-adk
Manages SPEC documents for MoAI-ADK development, with GEARS or EARS requirement notation, acceptance criteria and a link into the Plan-Run-Sync workflow.
modu-ai/moai-adk
Drives test-first development through the RED, GREEN, REFACTOR cycle, with a config switch that selects between TDD and a DDD workflow for existing code.
modu-ai/moai-adk
Gives each SPEC its own Git worktree with a registry of active workspaces, base-branch sync and cleanup of merged ones, inside the MoAI-ADK workflow.
modu-ai/moai-adk
Watches a pull request's CI checks after creation, separates required from auxiliary failures, applies limited safe fixes and escalates anything semantic to you.
Categories
Fetches harness learning proposals from the moai CLI, hands them to the orchestrator for approval and applies, rejects or rolls back the resulting changes. This skill coordinates MoAI's harness learning subsystem. It sits between the `moai harness` command line and the orchestrator's approval question: the CLI never prompts you itself, so the skill fetches a proposal payload and hands it to the orchestrator, which asks you to approve or reject.
MoAI Harness Learning Coordinator fits situations like: harness learning proposals are waiting for review; checking the tier distribution and pending proposals of the learning subsystem; rolling back a harness auto-update to an earlier snapshot; turning harness learning off for a project.
Run `npx skills add modu-ai/moai-adk --skill moai-harness-learner -a claude-code`. Or copy the skill folder (.claude/skills/moai-harness-learner in modu-ai/moai-adk) into .claude/skills/moai-harness-learner in your project. Claude Code loads it when a task matches its description.
Run `npx skills add modu-ai/moai-adk --skill moai-harness-learner -a codex`. Or copy the skill folder (.claude/skills/moai-harness-learner in modu-ai/moai-adk) into .agents/skills/moai-harness-learner in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add modu-ai/moai-adk --skill moai-harness-learner -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/moai-harness-learner, .gemini/skills/moai-harness-learner, .github/skills/moai-harness-learner and .opencode/skills/moai-harness-learner in your project.
Going by SKILL.md and its folder, MoAI Harness Learning Coordinator needs the command-line tools its instructions call (git). Our summary lists: The `moai` CLI; A MoAI project with harness learning enabled. Its frontmatter pre-approves these tools: Bash, Read, Write, Edit.
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
MoAI Harness Learning Coordinator is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with MoAI Harness Learning Coordinator: Darwin Skill Optimizer (alchaincyf/darwin-skill, 6.2k stars), Show Me Your Work Decision Log (cursor/plugins, 10k stars), Using Agent Skills (addyosmani/agent-skills, 103k stars) and Ponytail Help Card (DietrichGebert/ponytail, 159k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
modu-ai (a GitHub organization) maintains it in modu-ai/moai-adk, which has 1,232 GitHub stars. The repository holds 48 skills in this directory. The repository was last updated on October 9, 2026.
Source: modu-ai/moai-adk on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.