Skip to content
Agentmart
Submit a tool

warden

Inspect and control the Warden content gate.

Skill by onlooker-community

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/onlooker-community-warden

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Inspect and control the Warden content gate. Shows whether the session's content gate is open or closed and the threat that closed it (`/warden` or `/warden status`), and explicitly clears a closed gate to re-enable Write/Edit/Bash (`/warden clear`). Clearing is the only sanctioned way to reopen the gate — it records a user override in the warden.* event stream. Use when Warden has blocked a write/edit/bash operation, or when the user asks to check or clear the content gate.

Use cases: security, writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/warden

What's inside

Skill name
warden
Description
Inspect and control the Warden content gate. Shows whether the session's content gate is open or closed and the threat that closed it (`/warden` or `/warden status`), and explicitly clears a closed gate to re-enable Write/Edit/Bash (`/warden clear`). Clearing is the only sanctioned way to reopen the gate — it records a user override in the warden.* event stream. Use when Warden has blocked a write/edit/bash operation, or when the user asks to check or clear the content gate.
License
MIT
Instructions
46 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Warden: Content Gate Control

You are operating the **Warden** content gate — the user-facing control surface for the gate that Warden's hooks open and close automatically.

Warden enforces Meta's **Agents Rule of Two**: an agent should hold at most two of {access to private data, ability to take external actions, processing of untrusted content}. When Warden's detection hook finds an injection pattern in content ingested via WebFetch or Read, it closes a session-scoped gate that revokes the *external actions* property — blocking Write, Edit, MultiEdit, and Bash until the user explicitly clears it. This skill is that explicit clear (and a status readout).

## Parse the request

Read the user's argument after `/warden`:

- no argument, or `status` → **status** action
- `clear`, `reopen`, `override`, `unblock` → **clear** action

If the user passed a session id explicitly (rare), capture it as the optional second argument.

## Run the control surface

Source the plugin helpers and invoke `warden_cli`. Run this in a single bash call:

```bash
set -uo pipefail
source "$CLAUDE_PLUGIN_ROOT/scripts/lib/warden-config.sh"
source "$CLAUDE_PLUGIN_ROOT/scripts/lib/warden-events.sh"
source "$CLAUDE_PLUGIN_ROOT/scripts/lib/warden-gate-state.sh"
source "$CLAUDE_PLUGIN_ROOT/scripts/lib/warden-cli.sh"

# action is "status" or "clear"; SESSION_ID_ARG is optional and usually empty.
warden_cli "<action>" "${SESSION_ID_ARG:-}"
```

`warden_cli` resolves the session automatically: it prefers `$CLAUDE_SESSION_ID`, falls back to the single closed gate if exactly one exists, and reports ambiguity if several sessions have closed gates (re-run with an explicit session id in that case).

## Behavior

- **status** — prints whether the gate is OPEN or CLOSED. When closed, prints the recorded threat: `threat_type`, `source_type`, source URL/path, confidence, detection method, matched pattern, and the flagged snippet (if storage is enabled).
- **clear** — verifies the gate is closed, removes the lock, and emits `warden.threat.cleared` with `cleared_by: user_override`. This re-enables Write/Edit/Bash for the session.

## After clearing

When you clear the gate on the user's behalf:

1. Confirm the gate is reopened and name the source that triggered it.
2. Remind the user briefly that the flagged content is still in the conversation context — clearing the gate does not remove it. If they have not reviewed the source, suggest they do before continuing with external actions.
3. Do not clear a gate the user has not asked you to clear. Closing is automatic; clearing is always a deliberate user decision.

From onlooker-community/ecosystem, MIT.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Jun 2, 2026 (4 months ago)
Last release
Oct 24, 2026 (5 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from onlooker-community

Cite this page

warden skill. Agent Mart. https://agentmart.dev/skills/onlooker-community-warden (last updated 2026-10-24)