tldr-delete

tldr-delete is a skill for Claude Code from qurore/speckit-tldr. It costs 123 tokens per session (1,387 once invoked), scanned C, original, MIT.

A cleanup skill for generated Spec Kit TLDR review files. TLDR means “too long; didn’t read”; here it refers to local HTML and Markdown summaries of specifications.

In plain words
What is it for?
Use it to find and delete generated .tldr.html and .tldr.md files and their empty containing directories, with safety checks before removal.
Why use it?
It removes review artifacts that should not be included in a pull request while protecting the original specification files.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the speckit-tldr plugin — 2 skills shipped together

Good fit Use it to find and delete generated .tldr.html and .tldr.md files and their empty containing directories, with safety checks before removal.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/qurore/speckit-tldr/tldr-delete
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 qurore/speckit-tldr --skill tldr-delete
Clone the repo
git clone --depth 1 https://github.com/qurore/speckit-tldr

Made for: Claude Code.

Or install speckit-tldr, the plugin that ships this one along with the rest of its 2 skills.

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 tldr-delete

README.md
[![agentmods](https://agentmods.dev/badge/skills/qurore/speckit-tldr/tldr-delete/github.svg)](https://agentmods.dev/skills/qurore/speckit-tldr/tldr-delete)
Your own site
<a href="https://agentmods.dev/skills/qurore/speckit-tldr/tldr-delete"><img src="https://agentmods.dev/badge/skills/qurore/speckit-tldr/tldr-delete/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 tldr-delete

Your own site · 80×15
<a href="https://agentmods.dev/skills/qurore/speckit-tldr/tldr-delete"><img src="https://agentmods.dev/badge/skills/qurore/speckit-tldr/tldr-delete.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 123 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,387 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00123 $0.01387
Opus 5 $0.00062 $0.00694
Sonnet 5 $0.00025 $0.00277
Haiku 4.5 $0.00012 $0.00139

Measured 11d ago against content hash 86be5dc1790a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade C, and why

tldr-delete scanned grade C with 1 finding 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 11d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

`rm -rf` a feature directory.
plugins/speckit-tldr/skills/tldr-delete/SKILL.md · 125 lines

How it starts

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

Spec Kit TLDR — delete generated output

The companion to the tldr skill. It cleans up the review artifacts that tldr writes (*.tldr.html / *.tldr.md, under specs/<feature>/tldr/) so they do not get committed in a pull request. The TLDRs are a local reviewing aid, not something the PR itself should carry.

Core safety rules (read first)

  1. Only ever delete generated TLDR artifacts. In scope: files matching *.tldr.html and *.tldr.md, plus a tldr/ directory once it is empty. NEVER delete spec.md, plan.md, research.md, tasks.md, contracts/, or anything else — those are the source, not the output.
  2. Discover → list → confirm → delete. Always show the exact list of paths you are about to remove and get the user's confirmation first, unless the user already gave an explicit go-ahead ("yes, delete them", "force", "no prompt").
  3. Never delete with a wildcard. Expand the glob to explicit paths first, show those paths, then remove exactly those. Do not pass * to rm, and never rm -rf a feature directory.
  4. Respect git. A file that is already committed must be removed with git rm (so the deletion is staged and actually leaves the PR); a file that is untracked is simply removed from disk.

Step 1 — Resolve scope

Parse the argument ($ARGUMENTS) and also honor natural language:

  • spec → only spec.tldr.html / spec.tldr.md.
  • plan → only plan.tldr.html / plan.tldr.md.
  • both or no argument → both the spec and plan TLDRs for the target feature.
  • all → every *.tldr.html / *.tldr.md under specs/ across the repo.
  • A path (a file, or a specs/<feature>/ dir) → operate on exactly that.

Find the target feature directory the same way the tldr skill does: if the user names a feature, glob specs/*<feature>*/; otherwise infer from the current PR/branch (the changed specs/<feature>/ files); if still ambiguous, list the candidates under specs/ and ask. For all, skip feature resolution and search the whole repo.

Read the full file on GitHub · 125 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. 11d ago First seen · 125 lines · 123 tokens per session scan C 86be5dc1790a

Subscribe to this mod's changes

tldr-delete is a skill published in the GitHub repository qurore/speckit-tldr (3 stars, last pushed 2mo ago), licensed MIT. It adds 123 tokens to every session and 1,387 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories