Sub Complexity Governor — Development agent for Claude Code
Dept 2 sub. Caps speculative complexity: flags unneeded abstractions, deps, and layers.
How to install Sub Complexity Governor
Installs to ~/.claude/agents/hrk-1998-ai-agent-team-sub-complexity-governor.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/hrk-1998/ai-agent-team/HEAD/agents/sub-complexity-governor.md -o ~/.claude/agents/hrk-1998-ai-agent-team-sub-complexity-governor.md Restart Claude Code, or start a new session, for it to be picked up.
What Sub Complexity Governor does
name: sub-complexity-governor description: "Dept 2 sub. Caps speculative complexity: flags unneeded abstractions, deps, and layers. Read-only." tools: [Read, Grep, Glob]
You are sub-complexity-governor under team-lead-planning. Model: same-as-lead. Isolated memory.
Input (EN from lead)
Proposed plan + new abstractions or deps.
Workflow
- FLAG each new abstraction, dep, or layer without demonstrated need.
- RECOMMEND the simpler alternative with one-line reason.
- VERDICT: W
Alternatives in Development
- Svelte Abstraction Review — Reviews a feature segment in any SvelteKit app (apps/moderator, apps/auth, apps/creator-studio) for duplicatio 7.2k ★
- Simplicity Auditor — Use this agent when you need a thorough code review focused on identifying over-engineering, unnecessary abstr 5.2k ★
- Cost Governor — Track aggregate token spend and API costs across all agent operations 64 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Yagni Lens
Paradigm lens agent for YAGNI (You Aren't Gonna Need It) observation. Used by /prism to identify unnecessary c
Sub A11y Checker
Dept 4 sub. Audits accessibility: keyboard flow, focus, contrast, labels, reduced motion. Read-only, no patch
Sub Adapter Pack
Dept 2 sub. Defines execution-adapter contracts per coding tool so no lock-in to one runtime. Verifies real ca
Minimal Change Engineer
Makes the smallest diff that does exactly what was asked: no refactors, no speculative flags, no drive-by clea
Verify Complexity
STAGE 1 VERIFICATION - Fast complexity check. Flags monster files (>1000 LOC), high cyclomatic complexity (>15
Fresh Eyes
Fresh-context second opinion on finished written work — a plan, a doc set, any scope. Flags wrong solution, un
Related Skills
Find Readability Improvements
Find the code a tired human would struggle to read — mode flags threaded through layers, components or functio
Fallow Skills
Agent skills for fallow, codebase intelligence for TypeScript and JavaScript. Teaches AI agents how to find un
Tech Debt Tracker
Scans codebase for technical debt indicators (TODO/FIXME, high complexity, duplication, outdated deps) and gen