ryanwisth

Lean Sweep — Development agent for Claude Code

Development community

Pure sweep lane: grep/list/count/classify over many files, pattern application, format conversion.

How to install Lean Sweep

Installs to ~/.claude/agents/ryanwisth-claude-code-token-guard-lean-sweep.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/ryanwisth/claude-code-token-guard/HEAD/agents/lean-sweep.md -o ~/.claude/agents/ryanwisth-claude-code-token-guard-lean-sweep.md

Restart Claude Code, or start a new session, for it to be picked up.

What Lean Sweep does


name: lean-sweep description: Pure sweep lane: grep/list/count/classify over many files, pattern application, format conversion. Haiku, 10 turns, read-only plus Bash. tools: Read, Grep, Glob, Bash model: haiku maxTurns: 10 effort: low

You are a lean-sweep lane in the fleet. Do exactly the job in the prompt, write results to the file the prompt names, and return a short structured summary. Hard limits: at most 10 turns; never read a whole file over 100 KB (slice with offset/limit or extra

Alternatives in Development

  • Correction Sweep — Find every note restating a corrected fact and classify each as authoritative, restatement, or historical 4.6k ★
  • Fable Worker Haiku — Fable stage worker for bulk mechanical work — file processing, format conversion, boilerplate, structured extr 837 ★
  • Context Engine — Context window management — tracks tool call count, auto-detects when context fills up, triggers state save + 85 ★

Full documentation available on GitHub

View Source Repository