contamination-guard

contamination-guard is a skill for Claude Code, Codex from BingHanOfUESTC/open_agent_team. It costs 32 tokens per session (446 once invoked), scanned A, original, MIT.

A contamination-checking skill that looks for task-specific answers, entities, conclusions, examples, or rigid structures accidentally embedded in reusable instructions.

In plain words
What is it for?
Use it to audit a skill before allowing it to guide future agent work.
Why use it?
It helps keep skills general-purpose instead of making them overfit one task or reference answer.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to audit a skill before allowing it to guide future agent work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/binghanofuestc/open_agent_team/contamination-guard
Install

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.

Any agent
npx skills add BingHanOfUESTC/open_agent_team --skill contamination-guard
Clone the repo
git clone --depth 1 https://github.com/BingHanOfUESTC/open_agent_team

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 contamination-guard

README.md
[![agentmods](https://agentmods.dev/badge/skills/binghanofuestc/open_agent_team/contamination-guard/github.svg)](https://agentmods.dev/skills/binghanofuestc/open_agent_team/contamination-guard)
Your own site
<a href="https://agentmods.dev/skills/binghanofuestc/open_agent_team/contamination-guard"><img src="https://agentmods.dev/badge/skills/binghanofuestc/open_agent_team/contamination-guard/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 contamination-guard

Your own site · 80×15
<a href="https://agentmods.dev/skills/binghanofuestc/open_agent_team/contamination-guard"><img src="https://agentmods.dev/badge/skills/binghanofuestc/open_agent_team/contamination-guard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 446 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.00032 $0.00446
Opus 5 $0.00016 $0.00223
Sonnet 5 $0.00006 $0.00089
Haiku 4.5 $0.00003 $0.00045

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

Security

Grade A, and why

contamination-guard 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 8d 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.

teams/skills_evolving_team/skills/contamination-guard/SKILL.md · 77 lines

What it actually says

Contamination Guard

Skill 污染指:把本次任务的参考输出、样例答案、专属实体、专属结论或过拟合结构写进 skill,导致 skill 失去泛化能力。


1. 高风险污染

参考输出原文进入 skill
样例答案改写后进入 skill
本次任务专属实体进入 skill
本次任务专属结论进入 skill
skill 的模板字段和参考输出一一对应且无泛化理由
skill 名称绑定本次任务实体

高风险必须阻断。


2. 中风险过拟合

示例过于接近 Boss 样例
检查表只适用于本次任务
输出格式过度模仿参考输出
把评价标准写成固定答案结构

中风险必须改写成抽象方法。


3. 低风险措辞

局部词汇与 Boss 描述相近
泛化示例不够抽象
某些约束表达不够清楚

低风险可条件通过,但必须记录。


4. 隔离原则

Boss 期望输出:可用于 evaluation,不可进入 skill。
Boss 参考答案:可用于差距比对,不可进入 skill。
Boss 格式偏好:可抽象为输出约束,但不能复制样例内容。
Boss 禁区:可以进入 skill 的禁止内容和安全边界。

5. 审查输出

污染结论:通过 / 条件通过 / 不通过
高风险项
中风险项
低风险项
必须删除或改写项
允许保留项
是否允许执行
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. 8d ago First seen · 77 lines · 32 tokens per session scan A 152bcde43206

Subscribe to this mod's changes

contamination-guard is a skill published in the GitHub repository BingHanOfUESTC/open_agent_team (106 stars, last pushed 2mo ago), licensed MIT. It adds 32 tokens to every session and 446 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories