acp.package-remove

acp.package-remove is a command for Claude Code from prmichaelsen/gcloud-mcp. It costs 0 tokens per session (1,811 once invoked), scanned A, original, MIT.

A package-removal command for ACP, a system that adds reusable tools to a coding project. It deletes an installed package from the project's agent folders and updates the package list.

In plain words
What is it for?
Use it to remove a named ACP package, clean its entry from agent/manifest.yaml, or prepare for a fresh reinstall.
Why use it?
It removes packages you no longer need and helps clean up unused dependencies. It can preserve locally changed files to reduce the risk of losing custom work.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./agent/scripts/acp.package-remove.sh <package-name>.

Good fit Use it to remove a named ACP package, clean its entry from agent/manifest.yaml, or prepare for a fresh reinstall.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/prmichaelsen/gcloud-mcp
agentmods
npx agentmods add commands/prmichaelsen/gcloud-mcp/acp.package-remove

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/prmichaelsen/gcloud-mcp/acp.package-remove/github.svg)](https://agentmods.dev/commands/prmichaelsen/gcloud-mcp/acp.package-remove)
Your own site
<a href="https://agentmods.dev/commands/prmichaelsen/gcloud-mcp/acp.package-remove"><img src="https://agentmods.dev/badge/commands/prmichaelsen/gcloud-mcp/acp.package-remove/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 acp.package-remove

Your own site · 80×15
<a href="https://agentmods.dev/commands/prmichaelsen/gcloud-mcp/acp.package-remove"><img src="https://agentmods.dev/badge/commands/prmichaelsen/gcloud-mcp/acp.package-remove.svg" alt="Reviewed on agentmods" width="80" 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 1,811 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00000 $0.01811
Opus 5.5 $0.00000 $0.00724
Sonnet 5.5 $0.00000 $0.00362
Haiku 4.5 $0.00000 $0.00181

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

Security

Grade A, and why

acp.package-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 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.

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.

agent/commands/acp.package-remove.md · 294 lines

How it starts

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

Command: package-remove

🤖 Agent Directive: If you are reading this file, the command @acp.package-remove has been invoked. Follow the steps below to execute this command.

Namespace: acp Version: 2.0.0 Created: 2026-02-18 Last Updated: 2026-02-22 Status: Active Scripts: acp.package-remove.sh, acp.common.sh, acp.yaml-parser.sh


Purpose: Remove installed ACP packages and clean up manifest Category: Maintenance Frequency: As Needed


What This Command Does

This command removes installed ACP packages by deleting their files from agent/ directories and removing their entries from agent/manifest.yaml. It can optionally preserve locally modified files to prevent accidental loss of customizations.

Use this command when you no longer need a package, want to clean up unused dependencies, or need to reinstall a package from scratch.


Prerequisites

  • ACP installed in project
  • agent/manifest.yaml exists with installed packages
  • agent/scripts/acp.package-remove.sh exists
  • Package to remove is actually installed

Steps

1. Run Package Remove Script

Execute the remove script with the package name.

Actions:

  • Run ./agent/scripts/acp.package-remove.sh with package name:
    # Interactive mode (asks for confirmation)
    ./agent/scripts/acp.package-remove.sh <package-name>
    
    # Auto-confirm mode (skips prompts)
    ./agent/scripts/acp.package-remove.sh -y <package-name>
    
    # Keep modified files
    ./agent/scripts/acp.package-remove.sh --keep-modified <package-name>
    
  • The script will:
    • Verify package is installed
    • List files that will be removed
    • Detect locally modified files via checksums
    • Ask for confirmation (unless -y flag used)
    • Remove files (or keep modified ones if --keep-modified)
    • Remove package entry from manifest
    • Update manifest timestamp
    • Report removal summary

Expected Outcome: Package removed successfully

2. Verify Removal

Read the full file on GitHub · 294 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 · 294 lines · 0 tokens per session scan A a94dc69dcd82

Subscribe to this mod's changes

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

Related

acp.package-remove compared with commands from other repositories

acp.package-remove next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
acp.package-removeprmichaelsen/gcloud-mcpCommand07mo agoMITA0Claude 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