deploy

deploy is a skill for Claude Code from DefangLabs/defang. It costs 91 tokens per session (935 once invoked), scanned A, original, MIT.

Instructions for deploying a project to the cloud with Defang, a command-line deployment tool that uses Docker Compose service definitions. They cover checking the CLI, logging in, finding or creating a compose file, and selecting a deployment stack.

In plain words
What is it for?
Use them to verify Defang, authenticate, prepare deployment configuration, choose or create a stack, and deploy the project’s services.
Why use it?
They provide the required checks and decisions before turning local services into a cloud deployment.

Skill for Claude Code

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

Part of the defang plugin — 1 skill, 1 MCP server shipped together

Good fit Use them to verify Defang, authenticate, prepare deployment configuration, choose or create a stack, and deploy the project’s services.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/defanglabs/defang/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.

Any agent
npx skills add DefangLabs/defang --skill deploy
Clone the repo
git clone --depth 1 https://github.com/DefangLabs/defang

Made for: Claude Code.

Or install defang, the plugin that ships this one along with the rest of its 1 skill, 1 MCP server.

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/skills/defanglabs/defang/deploy/github.svg)](https://agentmods.dev/skills/defanglabs/defang/deploy)
Your own site
<a href="https://agentmods.dev/skills/defanglabs/defang/deploy"><img src="https://agentmods.dev/badge/skills/defanglabs/defang/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/skills/defanglabs/defang/deploy"><img src="https://agentmods.dev/badge/skills/defanglabs/defang/deploy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 935 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00091 $0.00935
Opus 5.5 $0.00036 $0.00374
Sonnet 5.5 $0.00018 $0.00187
Haiku 4.5 $0.00009 $0.00093

Measured 9d ago against content hash 6f2b0dcc9614, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

deploy scanned grade A with 1 finding 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 9d 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.

Makes network callslowCapability

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

- curl: `eval "$(curl -fsSL s.defang.io/install)"`
claude-plugin/skills/deploy/SKILL.md · 111 lines

How it starts

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

Deploy the current project using the Defang CLI by following these steps:

Step 1: Validate the CLI

Run defang --version to confirm the CLI is installed. If it is not found, install it:

  • npm: npm install -g defang
  • Homebrew: brew install DefangLabs/defang/defang
  • curl: eval "$(curl -fsSL s.defang.io/install)"

If you installed defang for the first time, run /reload-plugins to activate the Defang MCP server.

Step 2: Authenticate

Run defang whoami to check if the user is already logged in. If not, run defang login and wait for authentication to complete.

Step 3: Find or Create a compose.yaml file

Look for any compose.yaml files in the current directory or parent directories. If multiple are found, ask the user to select one. If none are found, ask the user if they want to create a new one. If yes, ask them about the services they want to deploy and generate a compose.yaml based on their answers. You will need to know which command each service should run, any environment variables they require, whether or not they should listen on a port, and if so, which one, and so on.

Step 4: Select or create a stack

A stack is a single deployed instance of the project in a specific cloud account and region, for example: production is deployed to aws in us-east-1. Additional configuration associated with a stack can be specified in the stack file (e.g., .defang/production). Note that stack variables are read at deployment time, and are not available at runtime in your application services.

List existing stacks:

defang stack list
  • If one or more stacks exist, ask the user whether to use an existing one or create a new one.
  • If no stacks exist, create a new one.

To create a stack interactively:

defang stack new

Required parameters:

  • Name: alphanumeric, cannot start with a number (e.g., production)
  • Provider: aws, gcp, or azure
  • Region: e.g., us-east-1 (AWS), us-central1 (GCP)
  • Deployment Mode: controls cost and resiliency

Read the full file on GitHub · 111 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. 9d ago Changed · -1 lines · +60 tokens per session 6f2b0dcc9614
  2. 3mo ago First seen · 112 lines · 31 tokens per session scan A cbe9c51908fb

Subscribe to this mod's changes

deploy is a skill published in the GitHub repository DefangLabs/defang (169 stars, last pushed 3d ago), licensed MIT. It adds 91 tokens to every session and 935 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

deploy compared with skills from other repositories

deploy next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
deployDefangLabs/defangSkill1693d agoMITA91Claude Code
ecspressokayac/ecspressoSkill1.1k7d agoMITA17Claude Code
cis-aws-database-3.2CyberStrikeus/CyberStrikeSkill3.8ktodayAGPL-3.0A17Claude Code, Codex
antideployantideploy/antideploy-mcpSkill81mo agoMITA193Claude Code
aws-cdk-disciplineabel30567/fermi-mcpSkill1yesterdayMITA32Claude Code
cloudflare-deployseaworld008/Commonly-used-high-value-skillsSkill75yesterdayMITA43Codex
netlify-deployseaworld008/Commonly-used-high-value-skillsSkill75yesterdayMITA51Codex