Quarantine

From tonydzi/second-brain-starter-kit · View interactive version

Quarantine is an AI agent skill from the GitHub repository tonydzi/second-brain-starter-kit. List incoming deliverables held in quarantine: fixes, scripts and tasks that arrived over file sync from an unverified source or without a signature and are not applied until the owner decides. Fail-closed by design. Triggers: "/quarantine", "what is quarantined", or a deploy check reporting held it

How to use this skill

Skill file

/quarantine — what is being held at the door

An antechamber mechanism for incoming deliverables (layer 4 of the anti-injection defence). Deliverables in _deploy\PENDING-<host>.jsonl are no longer applied blindly: trusted source / valid signature → applied as before; everything else → here, into quarantine, and NOT applied until the owner decides.

Steps

  1. Collect the state + build the dashboard (0 tokens, nothing goes outbound):

```

python %USERPROFILE%\.claude\scripts\quarantine.py

```

Prints a summary and (re)builds $OBSIDIAN_VAULT/_Dashboards\Quarantine.html.

  1. Show the owner the dashboard — open _Dashboards\Quarantine.html (SendUserFile / browser). Sections: ⛔ quarantined (awaiting a decision) · ✅ trusted (will apply by themselves) · 🗑 discarded · 📦 applied. Per card: id, title, source (from), signature status, reason for the hold, the injection patterns found, and the apply command.
  1. If the quarantine is empty — say exactly that ("⛔ 0 — everything incoming came from trusted fleet sources"). That is the normal green case, not "it broke".
  1. For each held deliverable, explain in plain words (ELI5): where it came from, why it is held (unverified source? no signature? an injection pattern?), what apply will do. Let the owner decide.
  1. Decision (Tier-2 — only after the owner's explicit "+"):

```

python %USERPROFILE%\.claude\scripts\quarantine.py release <id> "who/why it is ok"

```

After that deploy_check will offer it for installation as an ordinary trusted item; apply it per the apply-deliverables-immediately rule (deploy_apply.py <id> after the install step).

```

python %USERPROFILE%\.claude\scripts\quarantine.py discard <id> "reason"

```

It disappears from the apply queue.

Boundaries (important)

The watchdog

The Quarantine-Watch task (periodic, 0 tokens) pings the approval channel by itself whenever a NEW held deliverable appears (quarantine_watch.py, deduped by id — one ping per deliverable). That way the quarantine is not just a display case; it has an owner of the action (alert-ownership-routing).

Relatives

Pitfalls

<!--kit-footer-->


Like this skill? It is part of second-brain-starter-kit: the second brain we built for ourselves and run every day at Palo Alto AI Research Lab. Install the whole set with npx skills add tonydzi/second-brain-starter-kit. Everything is open source and free, so take what you need.

Flagships worth a look on their own: secondop-panel (a second opinion from a panel of external models), claude-memory-tidy (stop your agent's memory from rotting), telegram-mcp-kit (your own Telegram over MCP in about 15 minutes).

Author: Anton Dziatkovskii, Palo Alto AI Research Lab. Telegram @tonydzi - WhatsApp +1 341 222 9178 - X @Tony_Stef_

Engineers: want to test-drive this setup? Message me. I hand out free starter seeds to engineers who test and report back, and custom skill requests are welcome.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.