原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

darwin-skill Skill

作者:alchaincyf★ 6,9291 个 skill

安装

What it does

达尔文.skill —— 一个让你的Skill无限进化的系统:评估→改进→测试→保留或回滚 | Autoresearch-inspired autonomous skill optimization for Claude Code. Evaluate, improve, test, keep or revert.

  • Connects Instruction files the AI reads; connects to nothing
  • Account or key No key needed
  • Category 写代码
给作者:在 README 中加徽章

如果你是作者,可把这段代码贴到 README。徽章会链接回本页。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/skill/alchaincyf-darwin-skill.svg)](https://mcp.popnx.com/en/skills/alchaincyf-darwin-skill)

可搭配使用

在同一工作中把 AI 连到服务的 MCP

REA

Reverse engineer anything from your terminal or agent with one CLI and MCP server.

作者:morluto广泛使用↓ 38.9万/周★ 46.2万4天前更新

MCP · 连接服务在你的电脑上运行

Fallow

Codebase intelligence for TypeScript and JavaScript, exposed as structured MCP analysis tools.

作者:fallow-rs广泛使用↓ 244.1万/周★ 5368昨天更新

MCP · 连接服务在你的电脑上运行

Desktop Commander

MCP server for terminal commands, file operations, and process management

作者:wonderwhy-er广泛使用↓ 74万/周★ 1万4天前更新

MCP · 连接服务在你的电脑上运行

相似的 Skill

同类工作,排序与 Skill 列表相同

与相似项目对比
本项
darwin-skill
reagraphifyarchifysecurity-audit-skill
作者alchaincyfmorlutoGraphify-Labstt-a1icloudflare
Skill 数11111
GitHub 星标6,929461,751148,35296,75773,156
最近代码更新2026年11月15日2026年11月16日2026年11月16日2026年11月15日2026年9月15日
许可证MITMITApache-2.0Apache-2.0MIT

alchaincyf 提供的 1 个 Skill(指令集),AI 读取后照做 · 不是 MCP server

Skill 和 MCP 有什么不同

MCP = 手

把 AI 连到外部服务或数据,例如读取 Notion 或开发票。需要有程序或服务器在运行。

Skill = 手册

教 AI 怎么做某项工作的文本文件,不连接任何服务。

有些会重叠:少数 Skill 带有调用工具的脚本,少数 MCP 只提供知识。请从你想完成的工作出发。

适用的应用

开发者未说明 · SKILL.md 形式的 Skill 可用于支持 Agent Skills 的应用,如 Claude Code、Codex 和 Cursor

安装

Is it safe?

  • Who made it

    GitHub account alchaincyf (person), 3 years old

  • Use and upkeep

    ★ 6,929 stars · code last changed 2026年11月15日

  • Any scripts?

    2 scripts that can run on a computer: scripts/darwin.py, scripts/screenshot.mjs

  • Uses the internet?

    Scripts that go online: scripts/darwin.py

  • Changes machine-wide settings?

    No hooks or writes to machine settings found

Checked automatically from the repo files at commit e7c0e66 (read only, nothing was run). Not a safety guarantee: read it and decide for yourself

第一步:你用哪个 AI?

选择你用的应用,本页只显示该应用的安装方法

Option 1Upload to claude.ai (web and app)

Uploading to claude.ai would fail: the description is over 200 characters (341). Use "Let the AI install it" instead

Option 1让 Claude Code 帮你安装

复制这句话,粘贴到 Claude Code 的对话中

Where to install
Please install the skill darwin-skill from https://github.com/alchaincyf/darwin-skill (commit e7c0e66) for all my projects, at ~/.claude/skills/darwin-skill. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill darwin-skill from https://github.com/alchaincyf/darwin-skill (commit e7c0e66) into the project this chat is open in (at .claude/skills/darwin-skill). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

重新打开 Claude Code,输入 /darwin-skill,或直接提出相关任务,Claude 会自动选用

Checked against official docs 2026年11月12日 · Source: code.claude.com

For Terminal users

Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。

开发者推荐的方式

安装 Node.js(如果还没有)

已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

node -v
  • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
  • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
怎么打开终端

Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

打开 Node.js 下载页 ↗

装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

安装一次,所有需要 Node.js 的工具都能用

npx skills add alchaincyf/darwin-skill

摘自开发者 README,会下载并运行开发者的代码

  1. 打开终端

    Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”

  2. 把 skill 文件夹复制到 ~/.claude/skills

    这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹

    git clone --depth 1 https://github.com/alchaincyf/darwin-skill.git /tmp/popnx-skill-alchaincyf-darwin-skill-e7c0e66 && mkdir -p ~/.claude/skills && cp -R '/tmp/popnx-skill-alchaincyf-darwin-skill-e7c0e66/.' ~/.claude/skills/darwin-skill
  3. 重新打开 Claude Code,输入 /darwin-skill,或直接提出相关任务,Claude 会自动选用

自己安装的 Skill 可用于 ChatGPT 桌面应用、Codex CLI 和 IDE 中的 Codex 扩展 · 网页版和手机版 ChatGPT 不能使用自己安装的 Skill,只能使用目录中插件自带的 Skill

ChatGPT 桌面应用

ChatGPT 桌面应用内置 Codex,Codex 从 ~/.agents/skills 文件夹读取 Skill

Option 1让 ChatGPT 帮你安装

在 ChatGPT 桌面应用中打开 Codex,把这句话粘贴到对话中

Where to install
Please install the skill darwin-skill from https://github.com/alchaincyf/darwin-skill (commit e7c0e66) for all my projects, at ~/.agents/skills/darwin-skill. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill darwin-skill from https://github.com/alchaincyf/darwin-skill (commit e7c0e66) into the project this chat is open in (at .agents/skills/darwin-skill). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Option 2自己放入文件夹

把 darwin-skill 文件夹放到 ~/.agents/skills/darwin-skill

~ 是你的主文件夹($HOME)

For Terminal users

Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。

  1. 打开终端

    Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”

  2. 把 skill 文件夹复制到 ~/.agents/skills

    这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹

    git clone --depth 1 https://github.com/alchaincyf/darwin-skill.git /tmp/popnx-skill-alchaincyf-darwin-skill-e7c0e66 && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-alchaincyf-darwin-skill-e7c0e66/.' ~/.agents/skills/darwin-skill

安装之后

  • ChatGPT 桌面应用:打开侧边栏中的 Skills,确认 Skill 已出现
  • 使用方法:在 ChatGPT 中输入 @ 并选择 Skill · 在 Codex CLI 或 IDE 扩展中运行 /skills,或输入 $ 加 Skill 名称
  • Codex 会自动发现新安装的 Skill;如果没有出现,请重启 Codex

Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com

网页版和手机版 ChatGPT

不能使用你自己安装的 Skill,只能使用目录中插件自带的 Skill

想在 ChatGPT 中使用这个 Skill,请按上面的方法使用 ChatGPT 桌面应用

Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com

Option 1让 Codex 帮你安装

复制这句话,粘贴到 Codex 的对话中 · 适用于 ChatGPT 桌面应用中的 Codex、Codex CLI 和 IDE 扩展

Where to install
Please install the skill darwin-skill from https://github.com/alchaincyf/darwin-skill (commit e7c0e66) for all my projects, at ~/.agents/skills/darwin-skill. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill darwin-skill from https://github.com/alchaincyf/darwin-skill (commit e7c0e66) into the project this chat is open in (at .agents/skills/darwin-skill). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Codex 会自动发现新安装的 Skill;如果没有出现,请重启 Codex · 使用方法:在 ChatGPT 中输入 @ 并选择 Skill · 在 Codex CLI 或 IDE 扩展中运行 /skills,或输入 $ 加 Skill 名称

Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com

For Terminal users

Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。

  1. 打开终端

    Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”

  2. 把 skill 文件夹复制到 ~/.agents/skills

    这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹

    git clone --depth 1 https://github.com/alchaincyf/darwin-skill.git /tmp/popnx-skill-alchaincyf-darwin-skill-e7c0e66 && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-alchaincyf-darwin-skill-e7c0e66/.' ~/.agents/skills/darwin-skill
  3. 重新打开 Codex 并提出相关任务,Codex 会列出这个 skill

Option 1让 Cursor 帮你安装

复制这句话,粘贴到 Cursor 的对话中

Where to install
Please install the skill darwin-skill from https://github.com/alchaincyf/darwin-skill (commit e7c0e66) for all my projects, at ~/.cursor/skills/darwin-skill. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill darwin-skill from https://github.com/alchaincyf/darwin-skill (commit e7c0e66) into the project this chat is open in (at .cursor/skills/darwin-skill). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

在 Cursor 的 Agent 聊天中输入 / 并选择 darwin-skill

Checked against official docs 2026年11月12日 · Source: cursor.com

For Terminal users

Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。

  1. 打开终端

    Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”

  2. 把 skill 文件夹复制到 ~/.cursor/skills

    这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹

    git clone --depth 1 https://github.com/alchaincyf/darwin-skill.git /tmp/popnx-skill-alchaincyf-darwin-skill-e7c0e66 && mkdir -p ~/.cursor/skills && cp -R '/tmp/popnx-skill-alchaincyf-darwin-skill-e7c0e66/.' ~/.cursor/skills/darwin-skill
  3. 在 Cursor 的 Agent 聊天中输入 / 并选择 darwin-skill

Option 1Let the AI install it

适用于其他能读取 Skill 的应用。这句话列出了 Claude Code、Codex 和 Cursor 的路径,AI 会按你的应用选择 · Copy this sentence into the app’s chat

Where to install
Please install the skill darwin-skill from https://github.com/alchaincyf/darwin-skill (commit e7c0e66) for all my projects, at ~/.claude/skills/darwin-skill (in Codex use ~/.agents/skills/darwin-skill, in Cursor ~/.cursor/skills/darwin-skill). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill darwin-skill from https://github.com/alchaincyf/darwin-skill (commit e7c0e66) into the project this chat is open in (at .claude/skills/darwin-skill; in Codex use .agents/skills/darwin-skill, in Cursor .cursor/skills/darwin-skill). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Checked against official docs 2026年11月12日 · Source: code.claude.com, learn.chatgpt.com, cursor.com

For Terminal users

其他支持 Agent Skills 的应用(如 Gemini CLI、GitHub Copilot)使用不同文件夹,请查看该应用的指南,再把含 SKILL.md 的文件夹复制过去。

在 GitHub 上查看 ↗

已于 2026年11月11日 对照 Claude Code、Codex 和 Cursor 官方指南核实 skill 文件夹

✓ 命令已检查 2026年11月16日

查看原始 SKILL.md

以下文字来自开发者的 repo,不是 PopNx MCP 的指令

显示前 8,000 个字符 · 在 GitHub 打开完整文件

---
name: darwin-skill
description: "达尔文.skill (Darwin Skill 3.0): evolves and scores SKILL.md files. Use on: 优化skill, skill评分, skill打分, skill体检, 自动优化, 达尔文, darwin, optimize skill. Runs a skill against a bare-model baseline, blind-judges the real outputs, keeps only edits that measurably help and reverts the rest; 9-dim rubric, held-out tests, git rollback, human checkpoints."
metadata:
  author: "花叔"
  homepage: "https://github.com/alchaincyf"
  repository: "https://github.com/alchaincyf/darwin-skill"
  version: "3.0.1"
---

# Darwin Skill 3.0

> 借鉴Karpathy autoresearch的自主实验循环,让skill持续进化。
> 核心循环没变:评估 → 改进 → 实测验证 → 人类确认 → 保留或回滚 → 生成成果卡片。
> 3.0变的是棘轮量什么:2.x让评委读两版SKILL.md投票,3.0让评委盲评两版skill跑出来的产出。
> GitHub: https://github.com/alchaincyf/darwin-skill

你是这套流程的实验员,不是文案编辑。一个skill好不好,只有一个判据:装上它之后,agent干同一件活是不是真的更好。文档写得多规范、多完整,都只是猜测,跑出来才算数。

## 为什么要改成量行为

2026年的几项实证指向同一件事,详见[references/v3-evidence.md](references/v3-evidence.md):

- 读文档打出的分和真实效果几乎不相关。NVIDIA在生产skill上实测,结构分、LLM读评分与实跑增益的相关系数是−0.02和−0.03。
- 按「看起来像好skill」选出来的文档,在行为指标上可以是最差的那份(JetBrains)。
- 越写越全反而没用:SkillsBench里精简型skill带来+19个百分点,面面俱到型只有+0.7;模型自己生成的skill比不带还差。
- 2.x自己的记录也一样:评委3比0通过的改动,上真机多绕了33次工具调用。

所以3.0的规矩是:读评只用来找毛病,保留还是回滚由实跑决定。

## 证据阶梯

每个结论都标明它到了哪一级,报告里不许把低一级说成高一级。

| 等级 | 做了什么 | 能支持的结论 |
|---|---|---|
| E0 体检 | 脚本读文件,不花token | 格式、路由、体积、引用、安全有没有硬伤 |
| E1 读评 | 独立评委按9维rubric读SKILL.md | 先改谁、可能的毛病在哪 |
| E2 实跑 | 独立agent真的照skill干活,盲评产出 | 这个skill有没有用、这次改动留不留 |
| E3 真机 | 在skill真正要操作的环境里跑一遍 | 可以交付 |

keep或revert至少要E2。操作真实系统的skill(填表、发布、控制设备)没到E3,报告里必须写「未在真实环境验证」。

## 三种用法

| 用户说 | 做什么 | 成本 |
|---|---|---|
| 「给所有skill体检」「看看哪些skill有问题」 | 只跑E0脚本,出排序表 | 约等于零 |
| 「评估这个skill」「给它打分」 | Phase 0到2,不改文件 | 每个skill约2D+2次子agent(D为开发集条数) |
| 「优化这个skill」「让它进化」 | Phase 0到5完整流程 | 评估成本+每轮约D+3次,验收另算 |

用户说「优化所有skill」时:先全量体检,再让用户从错误警告最多的、他最常用的里面挑要进化的。不要对几十个skill挨个实跑。

模型升级或skill长期没动之后,用户说「复测」:用已存的测试集重跑Phase 2,和results.tsv里上次的增益对比。基座模型变强后,skill的增益常常缩水甚至变负,这只有重跑才看得见。

## 评估Rubric(9维度,总分100)

rubric的用途是诊断和排序:总分决定先改谁,各维度得分指出毛病可能在哪。它不决定留不留。

### 结构维度(59分),E1读评

| # | 维度 | 权重 | 评分标准 |
|---|------|------|---------|
| 1 | Frontmatter质量 | 7 | name规范;description写清做什么和何时用、含触发词、≤1024字符、关键信息在前250字符;E0体检的路由类警告直接扣分 |
| 2 | 工作流清晰度 | 12 | 步骤可执行、有序号、每步有输入输出;同一情境不存在两条没分工的路径 |
| 3 | 失败模式编码 | 12 | 脆弱步骤写出「如果X失败→Y」的分支和兜底;只写正向流程扣≥3分 |
| 4 | 检查点设计 | 6 | 不可逆或对外的动作前有显性标记的用户确认(🔴/STOP/CHECKPOINT) |
| 5 | 可执行具体性 | 18 | 有具体参数、格式、示例;「可以考虑、视情况、灵活把握」这类软化措辞≥3处扣≥3分 |
| 6 | 资源整合度 | 4 | references、scripts、assets引用正确可达;E0体检的引用类警告直接扣分 |

### 效果维度(35分)

| # | 维度 | 权重 | 评分标准 |
|---|------|------|---------|
| 7 | 整体架构 | 12 | 层次清晰、不冗余;每段都是裸模型不知道的东西;正文≤500行,细节下沉references且只下沉一层 |
| 8 | 实测表现 | 23 | 由E2实跑结果按下面的规则换算,不由评委凭感觉给 |

### Meta-skill维度(6分)

| # | 维度 | 权重 | 评分标准 |
|---|------|------|---------|
| 9 | 反例与黑名单 | 6 | 真实踩过的坑和高风险动作有明文禁令 |

### 评分规则

- 维度1到7、9各打1到10分;总分 = Σ(维度分 × 权重) / 10。
- 必要性原则:维度3、4、9只在任务确实脆弱的地方要求。一个纯写作类skill没有不可逆动作,不因为缺检查点扣分;为凑分硬加的章节在维度7按冗余扣分。
- 增益的叫法以tally输出为准:胜多于负是「多数胜」,负多于胜是「多数负」,有胜有负且相等是「胜负相当」,全平是「多数平」。
- 维度8换算:有检查项时,分数 = 带skill的检查项通过数 ÷ 开发集检查项总数 × 10,四舍五入(通过数取tally的「检查项通过合计」里b那个数);再按增益封顶——多数负最高3分,多数平或胜负相当最高6分。没有检查项的主观类skill按增益给:全胜10,多数胜8,多数平或胜负相当5,多数负2。
- 没跑E2就没有维度8的分数,总分标注「缺实测,不可比」,不许用推演代替。
- 绝对总分跨评委有±8的噪音,只用于粗排,不用于判断一次改动的好坏。

## 进化流程

下文的`darwin.py`指`python3 <本SKILL.md所在目录>/scripts/darwin.py`,`W`指Phase 0建的工作目录。执行者、评委、触发测试的prompt和投票格式都在[references/eval-protocol.md](references/eval-protocol.md),派子agent前先读它,prompt照抄。

### Phase 0:准备

1. 确认范围和用法(体检、评估、进化、复测)。
2. 跑体检:`darwin.py check <skill目录或装着多个skill的上级目录>`。
3. 进化模式下:目标skill在git仓库里就建分支`auto-optimize/YYYYMMDD-HHMM`;不在仓库里,把整个skill目录复制一份带时间戳的备份。
4. 建工作目录W,放快照、产出、盲评材料。用runtime提供的临时目录或系统临时目录,不要建在任何skills目录下面:里面会有SKILL.md副本,有的runtime会把它扫成新skill。
5. 把目标skill整个目录复制到`W/s0/`作为原始版快照。复制时去掉`test-prompts.json`和`trigger-tests.json`:执行者能读到skill目录,测试的检查项不能让它看见。
6. 读本目录的results.tsv,看这个skill以前试过什么、哪些假设被回滚过,不重复失败过的改法。
7. 和用户确认不动区:身份层(角色定位、交付标准那几段)默认不动;用户定过的口味和措辞不动。评委建议删这些内容时,记录理由但不执行。

### Phase 1:测试集

测试集决定进化方向,是整个流程里最值得花时间的一步。存在目标skill目录的`test-prompts.json`,已有就复用并展示。

```json
[
  {"id": "dev-1", "split": "dev", "source": "real",
   "prompt": "用户会说的原话",
   "files": ["可选:测试要用到的输入文件"],
   "checks": ["产出里可以客观核对的事实,如:生成了output.csv且含date列"]}
]
```

- 至少4条:2条dev(开发集,用来找毛病)、2条holdout(留出集,只在Phase 4验收时跑一次)。
- 来源优先级:用户真实用过的请求或踩过的坑(real)>用户口述的典型场景(user)>读SKILL.md反推(doc)。全是doc来源时在报告里标明:用文档出题考文档,测不出文档没写到的缺口。
- 任务要让裸模型有可能做不好。裸模型一次就能做对的题,测不出skill的价值。
- checks写结果不写过程:「输出文件有N行」可以核对,「遵循了工作流」不行。主观类skill可以不写checks,全靠盲评。
- 操作真实系统的skill,至少一条测试带真实输入数据。问答式的「第三步该填什么」不算测试。

🔴 CHECKPOINT · 🛑 STOP:把测试集给用户看,确认后再往下走。

### Phase 2:基线实跑

1. 测试带输入文件时,先给每个执行者各复制一份到`W/in/<组>/<测试id>/`,不让两组共用同一份:一组原地改了文件,另一组读到的就不是原样。
   每条dev测试派两个互不相干的独立子agent:一个带skill(先完整读`W/s0/`里的SKILL.md再干活),一个裸跑(不给skill)。产出分别写进`W/runs/s0/<测试id>/`和`W/runs/x/<测试id>/`。不告诉执行者这是测试,不让它看到另一组的目录。
2. 生成盲评材料,派1位评委:
   ```bash
   darwin.py pair --a W/runs/x --b W/runs/s0 --out W/blind/lift --key W/keys/lift.json --judges 1 --redact W
   ```
   pair会随机A/B顺序,去掉执行记录,抹掉产出里带W的路径。评委只拿到`W/blind/lift/j1`这一个目录,把投票写成`W/votes/lift/j1.json`。
3. 计票:`darwin.py tally --key W/keys/lift.json --votes W/votes/lift`,得到带skill对裸跑的胜平负,这就是增益。
4. 另派一个独立评委做E1读评:按9维rubric给维度1到7、9打分;再读带skill那组的执行记录,找出agent在哪一步走错、哪句没照做、哪里绕了路。行为证据排在rubric印象前面。
5. 算总分,写results.tsv,展示评分卡:

```
┌─────────────────┬──────┬──────────────┬────────────┬──────────────────┐
│ Skill           │ 总分 │ 对裸跑增益   │ 检查项通过 │ 最大加权短板     │
├─────────────────┼──────┼──────────────┼────────────┼──────────────────┤
│ some-skill      │ 71   │ 1胜1平0负    │ 5/8        │ dim8 实测(9.2) │
└─────────────────┴──────┴──────────────┴────────────┴──────────────────┘
```

按增益分流:

| 增益 | 含义 | 下一步 |
|---|---|---|
| 多数负 | skill在帮倒忙 | 先做删减类改动;仍为负就建议停用 |
| 多数平 | 裸模型已经会了 | 告诉用户这些测试上看不出价值,由他决定:收窄到裸模型做不到的部分、瘦身,或到此为止 |
| 胜负相当 | 有的任务帮忙,有的任务添乱 | 读负的那几条的执行记录,先修添乱的部分 |
| 多数胜 | skill有用 | 从没通过的检查项和执行记录里找改进点 |

🔴 CHECKPOINT · 🛑 STOP:展示评分卡和分流建议,等用户确认。评估模式到此结束,直接出Phase 5的报告。

### Phase 3:进化循环

每个skill最多3轮,每轮只验证一个假设。

```
round = 0
while round < 3:
  round += 1

  # Step 1 诊断
  找加权短板最大的维度:weighted_gap = 权重 × (10 − 分数) / 10
  dim2、dim3、dim4是相关簇,一起看
  假设必须引用证据:「dev-2里agent没做X,因为SKILL.md第N行Y」
  没有执行证据支撑的假设不做

  # Step 2 选改法,按这个顺序考虑
  删:裸模型本来就会的解释、没人走到的分支、重复的话
  改:有歧义的指令、同一情境的两条路、放错位置的关键信息
  移:只在特定分支用到的细节,下沉到references/
  加:agent推断不出来的知识。只在有失败的检查项或执行记录指向它时才加
  只改description的假设不走下面的Step 4和Step 5:执行者是直接读SKILL.md的,产出看不出路由的好坏。
  它走触发测试裁决(eval-protocol.md「触发测试」):验证那一半请求上命中率升或误触率降、另一项不退 → keep,否则revert

  # Step 3 执行
  对照下面的反例黑名单
  编辑SKILL.md;新版体积超过旧版110%时,必须能指出它修掉了哪条失败的检查项
  git commit(message: "optimize {skill}: {假设摘要}")

  # Step 4 新版实跑
  把新版skill目录复制到 W/s{round}/(同样去掉测试文件),每条dev测试派一个独立子agent带它跑,产出写进 W/runs/s{round}/
  旧版产出不用重跑,复用上一个保留版本的目录

  # Step 5 盲评与裁决
  darwin.py pair --a W/runs/<上一保留版> --b W/runs/s{round} --out W/blind/r{round} --key W/keys/r{round}.json --judges 3 --redact W
  三位评委各读各的目录(j1、j2、j3),投票写进 W/votes/r{round}/
  其中一位额外拿到skill目录的路径,专门核对新写的命令、参数、文件是不是真的存在、真的能跑
  darwin.py tally --key W/keys/r{round}.json --votes W/votes/r{round} --old-skill <上一保留版SKILL.md> --new-skill <当前SKILL.md>

  裁决以tally输出为准:
    严格更好(胜>负,检查项没有倒退)→ keep
    打平且新版更短 → keep
    打平但没变短 → revert(没有证据的改动不保留)
    更差或检查项倒退 → revert
  tally提醒「只差一条且评委有分歧」→ 那几条两版各重跑一次,产出写进新目录(如 W/runs/s0-re、W/runs/s{round}-re),
    对这几条重新pair和评审(--tests 指定),用重跑的结果替换这几条原来的胜负,再按上面四条裁决
  tally报出事实性指控 → 先去验证;成立就以事实为准,不看票数

  revert用 git revert HEAD 生成反向提交,保留历史
  每轮结果写results.tsv,被回滚的假设也要记,供以后避开
  连续2轮revert,或连续2轮tally都报「多数只是略好」→ 停手,进Phase 4
  体积比的是SKILL.md本身(每次必读的部分),下沉到references的内容不计入
```

涨不动时(连续两个skill都在第1轮被回滚),可以提议一次探索性重写:从头重组结构,同样走Step 4和Step 5的实跑裁决。🔴 CHECKPOINT · 🛑 STOP:重写前必须征得用户同意。

### Phase 4:验收

所有轮次都被回滚、最终版等于原始版时,跳过第1步和第2步。

1. 留出集:用原始版(`W/s0/`)和最终版各跑一遍holdout测试,产出写进`W/runs/s0-holdout/`和`W/runs/sN-holdout/`;`darwin.py pair --a W/runs/s0-holdout --b W/runs/sN-holdout --out W/blind/holdout --key W/keys/holdout.json --judges 3 --redact W`,三位评委投票后`darwin.py tally --key W/keys/holdout.json --votes W/votes/holdout`(不传skill路径,只看胜平负)。结果是「多数负」,或tally报出检查项通过合计b小于a,说明改动只是迎合了开发集:把每轮的diff摆给用户,建议回滚到原始版。其余情况算通过。
2. 终版分数:派一位独立评委对最终版重做E1读

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

来自 GitHub

GitHub 星标
6,929
开发者
alchaincyf
许可证
MIT
最近代码更新
2026年11月15日
repo 中的 SKILL.md 文件(含译本和模板)
1
主题
agent-skills, ai-agents, autoresearch, claude-code, claude-code-skills, claude-skills, codex, evaluation, huashu-skills, llm, openclaw, prompt-optimization