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 Rune-kit/rune --skill integrity-checkgit clone --depth 1 https://github.com/Rune-kit/runeWrote 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/rune-kit/rune/integrity-check)<a href="https://agentmods.dev/skills/rune-kit/rune/integrity-check"><img src="https://agentmods.dev/badge/skills/rune-kit/rune/integrity-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/rune-kit/rune/integrity-check"><img src="https://agentmods.dev/badge/skills/rune-kit/rune/integrity-check.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.00057 | $0.01706 |
| Opus 5.5 | $0.00023 | $0.00682 |
| Sonnet 5.5 | $0.00011 | $0.00341 |
| Haiku 4.5 | $0.00006 | $0.00171 |
Grade A, and why
integrity-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.
How it starts
The opening of the file, as written. The whole thing — 172 lines — stays where its author put it; the contents beside it link to each section on GitHub.
integrity-check
Purpose
Post-load and pre-merge validation that detects adversarial content in persisted state files, skill outputs, and context bus data. Complements hallucination-guard (which validates AI-generated code references) by focusing on the AGENT LAYER — prompt injection in .rune/ files, poisoned cook reports from worktree agents, and tampered context between skill invocations.
Based on "Agents of Chaos" (arXiv:2602.20021) threat model: agents that read persisted state are vulnerable to indirect prompt injection, memory poisoning, and identity spoofing.
Triggers
- Called by
sentinelduring Step 4.7 (Agentic Security Scan) - Called by
teambefore merging cook reports (Phase 3a) - Called by
session-bridgeon load mode (Step 1.5) /rune integrity— manual integrity scan of.rune/directory- Signal:
quarantine.notice.emitted(fromrune:quarantine) — bias toward stricter scanning of any state file that incorporated quarantined external content
Calls (outbound)
None — pure validation (read-only scanning).
Called By (inbound)
sentinel(L2): agentic security phase in commit pipelineteam(L1): verify cook report integrity before mergesession-bridge(L3): verify.rune/files on load (L3→L3 exception, documented — same pattern as hallucination-guard → research)
Execution
Step 1 — Detect scan targets
Determine what to scan based on caller context:
- If called by
sentinel: scan all.rune/*.mdfiles + any state files in the commit diff - If called by
team: scan the cook report text passed as input - If called by
session-bridge: scan all.rune/*.mdfiles - If called manually: scan all
.rune/*.mdfiles + project root for state files
Use Glob to find targets:
Glob pattern: .rune/*.md
If no .rune/ directory exists, report CLEAN — no state files found and exit.
Step 2 — Prompt injection scan
For each target file, use Grep to search for injection patterns:
# Zero-width characters (invisible text injection)
Grep pattern: [\u200B-\u200F\u2028-\u202F\uFEFF\u00AD]
Output mode: content
# Hidden instruction patterns
Grep pattern: (?i)(ignore previous|disregard above|new instructions|<SYSTEM>|<IMPORTANT>|you are now|forget everything|act as|pretend to be)
Output mode: content
# HTML comment injection (hidden from rendered markdown)
Grep pattern: <!--[\s\S]*?-->
Output mode: content
# Base64 encoded payloads (suspiciously long)
Grep pattern: [A-Za-z0-9+/=]{100,}
Output mode: content
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 · 172 lines · 57 tokens per session scan A 52bd4097321e
integrity-check is a skill published in the GitHub repository Rune-kit/rune (96 stars, last pushed 2d ago), licensed MIT. It adds 57 tokens to every session and 1,706 once invoked, about $0.0002 per session on Opus 5.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-11-22.
integrity-check compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| integrity-checkRune-kit/rune | Skill | 96 | 2d ago | MIT | A | 57 | Claude Code |
| tddsentimony/skills | Skill | 8 | today | MIT | A | 43 | Claude Code |
| using-agent-skillsvanja-emichi/a0_agent_skills | Skill | 6 | 3mo ago | MIT | A | 95 | Claude Code, Codex |
| binder-design-tool-selectionzongtingwei/Bioclaw_Skills_Hub | Skill | 27 | 7mo ago | MIT | A | 91 | Claude Code, Codex |
| end-to-end-protein-design-workflowzongtingwei/Bioclaw_Skills_Hub | Skill | 27 | 7mo ago | MIT | A | 98 | Claude Code, Codex |
| agent-orchestratorlingxling/awesome-skills-cn | Skill | 341 | 1mo ago | MIT | A | 41 | Claude Code |
| poc-spec-loopfabiandistler/agents | Skill | 2 | today | none | A | 55 | Claude Code, Codex |