deploy

deploy is a command for Claude Code from sherpa-sh/Sherpa-Action. It costs 15 tokens per session (380 once invoked), scanned A, original, Apache-2.0.

A build-and-deploy command that prepares a project, creates its cloud resources, and uploads it to a chosen cloud provider.

In plain words
What is it for?
Publishing an application and its static files to the cloud, then recording the commands, API calls, and configuration changes that worked.
Why use it?
It brings the preparation, build, infrastructure setup, deployment, and record-keeping steps into one repeatable process.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the Sherpa plugin — 5 commands, 5 MCP servers shipped together

Good fit Publishing an application and its static files to the cloud, then recording the commands, API calls, and configuration changes that worked.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/sherpa-sh/sherpa-action/deploy
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/sherpa-sh/Sherpa-Action

Made for: Claude Code.

Or install Sherpa, the plugin that ships this one along with the rest of its 5 commands, 5 MCP servers.

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 deploy

README.md
[![agentmods](https://agentmods.dev/badge/commands/sherpa-sh/sherpa-action/deploy.svg)](https://agentmods.dev/commands/sherpa-sh/sherpa-action/deploy)
Your own site
<a href="https://agentmods.dev/commands/sherpa-sh/sherpa-action/deploy"><img src="https://agentmods.dev/badge/commands/sherpa-sh/sherpa-action/deploy.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 380 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.00015 $0.00380
Opus 5 $0.00008 $0.00190
Sonnet 5 $0.00003 $0.00076
Haiku 4.5 $0.00002 $0.00038

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

Security

Grade A, and why

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

sherpa/commands/deploy.md · 35 lines

What it actually says

Take the user context into account when building and deploying the project: "$ARGUMENTS"

Be vocal, share the steps you are taking.

Step 1: Prep

  1. If .sherpa.sh/build-info.md doesn't exist run the plugin command /Sherpa/detect-build-info.
  2. If .sherpa.sh/deployment-plan.md doesn't exist run the plugin command /Sherpa/plan-deployment.

Step 2: Build 3. Run /Sherpa/build to build the project 4. Run /Sherpa/create-infrastructure to ensure the needed infrastructure exists

Step 3: Deployment:

  1. Read the files .sherpa.sh/build-info.md and .sherpa.sh/deployment-plan.
  2. Execute the deployment plan by uploading and running the application code and static assets based on the deployment plan. Always use the provider skill. Always use the MCP server. Never use Terraform.

Step 4: Document (REQUIRED - DO NOT SKIP) You MUST complete this step before finishing.

  1. Write the commands that worked to build and deploy into .sherpa.sh/executionlog.md (overwrite what's existing) for later use so you can repeat the process. Include:

    • Build commands used
    • Deployment commands and API calls made
    • Any configuration changes applied
    • Timestamp of this deployment
  2. Verify .sherpa.sh/infrastructure.md exists and is up to date (created by /Sherpa/create-infrastructure).

IMPORTANT! NEVER write secrets, credentials, passwords, or API keys into these documents. Refer to them by UPPERCASE variable names (e.g., $CLOUDFLARE_API_TOKEN).

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 · 35 lines · 15 tokens per session scan A be6a6d22f578

Subscribe to this mod's changes

deploy is a command published in the GitHub repository sherpa-sh/Sherpa-Action (22 stars, last pushed 7mo ago), licensed Apache-2.0. It adds 15 tokens to every session and 380 once invoked, about $0.0001 per session on Opus 5. 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-30.