Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
paulrberg avatar

Todo Archive

  • 90 installs
  • 69 repo stars
  • Updated August 4, 2026
  • paulrberg/agent-skills

Helps with ai & agent building tasks.

About

todo-archive is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted development.

  • todo-archive
  • AI & Agent Building
  • AI-coding skill

Todo Archive by the numbers

  • 90 all-time installs (skills.sh)
  • +5 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #4,846 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/paulrberg/agent-skills --skill todo-archive

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs90
repo stars69
Last updatedAugust 4, 2026
Repositorypaulrberg/agent-skills

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

TODO Archive

Archive checked Markdown task-list items from TODO.md into .ai/todos/TODO_UNTIL_YYYY_MM_DD.md, then leave only unchecked tasks in TODO.md.

Arguments

  • path (optional): Repository root or any path inside the repository. Default to the current directory.
  • --date YYYY-MM-DD|YYYY_MM_DD (optional): Archive date. Default to today's local date.
  • --dry-run (optional): Preview target paths and rendered content without writing.
  • --force (optional): Allow overwriting an existing archive file.

Workflow

1. Resolve the repository root:

   git rev-parse --show-toplevel

If the command fails, use the provided path or current directory as the root.

2. Verify TODO.md exists at the root. If it is missing, stop and report the path checked.

3. Run the helper from this skill directory:

   uv run python scripts/archive_todo.py --root "$repo_root"

Pass through --date, --dry-run, or --force when the user requested them.

4. Report the rewritten TODO.md, the created archive path, and the checked/unchecked task counts. If the helper reports no checked tasks, treat it as a no-op.

5. If useful, inspect only the touched paths:

   git diff -- TODO.md .ai/todos/

Helper Behavior

scripts/archive_todo.py:

  • Reads only <root>/TODO.md.
  • Writes checked tasks to <root>/.ai/todos/TODO_UNTIL_YYYY_MM_DD.md.
  • Rewrites <root>/TODO.md with unchecked tasks.
  • Preserves non-task content inside any heading subtree that still has tasks for the output.
  • Drops headings whose subtree has no tasks for the output.
  • Keeps nested parent items as plain bullets when only descendants match the output, avoiding orphaned subtasks without copying the wrong checkbox state.
  • Leaves a minimal # TODO stub when every task was archived.
  • Refuses to overwrite an existing archive unless --force is passed.

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.