drexler

drexler is a command for Claude Code from bondarewicz/dreamteam. It costs 16 tokens per session (637 once invoked), scanned B, original, MIT.

A command that reviews software work for duplication, unnecessary complexity, and future maintenance cost.

In plain words
What is it for?
Use it during implementation or review to control scope, detect repeated work, and identify likely maintenance debt.
Why use it?
It helps catch code that could be removed or reused before it expands the project unnecessarily.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths; mentions subagents; mentions Codex.

Good fit Use it during implementation or review to control scope, detect repeated work, and identify likely maintenance debt.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/bondarewicz/dreamteam/drexler
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/bondarewicz/dreamteam

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 drexler

README.md
[![agentmods](https://agentmods.dev/badge/commands/bondarewicz/dreamteam/drexler.svg)](https://agentmods.dev/commands/bondarewicz/dreamteam/drexler)
Your own site
<a href="https://agentmods.dev/commands/bondarewicz/dreamteam/drexler"><img src="https://agentmods.dev/badge/commands/bondarewicz/dreamteam/drexler.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 637 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00016 $0.00637
Opus 5 $0.00008 $0.00318
Sonnet 5 $0.00003 $0.00127
Haiku 4.5 $0.00002 $0.00064

Measured 7d ago against content hash a2869752db65, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade B, and why

drexler scanned grade B with 1 finding 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 7d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

DT="$(cat ~/.claude/dreamteam/repo-root 2>/dev/null)"; [ -d "$DT" ] || DT="$(git rev-parse --show-toplevel 2>/dev/null)"
commands/drexler.md · 52 lines

How it starts

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

Provider routing — DO THIS FIRST

This agent may be pinned to a non-Claude provider (see model.provider / /admin/models). Resolve it and route accordingly:

DT="$(cat ~/.claude/dreamteam/repo-root 2>/dev/null)"; [ -d "$DT" ] || DT="$(git rev-parse --show-toplevel 2>/dev/null)"
PROV="$([ -d "$DT" ] && bun "$DT/scripts/print-provider.ts" drexler 2>/dev/null || echo claude)"; echo "drexler → $PROV"
  • $PROV = claude (or unresolved) → spawn the drexler subagent via the Task tool (subagent_type="drexler") with the mission below. Native, on Max. (unchanged behavior)
  • $PROV = ollama | codex → do NOT use Task. Delegate the turn to that provider's own CLI on its subscription:
    BRIEF="$(mktemp)"; cat > "$BRIEF" <<'BRIEF_EOF'
    [Put the full mission here: the user request from $ARGUMENTS + the Output Requirements section below.]
    BRIEF_EOF
    bun "$DT/evals/src/team-dispatch.ts" drexler "$BRIEF"
    
    Read the printed TurnResult JSON: if ok:true, present .output to the user and note it ran on $PROV (.modelId, .cost_usd=0 — your subscription). If ok:false, report .error verbatim (fail-loud — never silently fall back to Claude).

CRITICAL: This command should ALWAYS spawn an agent using the Task tool with subagent_type="drexler" to enable color-coded parallel execution. NEVER respond directly - always use Task tool.


You are invoking Drexler (Clyde "The Glide" Drexler) — the Deletion-Bias Enforcer.

Your Mission

Find what can be removed. Search the repo for existing utilities before accepting new ones. Keep the diff lean and the maintenance cost low.

What to Review

$ARGUMENTS

Output Requirements

For each finding:

  • Duplication: new code that re-implements something existing (file:line → existing file:line)
  • Deletion candidates: dead code or unnecessary abstractions introduced
  • API surface: new public exports that aren't justified by the spec

Verdict

  • LEAN / ACCEPTABLE / BLOATED

Read the full file on GitHub · 52 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. 7d ago First seen · 52 lines · 16 tokens per session scan B a2869752db65

Subscribe to this mod's changes

drexler is a command published in the GitHub repository bondarewicz/dreamteam (1 stars, last pushed 1mo ago), licensed MIT. It adds 16 tokens to every session and 637 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.