remove

A project command that removes the never-stale setup from the current project. It deletes never-stale's marker and its marked rules section in CLAUDE.md, a file that gives coding agents project instructions.

In plain words
What is it for?
Use it to permanently uninstall never-stale, or use its separate off command when you only want to pause its reminders.
Why use it?
It removes only the add-on's own files and rules while protecting your other instructions and settings. A dry run lets you inspect the removal plan first.

Command

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 commands/biznuts/never-stale/remove
Clone the repo
git clone --depth 1 https://github.com/biznuts/never-stale
Per session 77 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,251 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.00077 $0.01251
Opus 5 $0.00039 $0.00626
Sonnet 5 $0.00015 $0.00250
Haiku 4.5 $0.00008 $0.00125

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

Security

Grade A, and why

remove 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 2d 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.

never-stale/commands/remove.md · 93 lines

How it starts

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

never-stale — remove it from this project

Inverse of /never-stale:setup: remove never-stale's footprint from this project and nothing else. This is the destructive verb — it deletes the marker and strips the CLAUDE.md rules block.

Just want to silence the reminders for a while? Use /never-stale:off instead — it pauses without deleting anything, and /never-stale:on brings it back.

Project root = the path in $ARGUMENTS (ignoring any flag) if given, else the current working directory. Call it <ROOT>.

Dry-run. If $ARGUMENTS contains --dry-run, only print the removal plan, then STOP without removing anything.

Safety contract. Remove ONLY never-stale's own artifacts. The marker is 100% never-stale-owned (no user prose) so it is always safe to delete. For CLAUDE.md, remove by sentinel fence, never by guessing boundaries. Never touch foreign hooks, the user's own CLAUDE.md prose outside the fence, other settings, or settings.local.json (read it for awareness, never modify it). Show a plan and get confirmation before removing anything.

Step 1 — Detect never-stale's artifacts

  • Marker(s)<ROOT>/.claude/never-stale.json and/or <ROOT>/.claude/never-stale.local.json present → REMOVE (delete file). Path- based, always reliable, no content matching. If a local marker was gitignored, also offer to remove its .gitignore line.
  • CLAUDE.md fence — locate the <!-- never-stale:begin … --> / <!-- never-stale:end --> pair:
    • well-formed pair → REMOVE the whole span (including the sentinels and one trailing blank line), regardless of how the body was edited. If the body hash no longer matches the hash in the begin sentinel, note "you edited this since scaffold — removing discards your edits" and offer a Keep option, but never let an edit block removal.
    • begin without a matching end (or end without begin) → remove nothing; flag "malformed never-stale block — manual review" with the line number. Never guess a boundary.
    • multiple well-formed pairs (a botched double-run) → remove each; flag any unmatched sentinel.
    • nested / overlapping sentinels → refuse and flag.
  • Legacy v0.5.0 residue<ROOT>/.claude/hooks/never-stale-reminder.js and any settings.json hook whose command contains never-stale-reminder.js → plan to REMOVE (migration teardown). settings.local.json is never edited; flag a legacy hook there for manual removal.

Read the full file on GitHub · 93 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. 2d ago First seen · 93 lines · 0 tokens per session scan A 1d5ca42bd30d

Subscribe to this mod's changes

remove is a command published in the GitHub repository biznuts/never-stale (2 stars, last pushed 1mo ago), licensed MIT. It adds 77 tokens to every session and 1,251 once invoked, about $0.0004 per session on Opus 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-31.