acp.project-set

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

A command for changing the active project in ACP, a workspace that keeps project records in one registry.

In plain words
What is it for?
Use it to select a registered project, change into its folder, update its last-used time, and continue working in that project's context.
Why use it?
It avoids manually finding project folders and updates which project the workspace treats as current.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/prmichaelsen/gcloud-mcp/acp.project-set.svg)](https://agentmods.dev/commands/prmichaelsen/gcloud-mcp/acp.project-set)
Your own site
<a href="https://agentmods.dev/commands/prmichaelsen/gcloud-mcp/acp.project-set"><img src="https://agentmods.dev/badge/commands/prmichaelsen/gcloud-mcp/acp.project-set.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 1,592 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.01592
Opus 5 $0.00000 $0.00796
Sonnet 5 $0.00000 $0.00318
Haiku 4.5 $0.00000 $0.00159

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

Security

Grade A, and why

acp.project-set 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.project-set.md · 228 lines

How it starts

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

Command: project-set

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


Purpose: Switch to a different project in the global registry Category: Workflow Frequency: As Needed


What This Command Does

This command enables seamless context switching between projects in the global ACP workspace. It:

  1. Sets the specified project as the current project in ~/.acp/projects.yaml
  2. Updates the project's last_accessed timestamp
  3. Changes the working directory to the project path
  4. Reports the new context to the user

After running this command, all subsequent file operations will be relative to the new project directory. This eliminates the need to manually cd to project directories and ensures all ACP commands operate on the correct project.

Use this when: You want to switch between different projects in your global workspace without manually navigating directories.


Prerequisites

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

Steps

1. Run Shell Script

Execute the project-set script with the project name.

Actions:

  • Run: ./agent/scripts/acp.project-set.sh <project-name>
  • Script validates project exists in registry
  • Script validates project directory exists
  • Script updates registry metadata
  • Script changes to project directory

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

Subscribe to this mod's changes

acp.project-set 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 1,592 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.