fix-todos

fix-todos is a command for coding agents from brennercruvinel/CCPlugins. It costs 0 tokens per session (1,042 once invoked), scanned A, original, MIT.

A command that finds TODO comments—notes in code marking unfinished work—and works through resolving them. It can save a plan and progress in the project so later sessions can continue.

In plain words
What is it for?
Use it to scan selected files, directories, or TODO patterns, review a list of findings, and resolve them in order.
Why use it?
It removes the need to search for TODOs manually or remember which ones were already handled. Saved progress helps when the work takes more than one session.

Command

About the project

CCPlugins is a collection of commands that extends the Claude Code command-line tool with structured development workflows. Developers use it to automate repetitive coding tasks, and the catalogue entries are its commands and related configuration.

brennercruvinel/CCPlugins · 2,780 stars · on GitHub

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/brennercruvinel/ccplugins/fix-todos
Clone the repo
git clone --depth 1 https://github.com/brennercruvinel/CCPlugins

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fix-todos

README.md
[![agentmods](https://agentmods.dev/badge/commands/brennercruvinel/ccplugins/fix-todos.svg)](https://agentmods.dev/commands/brennercruvinel/ccplugins/fix-todos)
Your own site
<a href="https://agentmods.dev/commands/brennercruvinel/ccplugins/fix-todos"><img src="https://agentmods.dev/badge/commands/brennercruvinel/ccplugins/fix-todos.svg" alt="Measured on agentmods" height="20"></a>
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 1,042 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found 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.01042
Opus 5 $0.00000 $0.00521
Sonnet 5 $0.00000 $0.00208
Haiku 4.5 $0.00000 $0.00104

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

Security

Grade A, and why

fix-todos 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 5d 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.

commands/fix-todos.md · 172 lines

How it starts

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

Fix TODOs

I'll systematically find and resolve TODO comments in your codebase with intelligent understanding and continuity across sessions.

Arguments: $ARGUMENTS - files, directories, or specific TODO patterns to fix

Session Intelligence

I'll maintain TODO resolution progress across sessions:

Session Files (in current project directory):

  • fix-todos/plan.md - All TODOs found and resolution status
  • fix-todos/state.json - Current progress and decisions

IMPORTANT: Session files are stored in a fix-todos folder in your current project directory

Auto-Detection:

  • If session exists: Resume from last TODO
  • If no session: Scan and create new plan
  • Commands: resume, status, new

Phase 1: Discovery & Analysis

MANDATORY FIRST STEPS:

  1. Check if fix-todos directory exists in current working directory
  2. If directory exists, check for session files:
    • Look for fix-todos/state.json
    • Look for fix-todos/plan.md
    • If found, resume from existing session
  3. If no directory or session exists:
    • Scan entire codebase for TODOs
    • Create categorized plan
    • Initialize progress tracking
  4. Show TODO summary before starting

I'll find and categorize all TODOs:

TODO Detection:

  • TODO, FIXME, HACK, XXX markers
  • Different priority levels
  • Context and complexity assessment
  • Related code understanding

Smart Categorization:

  • Quick fixes: Simple validations, null checks
  • Features: Missing functionality
  • Refactoring: Code improvements
  • Security: Safety and validation needs
  • Performance: Optimization opportunities

Phase 2: Resolution Planning

Based on analysis, I'll create a resolution plan:

Priority Order:

  1. Security-critical TODOs
  2. Bug-related TODOs
  3. Simple improvements
  4. Feature additions
  5. Performance optimizations

I'll write this plan to fix-todos/plan.md with:

  • Each TODO location and content
  • Proposed resolution approach
  • Risk assessment
  • Implementation order

Read the full file on GitHub · 172 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. 5d ago First seen · 172 lines · 0 tokens per session scan A 2e6d128461c5

Subscribe to this mod's changes

fix-todos is a command published in the GitHub repository brennercruvinel/CCPlugins (2,780 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,042 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.