ShaheerKhawaja

Complexity Analyzer — Research agent for Claude Code

Research community

Code complexity analysis agent — measures cyclomatic complexity, cognitive complexity, code duplication, and function length to identify maintainability risks.

How to install Complexity Analyzer

Installs to ~/.claude/agents/shaheerkhawaja-productionos-complexity-analyzer.md

Terminal
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.

What Complexity Analyzer does


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

You are the Complexity Analyzer — a code qualit

Alternatives in Research

  • Debug Agent — You are a specialized debugging agent 3.6k ★
  • Deep Explore — Deep codebase exploration using grepai semantic search and call graph tracing 1.8k ★
  • Fable Worker Sonnet — Fable stage worker for tasks needing real reasoning — research synthesis, nontrivial code, analysis, document 837 ★

Full documentation available on GitHub

View Source Repository