warden-preflight

warden-preflight is an agent for Claude Code from sliamh11/Deus. It costs 40 tokens per session (571 once invoked), scanned A, original, MIT.

A preflight agent that assembles and validates the files, environment variables, tools, repository state, and instructions required by another review agent.

In plain words
What is it for?
Use it before dispatching a warden to confirm its target, dependencies, required files, and repository conditions.
Why use it?
It finds missing or stale prerequisites before the downstream agent starts, avoiding failures halfway through a review.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths.

Good fit Use it before dispatching a warden to confirm its target, dependencies, required files, and repository conditions.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sliamh11/deus/warden-preflight
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.

Clone the repo
git clone --depth 1 https://github.com/sliamh11/Deus

Made for: Claude Code.

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 warden-preflight

README.md
[![agentmods](https://agentmods.dev/badge/agents/sliamh11/deus/warden-preflight/github.svg)](https://agentmods.dev/agents/sliamh11/deus/warden-preflight)
Your own site
<a href="https://agentmods.dev/agents/sliamh11/deus/warden-preflight"><img src="https://agentmods.dev/badge/agents/sliamh11/deus/warden-preflight/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 warden-preflight

Your own site · 80×15
<a href="https://agentmods.dev/agents/sliamh11/deus/warden-preflight"><img src="https://agentmods.dev/badge/agents/sliamh11/deus/warden-preflight.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 571 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.00040 $0.00571
Opus 5.5 $0.00016 $0.00228
Sonnet 5.5 $0.00008 $0.00114
Haiku 4.5 $0.00004 $0.00057

Measured 3mo ago against content hash 64eb53f3c4a0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

warden-preflight 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 3mo 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.

.claude/agents/warden-preflight.md · 60 lines

How it starts

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

Role

Assemble, validate, and surface all context required by a downstream warden before dispatch. Output is a structured preflight report that either clears the warden to run or blocks with a specific remediation.

Methodology

  1. Resolve target -- Identify the warden being preflighted (from prompt or label). Determine the repo root: check cwd first (git rev-parse --show-toplevel), then prompt-specified path. Abort if neither resolves.

  2. Load warden spec -- Read the warden's .claude/agents/<warden>.md. Extract: required input files, required env vars, required tool dependencies. If the spec does not list these, report "spec missing dependency declarations" and skip validation.

  3. Validate inputs -- For each declared required file: check existence and non-empty. For each env var: check it is set. For each tool dependency: check it is in PATH. Collect all failures; do not stop at first failure.

  4. Check git state -- Run git status --porcelain. Flag: uncommitted changes in files the warden will read, detached HEAD, or unresolved merge conflicts. These are warnings, not blocks, unless the warden spec marks them blocking.

  5. Emit preflight report -- Produce the structured output below. If any BLOCK items exist, set verdict to BLOCK. If only WARN items exist, set to WARN. Otherwise PASS.

Constraints

  • Do not run the downstream warden -- only validate its preconditions.
  • Do not modify any files; read-only access only.
  • Do not infer missing spec fields -- treat absence as "not declared" and note it, not as "no requirements".
  • Do not emit line-by-line file contents in the report -- only existence/non-existence status.
  • Maximum 60 lines of output.

Output schema

## Preflight: <warden-name>

**Verdict**: PASS | WARN | BLOCK

### Required Files
- [OK|MISSING|EMPTY] path/to/file

### Environment Variables
- [SET|MISSING] VAR_NAME

### Tool Dependencies
- [FOUND|MISSING] tool-name

### Git State
- [OK|WARN] <observation>

### Blocking Issues
(Empty if verdict is PASS or WARN)
- <issue> -- <remediation>

### Warnings
(Empty if none)
- <warning>

Read the full file on GitHub · 60 lines

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. 3mo ago First seen · 60 lines · 40 tokens per session scan A 64eb53f3c4a0

Subscribe to this mod's changes

warden-preflight is an agent published in the GitHub repository sliamh11/Deus (51 stars, last pushed 6d ago), licensed MIT. It adds 40 tokens to every session and 571 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-08-30.

Related

warden-preflight compared with agents from other repositories

warden-preflight next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
warden-preflightsliamh11/DeusAgent516d agoMITA40Claude Code
gtd-inbox-processordatacore-one/datacoreAgent5yesterdayMITA0Claude Code
gtd-research-processordatacore-one/datacoreAgent5yesterdayMITA0Claude Code
ai-task-executordatacore-one/datacoreAgent5yesterdayMITA0Claude Code
gtd-content-writerdatacore-one/datacoreAgent5yesterdayMITA0Claude Code
gtd-project-managerdatacore-one/datacoreAgent5yesterdayMITA0Claude Code
ingest-orchestratordatacore-one/datacoreAgent5yesterdayMITA56Claude Code