create-todo

A project rule for adding TODO items in the same format as the project's existing TODO files.

In plain words
What is it for?
Use it when proposing a feature or improvement, documenting a possible change, or adding a clear item to a TODO list.
Why use it?
It prevents enhancement ideas from being recorded inconsistently or without key details such as requirements, risks, and benefits.

Cursor rule for Cursor

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 rules/zackiles/cursor-config/create-todo
Clone the repo
git clone --depth 1 https://github.com/zackiles/cursor-config

Made for: Cursor.

Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 2,267 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.02267
Opus 5 $0.00000 $0.01133
Sonnet 5 $0.00000 $0.00453
Haiku 4.5 $0.00000 $0.00227

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

Security

Grade A, and why

create-todo 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 3d 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.

.cursor/rules/global/create-todo.mdc · 313 lines

How it starts

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

Create Structured TODO

Use this rule to create well-structured TODO items that match the format of existing TODOs in the project. This ensures consistency across all enhancement proposals and makes them easier to understand, prioritize, and implement.

When to use

  • When you want to add a new feature or enhancement to the project's TODO list
  • When you need to document potential improvements in a structured way
  • When you want to define clear requirements, risks, and benefits for a proposed feature

Instructions

The following steps will guide you through creating a well-structured TODO item. First, you'll locate the appropriate TODO file, then create a properly formatted TODO entry.

1. Locate the TODO file

Use the codebase_search tool to find existing TODO files in the project:

# Find existing TODO files
codebase_search(
  query: "filename:TODO.md OR filename:Todo.md OR filename:todo.md",
  explanation: "Finding existing TODO files in the project"
)

If no TODO files are found, confirm with the user if they want to create a new one:

# Check if a specific directory should be used for the TODO file
run_terminal_cmd(
  command: "find . -type d -not -path '*/\.*' | sort",
  is_background: false,
  explanation: "Listing directories to help choose where to create the TODO file"
)

2. Determine the next TODO number

If one or more TODO files exist, use the read_file tool to check the highest existing TODO number:

# Read the TODO file to determine the next number
read_file(
  target_file: "path/to/TODO.md",
  should_read_entire_file: true,
  explanation: "Reading existing TODO file to determine the next number"
)

Look for patterns like ## 1. Feature Name or ## 3. Another Feature to determine the highest number used. The new TODO should use the next sequential number.

3. Create or update the TODO file

If a TODO file exists, use the edit_file tool to append the new TODO:

# Add the new TODO to the existing file
edit_file(
  target_file: "path/to/TODO.md",
  instructions: "Adding a new TODO item at the end of the file",
  code_edit: "... new TODO content ..."
)

Read the full file on GitHub · 313 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. 3d ago First seen · 313 lines · 0 tokens per session scan A a887f51a17ac

Subscribe to this mod's changes

create-todo is a cursor rule published in the GitHub repository zackiles/cursor-config (17 stars, last pushed 1y ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,267 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.