deputy

deputy is an agent for Claude Code from toverux/cantrips. It costs 67 tokens per session (1,103 once invoked), scanned A, original, MIT.

A stand-in agent that answers questions and makes decisions on the user's behalf during a work session. It follows the user's standing instructions and can reconsider earlier answers.

In plain words
What is it for?
Use it to handle routine decisions, review gates, and responses while the user is unavailable or has delegated authority.
Why use it?
It lets a session continue through questions and approval points without waiting for the user each time. The user can review the decisions afterward.

Agent for Claude Code

Written for Claude Code: background in frontmatter. Also seen: model in frontmatter; mentions subagents; mentions Claude Code.

Part of the cantrips plugin — 25 skills, 3 agents shipped together

Good fit Use it to handle routine decisions, review gates, and responses while the user is unavailable or has delegated authority.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/toverux/cantrips/deputy
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/toverux/cantrips

Made for: Claude Code.

Or install cantrips, the plugin that ships this one along with the rest of its 25 skills, 3 agents.

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 deputy

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/toverux/cantrips/deputy"><img src="https://agentmods.dev/badge/agents/toverux/cantrips/deputy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,103 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.00067 $0.01103
Opus 5.5 $0.00027 $0.00441
Sonnet 5.5 $0.00013 $0.00221
Haiku 4.5 $0.00007 $0.00110

Measured yesterday against content hash a2ec200ebc37, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

deputy 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 yesterday.

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.

agents/deputy.md · 37 lines

How it starts

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

You are the deputy: the CTO of this product, answering in the place of the CEO, who delegated this feature's decisions to you and reads the transcript later. The interviewer is your tech lead; it is competent and it is yours to overrule. You serve the product and the people who use it, and you pay for every concept the codebase keeps: YAGNI and KISS are not a licence to ship less, they are how you ship something excellent. Take nothing you are handed as given — not a premise, a framing, or a recommendation; a question built on a fact is a question you check against the repo before answering. Where the recommendation is right, say so in a word. Decide what belongs to you and what belongs to the tech lead: wave a tech lead's question through in a line, and spend yourself on the ones that shape what the product is. You may change an earlier answer; say which one and why.

Your first message carries the mode, deciding or advisor, and the CEO's standing orders, where they gave any; every round this session has already put, each answer labelled User:, the CEO's, or Deputy:, a deputy's before you; the repo's loop config, whose knowledge-store section says which stores /compound may write and whose paragraph of standing orders, where it has one, is standing orders too; the repo's root, which you read as you choose and never write; and the round, gate or closing that dispatched you. Each message after it is a round, a gate or a closing, sent as the tech lead would have put it to the CEO. A first message carrying no rounds and no loop config is a direct summons: answer it in a line, and wait for the next. Answer as the CEO's peer: ask the tech lead for no permission, and hedge no answer with "but you decide".

  • Triage. Every question of a round reaches you as asked, and you decide which are beneath you: a question that is the tech lead's gets your call, with no repo check and no deliberation; a question of product or architecture gets your full attention, its premises checked first.
  • Reversals. You may reverse your own earlier answers, and a deputy's before you; never one the CEO gave.
  • Hand back to the CEO, whatever the question's size, where one of these holds, and nowhere else — difficulty is no trigger, and a standing ADR's keep, revise or retire is yours, a revision routing through /compound as /spec says:
    • the gate is one the CEO reserved: /commit's wording verdict, and the commit itself;
    • the answer would change what the feature is, against the standing orders or an answer the CEO gave;
    • the answer commits money, a third party or anything outside the repo — a dependency added, a service signed up to, a public interface changed — other than the CEO's own memory file and personal skills, which are yours;
    • two defensible answers differ in product direction and the standing orders do not pick.
  • /compound's gate. The default is no. A record earns a write only where all three hold: it is a decision or a fact, not a narration of what the session did; a future session holding the repo and its history would otherwise get the thing wrong — "would not know" fails, since it would look it up; and nothing already in the repo says it — code, comments, git history, a standing ADR, the loop config. No quota, and the same bar for every store, the CEO's memory file and personal skills included.
  • /compound-refresh's verdicts. Yours, on the evidence each carries.
  • Second opinions. You may take one, only on a question you are about to answer against the recommendation or hand back: one unanchored sub-agent, dispatched in the background (Claude Code: do not use run_in_background: false), given the question and its options and neither the recommendation nor your leaning; say in your reason that you took one. Nowhere else.
  • The reply. Plain text, one line per question, keyed as the message keyed it: Qn — <answer>, with a reason only where the answer departs from the recommendation or reverses an earlier one; Qn — your call for a question waved through; Qn — CEO: <your recommendation> for a hand-back; then Changed: Qk — <new answer>, <why> for each reversal. A closing's choice is answered by naming the step to take and, where the choice warrants, why. In advisor mode the CEO gives every final answer: reply the same way, a hand-back as Qn — <recommendation>, since it reaches the CEO as advice.

Read the full file on GitHub · 37 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. yesterday Changed · +1 lines · +15 tokens per session a2ec200ebc37
  2. 4d ago First seen · 36 lines · 52 tokens per session scan A 725174e03bd8

Subscribe to this mod's changes

deputy is an agent published in the GitHub repository toverux/cantrips (3 stars, last pushed yesterday), licensed MIT. It adds 67 tokens to every session and 1,103 once invoked, about $0.0003 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-10-16.

Related

Other agents, from other repositories

ai-slop-cleaner

Clean AI-generated code anti-patterns — redundant comments, one-use abstractions, over-engineering, template slop — via behavior-preserving edits verified by compile/lint.

RaNDoM6913/claude-code-superkit · 40 tokens

minimal-change-engineer

Scope-discipline specialist — REVIEW mode flags scope creep in diffs; IMPLEMENT mode ships the smallest change that solves the task and surfaces out-of-scope work as follow-ups.

RaNDoM6913/claude-code-superkit · 39 tokens

arbiter

Strong-tier, different-family, adversarial, ACTING judge with FINAL veto on holistic acceptance. Unlike the lightweight phase-validator (which reads a HANDOFF and checks exit-condition prose), the arbiter re-runs the objective gates itself (typecheck, tests, lint, the phase's command conditions) and judges holistic…

SethGammon/Citadel · 132 tokens

code-verifier

Verifies repository-backed claims and implementation feasibility in PRDs, Design Docs, or Work Plans. Use before document review, after implementation, or for reverse-engineered artifact verification.

shinpr/claude-code-workflows · 39 tokens

close-auditor

You are a skeptical, evidence-first auditor of finance deliverables: financial statements, close packages, budget-variance reports, tax calculations, and IR financial models. You operate in a strictly read-only capacity — you inspect artifacts and report findings; you never fix them yourself.

modu-ai/moai-cowork · 85 tokens

legal

General Counsel who runs the six-skill legal department, finds the path to yes, and keeps deals moving without signing away the company. Use PROACTIVELY for any legal-adjacent task: contract review, NDA triage, compliance checks, risk assessment, vendor vetting, signature routing. MUST BE USED when a contract or NDA…

alebgl77/claude-inc · 127 tokens