# Todosweep: every TODO found, ranked and triaged

> Finds TODO, FIXME, HACK and BUG comments, ranks them by urgency, and flags stale ones with git blame. It lists only: you decide what to fix.

Todosweep: every TODO found, ranked and triaged is a free AI agent skill on Agensi by MAJI, in Code Quality & Review. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [MAJI](https://www.agensi.io/creators/maji)
- Category: [Code Quality & Review](https://www.agensi.io/skills/code-quality-review)
- Uses: 2
- Version: 1.0
- Last updated: 2026-10-18
- Security: scan passed (2026-10-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/todosweep-every-todo-found-ranked-and-triaged
- Tags: code-review, git, technical-debt, typescript

## About this skill

Codebases inevitably accumulate `TODO`, `FIXME`, and `HACK` comments that eventually turn into invisible technical debt. This skill scans your repository to extract, categorize, and triage these markers, providing a clear map of what needs immediate fixing versus what can be safely ignored or deleted.

### What it does
- **Multi-tag extraction** scans for `TODO`, `FIXME`, `HACK`, `BUG`, `XXX`, `NOTE`, and `WARNING` tags across your files.
- **Urgency triaging** automatically ranks findings into High, Medium, Low, and Info categories based on tag type.
- **Git integration** uses `git blame` to show who last edited each line and how long ago.
- **Stale detection** flags lines untouched for more than 30 days as stale to help identify forgotten or irrelevant tasks.
- **Contextual filtering** allows narrowing scans by subfolders, specific files, authors, or tag types.

### How it works
1. **Targeting**: Specify a directory or file using `Todosweep <path>`.
2. **Filtering**: Refine the results by adding criteria like "only stale ones" or "by author-name".
3. **Analysis**: The skill runs a scan while ignoring `node_modules` and build directories.
4. **Triage**: Review the prioritized list and specific suggestions for addressing, converting, or deleting items.

### Frameworks & tools
This tool relies on `git blame` for metadata and works across any language that uses standard comment syntax, including TypeScript, JavaScript, Python, and Go.

### Why this beats prompting it yourself
Generic prompts often miss the specific urgency hierarchy and fail to integrate `git blame` data for age-based triaging. This skill enforces a structured output that separates high-risk bugs from low-priority notes while automatically filtering out noise from vendor directories.

### Use cases
- **Release preparation** to ensure no `BUG` or `FIXME` tags remain in the production path.
- **Tech debt audits** to identify `HACK` comments that have been stale for months.
- **Onboarding** to quickly map out the known issues and architectural warnings in a new codebase.

### Known limitations
Scans only code comments and skips documentation files by default. Age calculation is based on the last time the specific line was edited, not necessarily when the comment was first created.

## Requires

- Git

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Todosweep: every TODO found, ranked and triaged skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Does this skill support specific programming languages or file formats?

It works with any language that uses standard comment syntax, provided the repository is tracked by Git for metadata extraction.

### Can I exclude specific directories or focus only on a certain developer's comments?

This skill automatically ignores common vendor and build directories like `node_modules`. You can further refine your scan by specifying subfolders, specific files, or asking in plain language for one author or one tag type.

### How does the 'stale detection' feature determine if a comment is old?

The skill uses `git blame` to determine when a line was last modified. If that line has not been edited for more than 30 days, it is flagged as 'stale' to help you identify technical debt that may no longer be relevant.

### What exactly is included in this free skill?

You will receive the full 'Todosweep' skill package, including the logic for multi-tag extraction, the urgency triaging framework, and the git blame steps for author and age.

### What are the prerequisites for running this skill on my codebase?

No complex setup is required; once the skill is added to your AI agent, you ask it to scan a local repository path, such as `src/`.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
