Borrowing it
Nothing to install: this file belongs to swarm-ai-research/swarm. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/swarm-ai-research/swarm/main/.skills/sanity-check/SKILL.mdgit clone --depth 1 https://github.com/swarm-ai-research/swarmWrote 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/swarm-ai-research/swarm/sanity-check)<a href="https://agentmods.dev/skills/swarm-ai-research/swarm/sanity-check"><img src="https://agentmods.dev/badge/skills/swarm-ai-research/swarm/sanity-check/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/swarm-ai-research/swarm/sanity-check"><img src="https://agentmods.dev/badge/skills/swarm-ai-research/swarm/sanity-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00035 | $0.00358 |
| Opus 5 | $0.00017 | $0.00179 |
| Sonnet 5 | $0.00007 | $0.00072 |
| Haiku 4.5 | $0.00003 | $0.00036 |
Grade A, and why
sanity-check 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.
What it actually says
EXECUTE NOW
Scenario: $ARGUMENTS
If no scenario provided, ask which scenario to check.
Step 1: Validate scenario file
- Check that the scenario file exists in
scenarios/ - Read and parse the YAML
- Report: agent types, governance config, topology, epoch/step counts
Step 2: Run short
python -m swarm run scenarios/$SCENARIO --seed 42 --epochs 5 --steps 5
Step 3: Check results
- Verify the run completed without exceptions
- Read the output summary
- Check metric sanity:
pvalues in [0, 1]- Welfare is finite and reasonable
- Toxicity rate is in [0, 1]
- Acceptance rate is in [0, 1]
- No NaN or Inf values
Step 4: Report
## Sanity Check: {scenario}
Status: GO / NO-GO
Runtime: {seconds}s
Metrics:
- Welfare: {value}
- Toxicity: {value}
- Acceptance rate: {value}
- Quality gap: {value}
{If NO-GO: describe the issue and suggest fix}
{If GO: ready for full sweep with --seeds N}
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.
- 8d ago First seen · 59 lines · 35 tokens per session scan A be9a93fc8e15
sanity-check is a skill published in the GitHub repository swarm-ai-research/swarm (42 stars, last pushed yesterday), licensed MIT. It adds 35 tokens to every session and 358 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.
Other skills, from other repositories
cmd_flutter_test
Run Flutter/Dart tests, report failures, and incrementally fix test issues. Covers unit, widget, golden, and integration tests.
bats-testing-patterns
Master Bash Automated Testing System (Bats) for comprehensive shell script testing. Use when writing tests for shell scripts, CI/CD pipelines, or requiring test-driven development of shell utilities.
csharp-testing
C# and .NET testing patterns with xUnit, FluentAssertions, mocking, integration tests, and test organization best practices.
verification-loop
A comprehensive verification system for Claude Code sessions.
rust-testing
Rust testing patterns including unit tests, integration tests, async testing, property-based testing, mocking, and coverage. Follows TDD methodology.
tdd-workflow
Use this skill when writing new features, fixing bugs, or refactoring code. Enforces test-driven development with 80%+ coverage including unit, integration, and E2E tests.