deploy

deploy is a command for Claude Code from atxp-dev/claude. It costs 16 tokens per session (1,883 once invoked), scanned C, original, MIT.

A command that packages the current working directory and deploys it as a Claude agent to cloud.atxp.ai.

In plain words
What is it for?
Use it to deploy the project when the required ATXP connection setting and command-line tools are available.
Why use it?
It moves the current project into a hosted agent environment instead of leaving it only on the local machine.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cloud plugin — 5 commands shipped together

Good fit Use it to deploy the project when the required ATXP connection setting and command-line tools are available.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/atxp-dev/claude/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/atxp-dev/claude

Made for: Claude Code.

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

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/atxp-dev/claude/deploy/github.svg)](https://agentmods.dev/commands/atxp-dev/claude/deploy)
Your own site
<a href="https://agentmods.dev/commands/atxp-dev/claude/deploy"><img src="https://agentmods.dev/badge/commands/atxp-dev/claude/deploy/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 deploy

Your own site · 80×15
<a href="https://agentmods.dev/commands/atxp-dev/claude/deploy"><img src="https://agentmods.dev/badge/commands/atxp-dev/claude/deploy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 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,883 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00016 $0.01883
Opus 5.5 $0.00006 $0.00753
Sonnet 5.5 $0.00003 $0.00377
Haiku 4.5 $0.00002 $0.00188

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

Security

Grade C, and why

deploy scanned grade C with 2 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 1mo 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.

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

-x ".netrc" \

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- `curl` and `jq` must be available in your PATH
cloud/commands/deploy.md · 254 lines

How it starts

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

Deploy Command

This command packages and deploys the current working directory to cloud.atxp.ai.

Prerequisites

  • ATXP_CONNECTION_STRING environment variable must be set with your ATXP connection URL
  • The connection string should contain a connection_token query parameter
  • curl and jq must be available in your PATH

IMPORTANT: When this command is complete, share the uploaded instance URL with the user! The URL is in this format: https://cloud.atxp.ai/${instanceId}.

Steps

1. Extract the connection token from ATXP_CONNECTION_STRING

The connection token is a query parameter in the connection URL:

# Extract connection_token from the URL
CONNECTION_TOKEN=$(echo "$ATXP_CONNECTION_STRING" | grep -o 'connection_token=[^&]*' | cut -d= -f2)

if [ -z "$CONNECTION_TOKEN" ]; then
  echo "Error: Could not extract connection_token from ATXP_CONNECTION_STRING"
  exit 1
fi

2. Create a zip file of the current directory

# Create a temporary zip file (using mktemp for security)
TEMP_BASE=$(mktemp /tmp/deploy-XXXXXX)
ZIP_FILE="${TEMP_BASE}.zip"
rm "$TEMP_BASE"  # Remove the temporary placeholder
echo "Creating deployment package..."

# Zip the current directory, excluding common files and sensitive data
zip -r "$ZIP_FILE" . \
  -x ".git/*" \
  -x "node_modules/*" \
  -x "*/node_modules/*" \
  -x ".atxp-instance" \
  -x ".DS_Store" \
  -x "*/.DS_Store" \
  -x ".env.local" \
  -x ".env.*.local" \
  -x "*/.env.local" \
  -x "*/.env.*.local" \
  -x ".env.development" \
  -x "*/.env.development" \
  -x ".env.test" \
  -x "*/.env.test" \
  -x ".npmrc" \
  -x "*/.npmrc" \
  -x ".netrc" \
  -x "*/.netrc" \
  -x ".aws/*" \
  -x "*/.aws/*" \
  -x "*.pem" \
  -x "*.key" \
  -x "*.p12" \
  -x "*.pfx" \
  > /dev/null

echo "Package created: $(du -h "$ZIP_FILE" | cut -f1)"

3. Check for existing instance ID

The instance ID is stored in .atxp-instance in the current directory:

INSTANCE_FILE=".atxp-instance"
INSTANCE_ID=""

if [ -f "$INSTANCE_FILE" ]; then
  INSTANCE_ID=$(cat "$INSTANCE_FILE")
  echo "Found existing instance: $INSTANCE_ID"
fi

Read the full file on GitHub · 254 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. 1mo ago First seen · 254 lines · 16 tokens per session scan C 86a08b86d93d

Subscribe to this mod's changes

deploy is a command published in the GitHub repository atxp-dev/claude (2 stars, last pushed 10mo ago), licensed MIT. It adds 16 tokens to every session and 1,883 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 2 findings (reaches for credential files, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.