acp.package-validate

acp.package-validate is a command for coding agents from prmichaelsen/gcloud-mcp. It costs 0 tokens per session (3,921 once invoked), scanned A, original, MIT.

A command that checks whether an ACP package is ready to publish. ACP is the package format used by this command, and the checks cover its files, configuration, repository, content, and test installation.

In plain words
What is it for?
For validating package files and YAML, reviewing package content, checking the Git repository, testing installation, and applying available fixes.
Why use it?
It finds structural or content problems before release and tests whether the package can be installed in a temporary location.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/prmichaelsen/gcloud-mcp/acp.package-validate.svg)](https://agentmods.dev/commands/prmichaelsen/gcloud-mcp/acp.package-validate)
Your own site
<a href="https://agentmods.dev/commands/prmichaelsen/gcloud-mcp/acp.package-validate"><img src="https://agentmods.dev/badge/commands/prmichaelsen/gcloud-mcp/acp.package-validate.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 3,921 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.03921
Opus 5 $0.00000 $0.01961
Sonnet 5 $0.00000 $0.00784
Haiku 4.5 $0.00000 $0.00392

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

Security

Grade A, and why

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

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-validate.md · 541 lines

How it starts

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

Command: package-validate

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


Purpose: Comprehensive package validation with shell and LLM checks, auto-fix, and test installation Category: Maintenance Frequency: As Needed


What This Command Does

This command performs comprehensive validation of an ACP package to ensure it's ready for publishing. It combines shell-based structural validation (files, YAML, git) with LLM-based content quality validation, tests the package by installing it to a temporary directory, checks remote repository availability, and offers auto-fix capabilities for common issues.

Use this command before publishing a package, after making significant changes, or when preparing a release. It catches issues early and provides actionable fixes, ensuring package quality and preventing broken installations for users.

Unlike @acp.validate which validates general ACP documentation, @acp.package-validate is specifically designed for package authors and includes package-specific checks like namespace consistency, remote availability, and test installation.


Prerequisites

  • You are in an ACP package directory (package.yaml exists)
  • Git repository initialized
  • Git remote configured
  • All package files created and documented

Steps

1. Detect Package Context

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

Subscribe to this mod's changes

acp.package-validate 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,921 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.