todo-archive

todo-archive is a skill for Claude Code, Codex from PaulRBerg/agent-skills. It costs 27 tokens per session (966 once invoked), scanned A, original, MIT.

A filing tool for moving completed checklist items from TODO.md into dated files under .ai/todos, while keeping unfinished items in place.

In plain words
What is it for?
Use it to archive all checked tasks or only checked tasks under a selected TODO.md section, with optional date and preview settings.
Why use it?
It keeps the active task list short and preserves a dated record of completed work.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present. Also seen: model in frontmatter.

Good fit Use it to archive all checked tasks or only checked tasks under a selected TODO.md section, with optional date and preview settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/paulrberg/agent-skills/todo-archive
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.

Any agent
npx skills add PaulRBerg/agent-skills --skill todo-archive
Clone the repo
git clone --depth 1 https://github.com/PaulRBerg/agent-skills

Made for: Claude Code, Codex.

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 todo-archive

README.md
[![agentmods](https://agentmods.dev/badge/skills/paulrberg/agent-skills/todo-archive/github.svg)](https://agentmods.dev/skills/paulrberg/agent-skills/todo-archive)
Your own site
<a href="https://agentmods.dev/skills/paulrberg/agent-skills/todo-archive"><img src="https://agentmods.dev/badge/skills/paulrberg/agent-skills/todo-archive/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for todo-archive

Your own site · 80×15
<a href="https://agentmods.dev/skills/paulrberg/agent-skills/todo-archive"><img src="https://agentmods.dev/badge/skills/paulrberg/agent-skills/todo-archive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 966 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 5
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
How audits are shown
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.1 $0.00027 $0.00966
Opus 5.5 $0.00011 $0.00386
Sonnet 5.5 $0.00005 $0.00193
Haiku 4.5 $0.00003 $0.00097

Measured 17d ago against content hash 67d36810411e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

todo-archive 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 17d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/archive_todo.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/todo-archive/SKILL.md · 77 lines

How it starts

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

TODO Archive

If a slash or dollar invocation already added these instructions to the conversation, follow them directly. In that case, do not invoke this skill again through a skill tool.

Arguments

  • path (optional): Repository root or any path inside the repository. Default to the current directory.
  • --hint TEXT (optional): Archive only the section whose heading contains TEXT (case-insensitive substring), including its subsections. Without it, archive checked tasks from the whole file. Checked tasks outside the matched section stay in .ai/TODO.md.
  • --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.

Workflow

  1. Resolve the supplied path, or the current directory when omitted. For an existing file, use its containing directory. For a directory, use that directory. Store the absolute directory as start_dir, then resolve its Git root:

    git -C "$start_dir" rev-parse --show-toplevel
    

    Store the result as repo_root. When start_dir is outside a Git repository, use it as repo_root. Stop on a missing input path or another resolution error.

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

  3. Resolve the skill directory and run its helper:

    uv run python "<skill-dir>/scripts/archive_todo.py" --root "$repo_root"
    

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

  4. Report the rewritten .ai/TODO.md, the created or merged archive path, the matched section (when --hint was given), and the archived/remaining task counts. If an archive for the date already exists, the helper appends the new batch to it, retaining one matching top-level heading. If the helper reports no checked tasks, treat it as a no-op. If --hint matches no heading, the helper exits non-zero and lists the available sections. In that case, relay them.

Read the full file on GitHub · 77 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 17d ago Changed 67d36810411e
  2. 1mo ago Changed 608a716718be
  3. 1mo ago Changed · +1 lines 9a3c1ea73fac
  4. 1mo ago Changed · +4 tokens per session b91aa18fcd51
  5. 2mo ago Changed · -4 lines 2119c76fa79d
  6. 2mo ago First seen · 80 lines · 23 tokens per session scan A 20484d1ed152

Subscribe to this mod's changes

todo-archive is a skill published in the GitHub repository PaulRBerg/agent-skills (104 stars, last pushed 2d ago), licensed MIT. It adds 27 tokens to every session and 966 once invoked, about $0.0001 per session on Opus 5.5. 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.

Related

todo-archive compared with skills from other repositories

todo-archive next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
todo-archivePaulRBerg/agent-skillsSkill1042d agoMITA27Claude Code, Codex
orbit-notionnexu-io/open-designSkill107kyesterdayApache-2.0A117Claude Code, Codex
agentmailpaperclipai/paperclipSkill112ktodayMITA30Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill20k3d agoMITA184Claude Code
rowboat-spacesrowboatlabs/rowboatSkill18kyesterdayApache-2.0A60Claude Code, Codex
feishuHmbown/CodeWhaleSkill41kyesterdayMITA33Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k12d agoMITA52Claude Code, Codex