quarantine

quarantine is a skill for Claude Code from Rune-kit/rune. It costs 104 tokens per session (2,258 once invoked), scanned A, original, MIT.

A safety wrapper for data received from external tools, web pages, and uploaded files. It adds a note telling the coding agent to treat that content as data rather than as instructions.

In plain words
What is it for?
Use it when importing support tickets, fetched web pages, MCP results, or uploaded files. It marks those tool results for caution on the next turn.
Why use it?
External content can contain text that tries to make the agent run commands or follow unwanted instructions. The note encourages safer handling, but does not block or remove the original content.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Part of the rune plugin — 66 skills, 1 command, 66 agents, 6 hooks shipped together

Good fit Use it when importing support tickets, fetched web pages, MCP results, or uploaded files. It marks those tool results for caution on the next turn.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rune-kit/rune/quarantine
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 Rune-kit/rune --skill quarantine
Clone the repo
git clone --depth 1 https://github.com/Rune-kit/rune

Made for: Claude Code.

Or install rune, the plugin that ships this one along with the rest of its 66 skills, 1 command, 66 agents, 6 hooks.

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 quarantine

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rune-kit/rune/quarantine"><img src="https://agentmods.dev/badge/skills/rune-kit/rune/quarantine.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,258 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.00104 $0.02258
Opus 5.5 $0.00042 $0.00903
Sonnet 5.5 $0.00021 $0.00452
Haiku 4.5 $0.00010 $0.00226

Measured 8d ago against content hash 71d7ff80743c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

quarantine 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.

skills/quarantine/SKILL.md · 174 lines

How it starts

The opening of the file, as written. The whole thing — 174 lines — stays where its author put it; the contents beside it link to each section on GitHub.

quarantine

Purpose

Read-path twin of integrity-check. Where integrity-check validates persisted state files for adversarial content, quarantine wraps incoming external data with an advisory the next turn's context can see. The runtime mechanism is a single PostToolUse hook (Free/hooks/quarantine/index.cjs) on matcher mcp__.*|WebFetch|Read. The hook is Node-only — no LLM call, no MCP fanout, no shell out to claude.

The advisory does not block the tool call. It cannot — by the time PostToolUse fires, the model has already ingested the raw tool_response body. What the hook DOES is land a [QUARANTINE-NOTICE: tool_name=... untrusted_surface=true] line in the next turn's additionalContext, reminding the model the prior output was data, not instructions to follow, links to fetch, or commands to run.

This is forcing-function discipline, not structural defense. Document this honestly so operators don't over-trust the marker.

Triggers

  • Auto-trigger: PostToolUse on mcp__.* / WebFetch / Read of **/uploads/**
  • Auto-installed by rune hooks install --preset gentle (or --preset strict)
  • /rune quarantine status — manual report on quarantine activity (telemetry summary)
  • Listen: external.content.received — emitted by skills that ingest external data through non-tool paths

Calls (outbound)

None. Pure advisory hook — no skill fanout. Privacy invariant: telemetry persists only tool_name + decision + session_id, never the raw payload.

Called By (inbound)

  • sentinel (L2): listens quarantine.notice.emitted to escalate when the same session quarantines the same untrusted MCP namespace ≥ 5× (suggests prompt-injection attempt)
  • integrity-check (L3): listens quarantine.notice.emitted to bias toward stricter scanning of any state file that incorporated quarantined content
  • Auto-installed via Free/hooks/hooks.json (Claude Code native plugin path) and Free/compiler/commands/hooks/presets.js (cross-platform rune hooks install path)

Read the full file on GitHub · 174 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 174 lines · 104 tokens per session scan A 71d7ff80743c

Subscribe to this mod's changes

quarantine is a skill published in the GitHub repository Rune-kit/rune (96 stars, last pushed 2d ago), licensed MIT. It adds 104 tokens to every session and 2,258 once invoked, about $0.0004 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.

Related

quarantine compared with skills from other repositories

quarantine next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
quarantineRune-kit/runeSkill962d agoMITA104Claude Code
tddsentimony/skillsSkill8todayMITA43Claude Code
using-agent-skillsvanja-emichi/a0_agent_skillsSkill63mo agoMITA95Claude Code, Codex
binder-design-tool-selectionzongtingwei/Bioclaw_Skills_HubSkill277mo agoMITA91Claude Code, Codex
end-to-end-protein-design-workflowzongtingwei/Bioclaw_Skills_HubSkill277mo agoMITA98Claude Code, Codex
agent-orchestratorlingxling/awesome-skills-cnSkill3411mo agoMITA41Claude Code
poc-spec-loopfabiandistler/agentsSkill2todaynoneA55Claude Code, Codex