Skip to content
Back to skills

deputy

ASecurity

Playbook for working with Deputy, a cheaper helper model (DeepSeek V4.1 Flash) exposed as MCP tools (consult, review, investigate, delegate). Use whenever the Deputy tools are available, to get second opinions before decisions, independent bug reviews after changes, and wide code searches, while you keep all judgment.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
ai-agentsrustgogitsecurity

Works with

  • claude code
  • cursor
  • mcp

Security analysis

A100/100

Pro scans all 19 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add alimohammadiamirhossein/deputy --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of deputy?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for deputy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/alimohammadiamirhossein-deputy/badge)](https://www.skillsdirectory.com/skills/alimohammadiamirhossein-deputy)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: deputy
description: Playbook for working with Deputy, a cheaper helper model (DeepSeek V4.1 Flash) exposed as MCP tools (consult, review, investigate, delegate). Use whenever the Deputy tools are available, to get second opinions before decisions, independent bug reviews after changes, and wide code searches, while you keep all judgment.
---

# Working with Deputy

You are the lead. Deputy is a cheaper, weaker model that you can call for extra perspectives and
extra eyes. Use it to be **more accurate**, never to skip your own judgment.

> Using the Claude Code plugin? You already have this as `/deputy:consult`, `/deputy:review`,
> `/deputy:investigate`, `/deputy:delegate` and `/deputy:ds`. Without the plugin, copy this file to
> `~/.claude/skills/deputy/SKILL.md`. In Cursor or Codex, `deputy setup cursor` or
> `deputy setup codex` installs an equivalent rule or skill.

If `status` shows the wrong workspace, pass `project_dir` (the project's absolute path) to the
tools. When the user asks what Deputy saved, call `stats` and report its numbers as rough
estimates.

## The mode decides who writes code

Call `status` once to see the mode.

| Mode | Who writes code | Deputy is used for |
|---|---|---|
| **accuracy** (default) | You, always | `consult` when unsure between approaches, `review` for risky or large changes, `investigate` for wide searches. `delegate` only if the user asks |
| **lean** | You for small, tricky or risky changes; Deputy for larger well-specified work | `investigate` instead of reading many files; `delegate` work big enough to pay off; `review` only risky or large changes |
| **balanced** | You, for anything with logic or risk | Also `delegate` for low-risk mechanical work (boilerplate, renames, formatting, test scaffolding) |
| **partner** | Deputy, for every low-level job; you for design and judgment | `investigate` and `delegate` for all legwork, `consult` for ideas; read every diff and check every idea |
| **savings** | Deputy, for well-specified work | `delegate` most coding; you plan, review and verify |

## The accuracy loop

1. **Understand** the task yourself. Read the code that matters.
2. **Consult** when you are unsure between approaches. Write your own conclusion first and pass it as `my_view`
   (Deputy does not see it). Ask with your plan and 2-3 `lenses`, for example "simplest approach",
   "edge cases and failure modes", "what could break existing behavior".
3. **Decide** yourself. Change your plan only if an idea survives your own check against the
   code, not because Deputy disagrees.
4. **Implement** the change yourself.
5. **Review** a risky or large change before you say it is done: tricky logic, security or
   untrusted input, data that can be lost, concurrency, money, or many files. Call `review` with
   `focus` = what the change should do. It reviews your uncommitted git diff with independent
   reviewers.
6. **Adjudicate** every finding: accept, dismiss with a reason, or defer. Run a finding's `REPRO`
   when it has one. Findings raised by more than one lens are more likely real. Fix what you
   confirm; tell the user briefly what you dismissed and why.

Skip steps 2 and 5 for routine changes whose tests pass. Each call makes the user wait, often a
minute or more.

## Using each tool well

- **consult**: a sharp question with your current plan and context (constraints, what you ruled
  out). Lenses run in parallel and do not see each other.
- **review**: by default reviews uncommitted changes against HEAD. Use `base` for a branch
  (for example "main"), `paths` to narrow it, and lenses such as "security and input handling" or
  "concurrency" when relevant.
- **investigate**: for questions that need wide reading. Treat answers as leads and read the cited
  lines yourself before acting.
- **delegate**: a full brief (goal, scope, constraints, a verify command) in `task`, facts in
  `context`. Then read every changed file, check `git diff` and run the tests. After two poor
  results, stop delegating.

## Rules

- Deputy's output is never proof. Verify against the code before relying on it.
- Never let Deputy's agreement stand in for evidence: it shares your framing.
- Do not run debates back and forth with Deputy; take its independent input once, then decide.
- Never put secrets in any argument: everything goes to the model provider.
- If the user says "do it yourself", do not use Deputy for that task.

Files in this skill

  • .claude-plugin/marketplace.json562 B
  • .claude-plugin/plugin.json2.6 KB
  • CHANGELOG.md8 KB
  • SKILL.md4.3 KB
  • bench/README.md4.7 KB
  • bench/delegate_eval.py5.6 KB
  • bench/review_eval.py19.1 KB
  • bench/run.py12.3 KB
  • docs/REFERENCE.md17.8 KB
  • glama.json106 B
  • llms.txt4.7 KB
  • pyproject.toml1.9 KB
  • server.json3.1 KB
  • tests/conftest.py2.7 KB
  • tests/test_agent.py5.2 KB
  • tests/test_cancel.py3.7 KB
  • tests/test_caps.py8 KB
  • tests/test_config.py2.9 KB
  • tests/test_providers.py5.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.