tuck: Command for Claude Code

.cursor/commands/cleanup.md

cleanup is a command for Claude Code, Cursor from Pranav-Karra-3301/tuck. It costs 4 tokens per session (173 once invoked), scanned C, original, MIT.

A set of maintenance commands for a JavaScript project using pnpm, a package manager. The commands clean build files, reinstall dependencies, find unused or outdated packages, and run a security audit.

In plain words
What is it for?
Use it to clean dist or coverage folders, reinstall packages, prune unused dependencies, check outdated packages, or run pnpm audit.
Why use it?
Old build files and installed packages can cause confusing results or take up space. These commands provide common ways to clean the project and inspect its dependencies.

Command for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code command (commands/*.md).

This is Pranav-Karra-3301/tuck's own configuration. It tells Claude Code and Cursor how to work on tuck itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything tuck configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Pranav-Karra-3301/tuck. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Pranav-Karra-3301/tuck/main/.cursor/commands/cleanup.md
Clone the repo
git clone --depth 1 https://github.com/Pranav-Karra-3301/tuck

Made for: Claude Code, Cursor.

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 cleanup

README.md
[![agentmods](https://agentmods.dev/badge/commands/pranav-karra-3301/tuck/cleanup/github.svg)](https://agentmods.dev/commands/pranav-karra-3301/tuck/cleanup)
Your own site
<a href="https://agentmods.dev/commands/pranav-karra-3301/tuck/cleanup"><img src="https://agentmods.dev/badge/commands/pranav-karra-3301/tuck/cleanup/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 cleanup

Your own site · 80×15
<a href="https://agentmods.dev/commands/pranav-karra-3301/tuck/cleanup"><img src="https://agentmods.dev/badge/commands/pranav-karra-3301/tuck/cleanup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 173 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.00004 $0.00173
Opus 5 $0.00002 $0.00086
Sonnet 5 $0.00001 $0.00035
Haiku 4.5 $0.00000 $0.00017

Measured 9d ago against content hash 2944a9adc04c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade C, and why

cleanup 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 9d 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 dist
.cursor/commands/cleanup.md · 68 lines

What it actually says

Clean Dist

Remove build artifacts.

rm -rf dist

Clean Coverage

Remove coverage reports.

rm -rf coverage

Clean All

Remove all generated files.

rm -rf dist coverage

Clean Install

Remove node_modules and reinstall.

rm -rf node_modules pnpm-lock.yaml && pnpm install

Prune Deps

Remove unused dependencies.

pnpm prune

Update Deps

Update all dependencies interactively.

pnpm update --interactive

Check Outdated

Check for outdated dependencies.

pnpm outdated

Security Audit

Run security audit on dependencies.

pnpm audit
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. 9d ago First seen · 68 lines · 4 tokens per session scan C 2944a9adc04c

Subscribe to this mod's changes

cleanup is a command published in the GitHub repository Pranav-Karra-3301/tuck (15 stars, last pushed 1mo ago), licensed MIT. It adds 4 tokens to every session and 173 once invoked, about $0.0000 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-30.