command.template

command.template is a command for Claude Code from prmichaelsen/gcloud-mcp. It costs 0 tokens per session (2,210 once invoked), scanned A, original, MIT.

A reusable template for documenting and running a command, including its metadata, purpose, arguments, and required shell scripts.

In plain words
What is it for?
Use it when creating or describing commands with namespaces, statuses, categories, schedules, arguments, and shell-script dependencies.
Why use it?
It gives command authors a consistent format and records every script dependency so the command can be checked against its package configuration.

Command for Claude Code

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

Good fit Use it when creating or describing commands with namespaces, statuses, categories, schedules, arguments, and shell-script dependencies.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/prmichaelsen/gcloud-mcp/command.template
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.

Clone the repo
git clone --depth 1 https://github.com/prmichaelsen/gcloud-mcp

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 command.template

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/prmichaelsen/gcloud-mcp/command.template"><img src="https://agentmods.dev/badge/commands/prmichaelsen/gcloud-mcp/command.template.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 2,210 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.02210
Opus 5.5 $0.00000 $0.00884
Sonnet 5.5 $0.00000 $0.00442
Haiku 4.5 $0.00000 $0.00221

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

Security

Grade A, and why

command.template 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/command.template.md · 340 lines

How it starts

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

Command: {command-name}

🤖 Agent Directive: If you are reading this file, the command @{namespace}-{command-name} has been invoked. Follow the steps below to execute this command. Pretend this command was entered with this additional context: "Execute directive `@{namespace}-{command-name} 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: {namespace} Version: 1.0.0 Created: YYYY-MM-DD Last Updated: YYYY-MM-DD Status: [Draft | Active | Deprecated] Scripts: {namespace}.{command-name}.sh, acp.common.sh, acp.yaml-parser.sh


Note: The **Scripts**: field is REQUIRED and must list ALL script dependencies (direct + shared utilities). This must match the scripts array in package.yaml exactly. If the command has no script dependencies, use **Scripts**: None.


Purpose: [One-line description of what this command does] Category: [Workflow | Documentation | Maintenance | Creation | Custom] Frequency: [Once | Per Session | As Needed | Continuous]


Arguments

[If your command accepts arguments, document them here. Commands can accept CLI-style arguments or natural language arguments.]

CLI-Style Arguments (optional):

  • --flag or -f - Description of what this flag does
  • --option <value> - Description of option that takes a value
  • --another-flag - Another flag description

Natural Language Arguments (optional):

  • @{namespace}.{command} for specific item - Description
  • @{namespace}.{command} with custom setting - Description

Argument Mapping: Arguments are inferred from chat context. The agent will:

  1. Parse explicit CLI-style flags if present
  2. Extract intent from natural language
  3. Ask for clarification if ambiguous
  4. Default to interactive mode if unclear

Example:

## Arguments

**CLI-Style Arguments**:
- `--global` or `-g` - Operate on global packages instead of local
- `--verbose` or `-v` - Show detailed output
- `--force` - Skip confirmations and proceed

**Natural Language Arguments**:
- `@acp.package-list global packages` - List global packages
- `@acp.package-list with details` - Verbose mode

**Argument Mapping**:
The agent infers intent from context. "Show me global packages" maps to `--global` flag.

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

Subscribe to this mod's changes

command.template 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 2,210 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

command.template compared with commands from other repositories

command.template next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
command.templateprmichaelsen/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