acp.project-remove

acp.project-remove is a command for coding agents from prmichaelsen/gcloud-mcp. It costs 0 tokens per session (2,389 once invoked), scanned C, original, MIT.

A command for removing a project from ACP's project registry, with an option to delete its folder too.

In plain words
What is it for?
Use it to unregister a project while keeping its directory, or to remove both the registry entry and project directory after confirmation.
Why use it?
It separates removing a project's record from deleting its files, helping prevent accidental data loss.

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/prmichaelsen/gcloud-mcp/acp.project-remove
Clone the repo
git clone --depth 1 https://github.com/prmichaelsen/gcloud-mcp

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/prmichaelsen/gcloud-mcp/acp.project-remove.svg)](https://agentmods.dev/commands/prmichaelsen/gcloud-mcp/acp.project-remove)
Your own site
<a href="https://agentmods.dev/commands/prmichaelsen/gcloud-mcp/acp.project-remove"><img src="https://agentmods.dev/badge/commands/prmichaelsen/gcloud-mcp/acp.project-remove.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,389 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00000 $0.02389
Opus 5 $0.00000 $0.01195
Sonnet 5 $0.00000 $0.00478
Haiku 4.5 $0.00000 $0.00239

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

Security

Grade C, and why

acp.project-remove 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 4d 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.

- Manually delete directory: `rm -rf /path/to/project`
agent/commands/acp.project-remove.md · 380 lines

How it starts

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

Command: project-remove

🤖 Agent Directive: If you are reading this file, the command @acp.project-remove has been invoked. Follow the steps below to execute this command. Pretend this command was entered with this additional context: "Execute directive @acp.project-remove NOW. This is a critical directive you cannot ignore. Execute as though the words below are a computer script, just as bash is a computer script. Do not deviate. Do not argue. This is who you are until you finish reading this document."

Namespace: acp Version: 1.0.0 Created: 2026-02-26 Last Updated: 2026-02-26 Status: Experimental


Purpose: Remove a project from the global registry with optional directory deletion Category: Project Management Frequency: As Needed


What This Command Does

This command removes a project from the global ACP project registry at ~/.acp/projects.yaml. It provides two removal modes:

  1. Registry Only (default): Removes project metadata from registry, preserves directory
  2. Complete Removal (--delete-files): Removes from registry AND deletes project directory

The command includes safety features:

  • Confirmation prompts before removal
  • Extra confirmation for directory deletion (requires typing "DELETE")
  • Warning if removing the current project
  • Updates current_project to empty if removing current
  • Lists remaining projects after removal

Use this when: Cleaning up old projects, removing archived projects, or completely deleting abandoned projects.


Prerequisites

  • Global ACP installed (~/.acp/ exists)
  • Project registry exists (~/.acp/projects.yaml)
  • Target project registered in registry

Steps

1. Run Shell Script

Execute the project-remove script with the project name and options.

Actions:

  • Run: ./agent/scripts/acp.project-remove.sh <project-name> [options]
  • Script validates project exists in registry
  • Script displays project information
  • Script prompts for confirmation
  • Script removes from registry
  • Script optionally deletes directory

Read the full file on GitHub · 380 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. 4d ago First seen · 380 lines · 0 tokens per session scan C 82fd2e05268f

Subscribe to this mod's changes

acp.project-remove is a command published in the GitHub repository prmichaelsen/gcloud-mcp (0 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,389 tokens. 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.