acp.package-publish

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

A package-publishing command for ACP, a system that distributes reusable coding tools. It checks a package, chooses a version change from Conventional Commit messages, creates changelog entries, and prepares the changes for publication.

In plain words
What is it for?
Use it to validate and test an ACP package, update its version, generate changelog entries, create Git tags, commit changes, and push them to a remote repository.
Why use it?
It collects the publishing steps in one workflow, reducing the need to validate, version, document, commit, tag, and upload a package separately. The changelog uses help from a language model.

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-install.sh <remote-repo-url> --yes.

Good fit Use it to validate and test an ACP package, update its version, generate changelog entries, create Git tags, commit changes, and push them to a remote repository.

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-publish

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-publish

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/prmichaelsen/gcloud-mcp/acp.package-publish"><img src="https://agentmods.dev/badge/commands/prmichaelsen/gcloud-mcp/acp.package-publish.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 3,870 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.03870
Opus 5 $0.00000 $0.01935
Sonnet 5 $0.00000 $0.00774
Haiku 4.5 $0.00000 $0.00387

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

Security

Grade A, and why

acp.package-publish 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 8d 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-publish.md · 542 lines

How it starts

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

Command: package-publish

🤖 Agent Directive: If you are reading this file, the command @acp.package-publish has been invoked. Follow the steps below to execute this command. Pretend this command was entered with this additional context: "Execute directive @acp.package-publish 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-21 Last Updated: 2026-02-21 Status: Active Scripts: acp.package-publish.sh, acp.common.sh, acp.yaml-parser.sh


Purpose: Automated package publishing with validation, version detection, CHANGELOG generation, and testing Category: Maintenance Frequency: As Needed


What This Command Does

This command automates the complete package publishing workflow from validation through testing. It validates the package, detects the appropriate version bump from commit history using Conventional Commits, generates CHANGELOG entries with LLM assistance, commits changes, creates git tags, pushes to remote, and tests the published package by installing it from the remote repository.

Use this command when you're ready to publish a new version of your package. It ensures quality through comprehensive validation, maintains proper version history, automates tedious tasks like CHANGELOG updates, and verifies the package works after publishing.

Unlike manual publishing which is error-prone and time-consuming, this command provides a reliable, repeatable workflow that catches issues before they reach users.


Prerequisites

  • You are in an ACP package directory (package.yaml exists)
  • All changes committed or ready to commit
  • Git repository initialized with remote configured
  • On a valid release branch (main, master, mainline, release, or configured branch)
  • Package passes validation (@acp.package-validate)

Read the full file on GitHub · 542 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. 8d ago First seen · 542 lines · 0 tokens per session scan A f8ff15d8e786

Subscribe to this mod's changes

acp.package-publish 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 3,870 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.