acp.init

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

A command that prepares an AI coding session by loading project documentation, reviewing source files, checking ACP information, and restoring session context. It also supports quick startup and skipping selected steps.

In plain words
What is it for?
Starting a work session, reviewing project plans and code, discovering packages, and restoring progress.
Why use it?
It gives the agent the background it needs before changing code and can recover useful context from earlier work.

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.init
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.init

README.md
[![agentmods](https://agentmods.dev/badge/commands/prmichaelsen/gcloud-mcp/acp.init.svg)](https://agentmods.dev/commands/prmichaelsen/gcloud-mcp/acp.init)
Your own site
<a href="https://agentmods.dev/commands/prmichaelsen/gcloud-mcp/acp.init"><img src="https://agentmods.dev/badge/commands/prmichaelsen/gcloud-mcp/acp.init.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 4,216 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.04216
Opus 5 $0.00000 $0.02108
Sonnet 5 $0.00000 $0.00843
Haiku 4.5 $0.00000 $0.00422

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

Security

Grade A, and why

acp.init 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 3d 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.init.md · 547 lines

How it starts

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

Command: init

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

Namespace: acp Version: 1.1.0 Created: 2026-02-16 Last Updated: 2026-03-09 Status: Active Scripts: None


Purpose: Initialize agent context by loading all documentation, reviewing source code, and preparing for work Category: Workflow Frequency: Once Per Session


Arguments

Argument Aliases Description
--quick -q Fast init: skips version checks, source file review, and documentation sync. Equivalent to --skip checks,files,sync
--skip <items> Comma-separated list of steps to skip. Valid items: checks, sessions, docs, global, keys, files, sync, progress

Skip Items Reference

Item Steps Skipped Description
checks Step 1 ACP version update check
sessions Step 1.5 Session registration and sibling display
docs Step 2 Reading agent documentation (progress, designs, milestones, tasks, patterns)
global Step 2.5 Global package discovery
keys Step 2.8 Key file index reading
files Steps 3-4 Source file identification and review
sync Steps 5-6 Documentation drift detection and stale doc updates
progress Step 7 Progress tracking updates

Argument Parsing

Arguments are parsed from the user's invocation using natural language matching:

  • @acp-init --quick or @acp-init -q
  • @acp-init --skip checks,sync
  • @acp-init --quick --skip sessions (quick mode plus additional skips)
  • @acp-init --skip checks,files,sync,progress (granular control)

When --quick is combined with --skip, the skip sets are merged (union).


What This Command Does

This command performs a comprehensive initialization of the agent's context for working on an ACP-structured project. It checks for ACP updates, reads all documentation in the agent/ directory, reviews key source files to understand the current implementation, updates any stale documentation, and refreshes progress tracking.

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

Subscribe to this mod's changes

acp.init 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 4,216 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.