complexity-report

A command that displays a report estimating how difficult a set of tasks is. It can use the default report file or a file path you provide.

In plain words
What is it for?
Use it to review complexity scores, risk findings, tasks needing expansion, dependencies on the critical path, and suggested next steps.
Why use it?
It brings task size, technical risk, and possible blockers into one readable report instead of requiring you to inspect each task separately.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/snarktank/code-editing-agent/complexity-report
Clone the repo
git clone --depth 1 https://github.com/snarktank/code-editing-agent

Made for: Claude Code.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 604 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00604
Opus 5 $0.00000 $0.00302
Sonnet 5 $0.00000 $0.00121
Haiku 4.5 $0.00000 $0.00060

Measured 2d ago against content hash 772545699d24, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

complexity-report scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to complexity-report — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/tm/complexity-report/complexity-report.md · 117 lines

How it starts

The opening of the file, as written. The whole thing — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Display the task complexity analysis report.

Arguments: $ARGUMENTS

View the detailed complexity analysis generated by analyze-complexity command.

Viewing Complexity Report

Shows comprehensive task complexity analysis with actionable insights.

Execution

task-master complexity-report [--file=<path>]

Report Location

Default: .taskmaster/reports/complexity-analysis.md Custom: Specify with --file parameter

Report Contents

1. Executive Summary

Complexity Analysis Summary
━━━━━━━━━━━━━━━━━━━━━━━━
Analysis Date: 2024-01-15
Tasks Analyzed: 32
High Complexity: 5 (16%)
Medium Complexity: 12 (37%)
Low Complexity: 15 (47%)

Critical Findings:
- 5 tasks need immediate expansion
- 3 tasks have high technical risk
- 2 tasks block critical path

2. Detailed Task Analysis

For each complex task:

  • Complexity score breakdown
  • Contributing factors
  • Specific risks identified
  • Expansion recommendations
  • Similar completed tasks

3. Risk Matrix

Visual representation:

Risk vs Complexity Matrix
━━━━━━━━━━━━━━━━━━━━━━━
High Risk  | #5(9) #12(8) | #23(6)
Med Risk   | #34(7)       | #45(5) #67(5)
Low Risk   | #78(8)       | [15 tasks]
           | High Complex  | Med Complex

4. Recommendations

Immediate Actions:

  1. Expand task #5 - Critical path + high complexity
  2. Expand task #12 - High risk + dependencies
  3. Review task #34 - Consider splitting

Sprint Planning:

  • Don't schedule multiple high-complexity tasks together
  • Ensure expertise available for complex tasks
  • Build in buffer time for unknowns

Interactive Features

When viewing report:

  1. Quick Actions

    • Press 'e' to expand a task
    • Press 'd' for task details
    • Press 'r' to refresh analysis
  2. Filtering

    • View by complexity level
    • Filter by risk factors
    • Show only actionable items
  3. Export Options

    • Markdown format
    • CSV for spreadsheets
    • JSON for tools

Report Intelligence

  • Compares with historical data
  • Shows complexity trends
  • Identifies patterns
  • Suggests process improvements

Read the full file on GitHub · 117 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 117 lines · 0 tokens per session scan A 772545699d24

Subscribe to this mod's changes

complexity-report is a command published in the GitHub repository snarktank/code-editing-agent (24 stars, last pushed 1y ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 604 tokens. A static security scan graded it A with 0 findings. It is 100% identical to complexity-report, differing in 0 lines, and is treated as a copy.