Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add metago-ai/metagolifeform --skill metago-output-integritygit clone --depth 1 https://github.com/metago-ai/metagolifeformWrote 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.
[](https://agentmods.dev/skills/metago-ai/metagolifeform/metago-output-integrity)<a href="https://agentmods.dev/skills/metago-ai/metagolifeform/metago-output-integrity"><img src="https://agentmods.dev/badge/skills/metago-ai/metagolifeform/metago-output-integrity/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.
<a href="https://agentmods.dev/skills/metago-ai/metagolifeform/metago-output-integrity"><img src="https://agentmods.dev/badge/skills/metago-ai/metagolifeform/metago-output-integrity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00061 | $0.01161 |
| Opus 5 | $0.00030 | $0.00580 |
| Sonnet 5 | $0.00012 | $0.00232 |
| Haiku 4.5 | $0.00006 | $0.00116 |
Grade A, and why
metago-output-integrity 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.
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.
What it actually says
输出完整性保障(Output Integrity)
此技能确保每次输出都完整、真实、可执行,杜绝引用占位符、幻觉输出、虚构API、伪造数据。
触发条件
- 输出涉及代码时强制触发
- 输出涉及API调用时强制触发
- 输出涉及数据引用时强制触发
- 输出涉及技术方案时强制触发
- 输出超过200字时自动触发
检测维度
1. 引用占位符检测
检测并拒绝以下占位符:
| 占位符类型 | 模式 | 处理 |
|---|---|---|
| 双花括号 | {{variable}} |
❌ 拒绝 |
| 方括号占位 | [placeholder] |
❌ 拒绝 |
| TODO标记 | TODO、FIXME |
❌ 拒绝 |
| 省略号占位 | ...(代码中) |
❌ 拒绝 |
| 注释占位 | // 此处省略 |
❌ 拒绝 |
| 伪调用 | someFunction() |
❌ 拒绝 |
规则:输出中的所有代码必须完整可执行,不得有任何占位符。
2. 幻觉检测
检测以下幻觉类型:
| 幻觉类型 | 表现 | 检测方法 |
|---|---|---|
| 虚构API | 不存在的API端点 | 与已知API清单比对 |
| 虚构函数 | 不存在的库函数 | 与官方文档比对 |
| 伪造数据 | 编造的统计数据 | 要求提供数据源 |
| 虚构引用 | 不存在的论文/文献 | 可溯源性检查 |
| 虚构配置 | 不存在的配置项 | 与配置规范比对 |
3. 引用完整性
- 所有引用必须可溯源
- 所有数据必须有来源
- 所有事实必须有依据
- 所有结论必须有论证
4. 代码完整性
- 代码必须完整可执行
- 不得省略关键部分
- 所有导入必须真实存在
- 所有函数调用必须匹配签名
开发者专属豁免
在以下场景中,允许使用占位符(但必须明确标注):
- 架构设计文档中的示意代码
- 概念验证(POC)中的伪代码
- 教学示例中的简化代码
豁免规则:必须在使用占位符处明确标注 // 示意代码,非可执行 或类似声明。
执行流程
步骤1: 扫描输出内容
→ 检测占位符模式
→ 检测幻觉特征
步骤2: 分类处理
→ 占位符 → 拒绝或要求补全
→ 幻觉 → 拒绝并重新生成
→ 引用不完整 → 要求提供来源
步骤3: 完整性判定
→ 全部通过 → 允许输出
→ 存在问题 → 拒绝输出,触发重新生成
步骤4: 附加完整性标签
→ 输出末尾附加完整性确认
输出格式
输出末尾附加:
【输出完整性确认】
占位符检测:✅ 无占位符
幻觉检测:✅ 无幻觉
引用完整性:✅ 全部可溯源
代码完整性:✅ 完整可执行
完整性判定:✅ 通过
若检测到问题:
【输出完整性确认】
占位符检测:❌ 检测到2处占位符
- 第15行:{{username}}
- 第28行:[API_KEY]
幻觉检测:✅ 无幻觉
完整性判定:❌ 拒绝输出,触发重新生成
与其他技能的协同
- 与
metago-decision-lock协同:作为决策锁关卡4的实现 - 与
metago-fact-check协同:幻觉检测与事实核查联动 - 与
metago-self-check协同:作为self-check的核心维度 - 与
metago-data-provenance协同:引用完整性与数据溯源联动
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.
- 12d ago First seen · 131 lines · 61 tokens per session scan A 0e42cbfd163b
metago-output-integrity is a skill published in the GitHub repository metago-ai/metagolifeform (4 stars, last pushed 10d ago), licensed MIT. It adds 61 tokens to every session and 1,161 once invoked, about $0.0003 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.
Other skills, from other repositories
vue-best-practices
A review checklist for Vue 2 and Vue 3 components, covering component names, prop declarations, TypeScript casts, API styles and complex template expressions.
plugin-quality
A review guide for checking Zhin.js plugins before release. It covers plugin structure, feature declarations, resource cleanup, message sending, and security.
rust-review
A Rust code-review skill for services, checking for crashes, unsafe SQL construction, exposed credentials, ignored errors, and unfinished code.
github-pr-comment
Post one exact GitHub pull-request comment through local gh, any compatible hosted connector, or the explicit human-gated MCP composition, with retry safety and independent readback.
review-skill
Inspect, safely test, and assess one Runx skill package for capability, trust, and operator readiness. Use when deciding whether to adopt, improve, reject, install, or publish a skill; its evidence-only assess runner is available when native test evidence already exists.
security-review
A code-review check for three security problems: SQL injection, cross-site scripting (XSS), and secrets such as passwords or API keys stored in source code.