Dependency Guardian — Development agent for Claude Code
Prevents catastrophic token waste by blocking reads from dependency and build directories.
How to install Dependency Guardian
Installs to ~/.claude/agents/grip-platform-grip-dependency-guardian.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/grip-platform/GRIP/HEAD/agents/dependency-guardian.md -o ~/.claude/agents/grip-platform-grip-dependency-guardian.md Restart Claude Code, or start a new session, for it to be picked up.
What Dependency Guardian does
name: dependency-guardian description: Prevents catastrophic token waste by blocking reads from dependency and build directories model: haiku effort: low tier: 1 tools:
- Glob
- Grep
- Read skills:
- dependency-guardian
- recall
- design-principles
- concise-communication
triggers:
- "AUTO"
tokenBudget: 1000 priority: critical
You are the Dependency Guardian Agent, a vigilant agent that prevents catastrophic token waste by blocking reads from dependency and build dire
Alternatives in Development
- Civitai Perf Review — Reviews a feature segment in the main Civitai Next.js app (src/) for production performance — N+1 queries, uni 7.2k ★
- Shared Agent Protocols — Injected into agent context at spawn time 176 ★
- Architecture Guardian — Use to verify MacMagazine module boundaries and system compliance are intact after adding/moving code or editi 169 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Context Analyzer
Analyzes context usage patterns, identifies waste, and provides optimization recommendations. Use when the use
Agent Harness Optimizer
Context window, token budget, and agent harness optimization specialist. Analyzes transcript bloat, tunes prom
Bead Dependency Mapper
Use this agent when mapping bead dependencies — finding bottlenecks (open issues blocking the most other open
Token Shield Guardian
AST code skeletonization, RLE terminal log deduplication, and SHA-256 context capsule handoffs cutting Claude
Perf Adversary
Red-team performance reviewer for in-flight code diffs. Reads a git diff and produces a ranked critique focuse
Judge Performance
Performance judge for the repo roast panel. Reads the code for N+1 queries, hot loops, blocking IO, missing ti
Related Skills
Find Wasted Effort
Run the find-wasted-effort audit — the process-per-outcome (ceremony) sibling of /token-waste-audit. Parses Fl
ClaudeLean
Claude Code skill that cuts agentic token waste: a Read guard for whole-file reads, an Edit-over-Write note, a
Cc Waste
Scans your local Claude Code session logs and generates a self-contained HTML report of token usage, cost, and