claude-code-mastery-project-starter-kit: Command for Claude Code

.claude/commands/remove-project.md

remove-project is a command for Claude Code from TheDecipherist/claude-code-mastery-project-starter-kit. It costs 8 tokens per session (727 once invoked), scanned C, original, MIT.

A command for removing a project from a starter kit's project registry, with an option to delete the project's files from disk.

In plain words
What is it for?
Use it to find a registered project, inspect its details, then either stop tracking it or delete it and its files.
Why use it?
It removes old projects from the starter kit's tracking list and can clean up their files when needed.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool.

This is TheDecipherist/claude-code-mastery-project-starter-kit's own configuration. It tells Claude Code how to work on claude-code-mastery-project-starter-kit 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 claude-code-mastery-project-starter-kit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to TheDecipherist/claude-code-mastery-project-starter-kit. 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/TheDecipherist/claude-code-mastery-project-starter-kit/main/.claude/commands/remove-project.md
Clone the repo
git clone --depth 1 https://github.com/TheDecipherist/claude-code-mastery-project-starter-kit

Made for: Claude Code.

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 remove-project

README.md
[![agentmods](https://agentmods.dev/badge/commands/thedecipherist/claude-code-mastery-project-starter-kit/remove-project/github.svg)](https://agentmods.dev/commands/thedecipherist/claude-code-mastery-project-starter-kit/remove-project)
Your own site
<a href="https://agentmods.dev/commands/thedecipherist/claude-code-mastery-project-starter-kit/remove-project"><img src="https://agentmods.dev/badge/commands/thedecipherist/claude-code-mastery-project-starter-kit/remove-project/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 remove-project

Your own site · 80×15
<a href="https://agentmods.dev/commands/thedecipherist/claude-code-mastery-project-starter-kit/remove-project"><img src="https://agentmods.dev/badge/commands/thedecipherist/claude-code-mastery-project-starter-kit/remove-project.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 727 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.00008 $0.00727
Opus 5.5 $0.00003 $0.00291
Sonnet 5.5 $0.00002 $0.00145
Haiku 4.5 $0.00001 $0.00073

Measured 2mo ago against content hash 64889af423e1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

remove-project 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 2mo 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.

- Delete the directory: `rm -rf <path>`
.claude/commands/remove-project.md · 96 lines

How it starts

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

Remove Project — Unregister and Optionally Delete

Remove a project from the starter kit registry and optionally delete its files from disk.

Arguments: $ARGUMENTS

Steps

1. Read the registry

Read ~/.claude/starter-kit-projects.json. If the file does not exist, tell the user:

No projects have been created yet. Nothing to remove.

And stop.

2. Find the project

Search the registry for a project matching $ARGUMENTS (by name).

If no argument provided:

  • List all projects by name
  • Ask via AskUserQuestion: "Which project do you want to remove?"
  • Options: list all project names from the registry

If the project name is not found:

  • Tell the user: "Project <name> not found in the registry."
  • Show the list of registered projects
  • Stop

3. Show project details

Display the project details:

Project: my-app
Path:    ~/projects/my-app
Profile: default
Language: node
Framework: next
Created: 2025-01-15
Status:  exists on disk / directory not found

4. Ask what to do

Ask via AskUserQuestion: "What do you want to do with this project?"

  • Remove from registry only — Keep the files, just remove the tracking entry
  • Delete everything — Delete the project directory AND remove from registry

5a. If "Remove from registry only"

  • Read ~/.claude/starter-kit-projects.json
  • Remove the matching project entry from the projects array
  • Write the updated registry back
  • Confirm: "Removed <name> from the project registry. Files at <path> are untouched."

5b. If "Delete everything"

Safety check — ask for explicit confirmation:

Ask via AskUserQuestion: "Are you sure you want to permanently delete <path> and all its contents? This cannot be undone."

  • Yes, delete it — Proceed with deletion
  • No, cancel — Stop without deleting

If confirmed:

  1. Check if the project directory exists on disk
  2. If it exists:
    • Check for uncommitted git changes: cd <path> && git status --porcelain 2>/dev/null
    • If there are uncommitted changes, WARN the user and ask again: "This project has uncommitted changes. Are you SURE you want to delete?"
    • Delete the directory: rm -rf <path>
  3. Remove the entry from ~/.claude/starter-kit-projects.json
  4. Confirm: "Deleted <path> and removed <name> from the registry."

Read the full file on GitHub · 96 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. 2mo ago First seen · 96 lines · 8 tokens per session scan C 64889af423e1

Subscribe to this mod's changes

remove-project is a command published in the GitHub repository TheDecipherist/claude-code-mastery-project-starter-kit (342 stars, last pushed 4mo ago), licensed MIT. It adds 8 tokens to every session and 727 once invoked, about $0.0000 per session on Opus 5.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.

Related

remove-project compared with commands from other repositories

remove-project next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
remove-projectTheDecipherist/claude-code-mastery-project-starter-kitCommand3424mo agoMITC8Claude Code
checklistgithub/spec-kitCommand148kyesterdayMITA13Claude Code
clarifygithub/spec-kitCommand148kyesterdayMITA27Claude Code
specifygithub/spec-kitCommand148kyesterdayMITA13Claude Code
analyzegithub/spec-kitCommand148kyesterdayMITA26Claude Code
convergegithub/spec-kitCommand148kyesterdayMITA35Claude Code
implementgithub/spec-kitCommand148kyesterdayMITA14Claude Code