reggiechan74/cc-plugins/swiss-cheese-validation
Claude Code and agent skill by reggiechan74/cc-plugins
- community
Checking that the SKILL.md file is still in the repository.
This skill should be used when the user asks to "verify critic independence", "check for overlapping failures", "validate swiss cheese model", "are the critics independent", "measure orthogonality", or needs to verify that multiple critic layers have misaligned failure modes as required by the swiss cheese model.
Install
npx vskill@latest install reggiechan74/cc-plugins/swiss-cheese-validationSKILL.md
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:
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):
Custom (user-configured):
Dynamic (context-based):
Validation Report
When Validation Fails
Active Monitoring
Run validation automatically after every 20 sessions:
Additional Resources
- `references/independence-verification.md` - Statistical methods for measuring orthogonality
- `references/failure-mode-analysis.md` - Common causes of critic overlap
- `examples/poor-independence.md` - Case study of overlapping critics and remediation
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcode-coherence/skills/swiss-cheese-validation/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/reggiechan74/cc-plugins/swiss-cheese-validation)