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 reggiechan74/cc-plugins --skill swiss-cheese-validationgit clone --depth 1 https://github.com/reggiechan74/cc-pluginsWrote 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/reggiechan74/cc-plugins/swiss-cheese-validation)<a href="https://agentmods.dev/skills/reggiechan74/cc-plugins/swiss-cheese-validation"><img src="https://agentmods.dev/badge/skills/reggiechan74/cc-plugins/swiss-cheese-validation.svg" alt="Measured on agentmods" 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.00064 | $0.01041 |
| Opus 5 | $0.00032 | $0.00521 |
| Sonnet 5 | $0.00013 | $0.00208 |
| Haiku 4.5 | $0.00006 | $0.00104 |
Grade A, and why
Swiss Cheese Validation 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 7d 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.
How it starts
The opening of the file, as written. The whole thing — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Swiss Cheese Validation: Verify Critic Independence
Purpose
Verify that multiple critic layers have orthogonal failure modes, ensuring the Swiss cheese model is working correctly. Measure overlap in critic rejections and warn if critics catch the same errors.
Theory
The Swiss cheese model achieves reliability through misaligned holes:
- Each critic has failure modes (errors it misses)
- Holes don't align across critics
- Errors caught by different critics don't overlap significantly
Target: Independence score > 0.85 (less than 15% overlap)
Validation Process
Measure Overlap
Analyze rejection patterns across sessions:
code_rejections = sessions_where_code_critic_vetoed
security_rejections = sessions_where_security_critic_vetoed
overlap = code_rejections ∩ security_rejections
union = code_rejections ∪ security_rejections
independence_score = 1 - (|overlap| / |union|)
Interpretation:
- Score > 0.90: Excellent independence (orthogonal)
- Score 0.80-0.90: Good independence (acceptable)
- Score < 0.80: Poor independence (critics overlapping)
Expected Results
From research paper (522 sessions):
| Critic Pair | Overlap | Independence |
|---|---|---|
| Code vs Security | 2.3% | 0.977 ✓ |
| Code vs Domain | 3.1% | 0.969 ✓ |
| Security vs Domain | 0.8% | 0.992 ✓ |
Warning Indicators
High overlap detected when:
- Same sessions rejected by multiple critics
- Similar rejection reasons across critics
- Independence score < 0.80
Causes:
- Critics using same model/provider (cognitive monoculture)
- Similar training data
- Overlapping validation logic
Solutions:
- Use different model providers per critic
- Adjust critic specializations
- Review critic prompts for duplication
Configuration
Layer Definition
Default (hardcoded):
layers:
- code-critic
- security-critic
- domain-critic
Custom (user-configured):
layers:
- code-critic
- security-critic
- financial-critic
- performance-critic
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.
- 7d ago First seen · 161 lines · 64 tokens per session scan A fc46fb78f5be
Swiss Cheese Validation is a skill published in the GitHub repository reggiechan74/cc-plugins (7 stars, last pushed 3mo ago), licensed MIT. It adds 64 tokens to every session and 1,041 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
research-engineer
An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.
tika-eval-compare
Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".
neuron-evaluation-engineer
Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…
jetson-validate-image
Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.
atmos-validation
Validate Atmos projects, components, arbitrary JSON Schema inputs, EditorConfig, and GitHub Actions; use affected-file selection and native CI annotations.
skill-benchmark
Benchmark AI skill effectiveness by measuring implementation quality against legacy constraints.