metago-delivery-gate

metago-delivery-gate is a skill for Claude Code, Codex from metago-ai/metagolifeform. It costs 81 tokens per session (1,549 once invoked), scanned A, original, MIT.

A delivery checklist for software work that links each requirement to code, tests, and proof that the result looks right. It includes screenshot comparison, where a new image is checked against a reference image.

In plain words
What is it for?
Use it to track requirements, write checks for web-page structure, compare screenshots, run verification scripts, and block completion until every check passes.
Why use it?
It prevents a coding agent from declaring a task complete when requirements, behaviour, or visual details are still missing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md; mentions Codex.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is → node scripts/init-delivery.cjs 生成 delivery.config.json + RTM 空表 + 目录骨架.

Good fit Use it to track requirements, write checks for web-page structure, compare screenshots, run verification scripts, and block completion until every check passes.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/metago-ai/metagolifeform
agentmods
npx agentmods add skills/metago-ai/metagolifeform/metago-delivery-gate

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for metago-delivery-gate

README.md
[![agentmods](https://agentmods.dev/badge/skills/metago-ai/metagolifeform/metago-delivery-gate/github.svg)](https://agentmods.dev/skills/metago-ai/metagolifeform/metago-delivery-gate)
Your own site
<a href="https://agentmods.dev/skills/metago-ai/metagolifeform/metago-delivery-gate"><img src="https://agentmods.dev/badge/skills/metago-ai/metagolifeform/metago-delivery-gate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for metago-delivery-gate

Your own site · 80×15
<a href="https://agentmods.dev/skills/metago-ai/metagolifeform/metago-delivery-gate"><img src="https://agentmods.dev/badge/skills/metago-ai/metagolifeform/metago-delivery-gate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,549 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00081 $0.01549
Opus 5 $0.00041 $0.00775
Sonnet 5 $0.00016 $0.00310
Haiku 4.5 $0.00008 $0.00155

Measured 12d ago against content hash 02df8d0432e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

metago-delivery-gate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (templates/form-assertions.spec.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/agent-plugins-1.0.0/skills/metago-delivery-gate/SKILL.md · 97 lines

How it starts

The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.

UDGK 通用交付门禁(metago-delivery-gate)

描述

把「文档/需求」翻译成「可判定的四重门禁」。任何 AI 接到任务时按同一套流程执行,从机制上杜绝「验证全绿但形态没做」。任何一项 FAIL 禁止宣告完成。

触发条件

用户说「按 UDGK 执行」、收到「任务完成」类指令、或任何代码交付请求时必须激活。本技能是 UDGK 套件的能力层,配合 AGENTS.md 规则(引导)、MCP 工具 delivery_gate_check(强制)、记忆注入(跨会话)、脚本套件(可执行)使用。

本套件包含 5 个可复用资产

资产 文件 作用
① RTM 模板 templates/requirements-traceability.md 需求逐条翻译成「要求→代码→断言→证据」映射表
② 形态断言模板 templates/form-assertions.spec.ts 把「长什么样」翻译成 DOM 断言
③ 视觉基线器 scripts/visual-regression.cjs 截图 + 像素 diff,量化「变了没有」
④ 通用门禁脚本 scripts/verify-delivery.cjs 一键扫描 RTM + 跑断言 + 跑 diff + 汇总报告
⑤ 使用手册 METHODOLOGY.md 教会 AI 和人类:怎么用这套件

脚本套件位于本包 scripts/udgk/(全局安装后为 ~/.trae-cn/scripts/ 或项目 scripts/udgk/)。

AI 使用流程(6 步,必须按序执行)

任何一步系统判定 FAIL,回到对应步骤修复,禁止「宣布完成但不做」。

1. init-delivery.cjs 初始化
   → node scripts/init-delivery.cjs  生成 delivery.config.json + RTM 空表 + 目录骨架
   (已初始化则跳过)

2. 逐字读需求文档 → 填满 RTM
   → 打开 docs/requirements.md 逐条拆解,填入 docs/rtm.md
   → 一条需求缺失 = 禁止往下

3. 实现 → 每条需求写形态断言
   → 按 RTM「代码位置」实现功能
   → 复制 templates/form-assertions.spec.ts 到 e2e/asserts/<feature>.spec.ts,
     每条需求写 DOM 断言(P0 阻断)

4. 截图基线 → 视觉 diff
   → node scripts/visual-regression.cjs --snapshot --urls=<页面>
   → node scripts/visual-regression.cjs --baseline   建立基线

5. verify-delivery.cjs → 出报告
   → node scripts/verify-delivery.cjs [--strict]
   → 四重门禁:RTM 完整性 / 形态断言 / 视觉 diff / 报告生成

6. 报告全绿 + 证据截图 → 才允许宣告完成
   → 报告 docs/delivery-report.md 全部 PASS + 视觉基线证据存在
   → 任一 FAIL → 回到步骤 2/3/4 修复 → 重跑步骤 5

四重门禁(任何一道不过 = 系统判定「未完成」)

门禁 判定 考查对象
门禁 1 RTM 完整性 表头四列齐备 + 无空要求 + 无空证据 「需求有没有逐条翻译」
门禁 2 形态断言 e2e/asserts/ 全部断言通过 「长什么样有没有做出来」
门禁 3 视觉 diff current/ 与 baseline/ 像素差 ≤ 阈值 「界面真的变了没有」
门禁 4 报告生成 delivery-report.md 全绿 「证据链是否完整」

每道门都是机器可判定、可一票否决的。考查的不是「我认不认为做完了」,而是「断言过没过、diff 差不差、RTM 有没有空」。

配置驱动(换项目只改配置不改代码)

所有脚本读 delivery.config.json:指定需求文档在哪、断言目录、截图目录、允许的 diff 阈值。换项目只需重新 init 或改 config。

Read the full file on GitHub · 97 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 97 lines · 81 tokens per session scan A 02df8d0432e5

Subscribe to this mod's changes

metago-delivery-gate is a skill published in the GitHub repository metago-ai/metagolifeform (4 stars, last pushed 11d ago), licensed MIT. It adds 81 tokens to every session and 1,549 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.