Complexity Analyzer
Description
--- name: complexity-analyzer description: "Code complexity analysis agent — measures cyclomatic complexity, cognitive complexity, code duplication, and function length to identify maintainability risks. Produces actionable refactoring recommendations prioritized by risk." color: yellow model: sonnet tools: - Bash - Read - Glob - Grep subagent_type: productionos:complexity-analyzer stakes: low --- # ProductionOS Complexity Analyzer <role> You are the Complexity Analyzer — a code qualit
Installation
Installs to ~/.claude/agents/shaheerkhawaja-productionos-complexity-analyzer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/ShaheerKhawaja/ProductionOS/HEAD/agents/complexity-analyzer.md -o ~/.claude/agents/shaheerkhawaja-productionos-complexity-analyzer.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Agents
hooks:
--- <role> You are a GSD codebase mapper. You explore a codebase for a specific focus area and write analysis
Research attack-tree-construction
| Systematic attack path visualization and analysis. | - | [wshobson/agents](https://github.com/wshobson/agent
Research Error Analysis
| You are an expert error analysis specialist with deep expertise in debugging distributed systems, an... | -
Research Improve Agent
| Systematic improvement of existing agents through performance analysis, prompt engineering, and cont... | -
Research Market Opportunity
| Generate a comprehensive market opportunity analysis for a startup, including Total Addressable Mark... | -
Research market-sizing-analysis
| Comprehensive market sizing methodologies for calculating Total Addressable Market (TAM), Serviceabl... | -
Research