land-and-deploy

land-and-deploy is a command for coding agents from FlorianBruniaux/claude-code-plugins. It costs 23 tokens per session (2,853 once invoked), scanned A, original, MIT.

A command that finishes the delivery process after a pull request is created: it merges the request, waits for checks, verifies the deployment, and runs a health check. A pull request is a proposed change awaiting review and merge.

In plain words
What is it for?
Use it to merge a ready pull request and confirm that the resulting deployment is healthy.
Why use it?
It removes the need to perform and verify each release step manually, while stopping when authentication, checks, conflicts, or other critical conditions block the merge.

Command

Part of the devops-pipeline plugin — 11 skills, 8 commands shipped together

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/florianbruniaux/claude-code-plugins/land-and-deploy
Clone the repo
git clone --depth 1 https://github.com/FlorianBruniaux/claude-code-plugins

Or install devops-pipeline, the plugin that ships this one along with the rest of its 11 skills, 8 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 land-and-deploy

README.md
[![agentmods](https://agentmods.dev/badge/commands/florianbruniaux/claude-code-plugins/land-and-deploy.svg)](https://agentmods.dev/commands/florianbruniaux/claude-code-plugins/land-and-deploy)
Your own site
<a href="https://agentmods.dev/commands/florianbruniaux/claude-code-plugins/land-and-deploy"><img src="https://agentmods.dev/badge/commands/florianbruniaux/claude-code-plugins/land-and-deploy.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 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,853 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00023 $0.02853
Opus 5 $0.00012 $0.01426
Sonnet 5 $0.00005 $0.00571
Haiku 4.5 $0.00002 $0.00285

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

Security

Grade A, and why

land-and-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 5d 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 -sf -o /dev/null -w "%{http_code}" "${PROD_URL}" 2>/dev/null
plugins/devops-pipeline/commands/land-and-deploy.md · 365 lines

How it starts

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

Land and Deploy

Complete landing pipeline: merge the PR, wait for CI, verify the deployment, run a health check.

Picks up where /ship left off. /ship creates the PR. This command merges it and verifies production.

Non-interactive by default. The user said "land it" — so land it. Stop only for the critical readiness gate and hard blockers.

Instructions

Step 1: Pre-flight

# Verify GitHub CLI is authenticated
gh auth status

# Detect PR from current branch (or use argument if provided)
gh pr view --json number,state,title,url,mergeStateStatus,mergeable,baseRefName,headRefName

Stop conditions:

  • GitHub CLI not authenticated → "Run gh auth login first"
  • No PR exists → "No PR found for this branch. Run /ship first."
  • PR already merged → "PR is already merged."
  • PR is closed → "PR is closed. Reopen it first."

Step 2: CI Status Check

# Check current CI status
gh pr checks --json name,state,status,conclusion

# Check for merge conflicts
gh pr view --json mergeable -q .mergeable

Stop conditions:

  • Required checks FAILING → show failing checks, stop
  • mergeable is CONFLICTING → "PR has merge conflicts. Resolve them and push before landing."
  • Required checks PENDING → proceed to Step 3 (wait for CI)
  • All checks passing → skip to Step 3.5 (readiness gate)

Step 3: Wait for CI (if pending)

# Watch CI checks with 15-minute timeout
gh pr checks --watch --fail-fast
  • CI passes → continue to Step 3.5
  • CI fails → stop, show failures
  • Timeout (15 min) → "CI has been running for 15 minutes. Investigate manually."

Record CI wait duration for the deploy report.


Step 3.5: Pre-Merge Readiness Gate

This is the one critical confirmation before an irreversible merge. Collect all evidence, then get explicit approval.

Review staleness check
# How many commits since the last review in this branch?
git log --oneline $(git merge-base HEAD origin/main)..HEAD | wc -l

# What changed after any review was done?
git log --oneline -10

Read the full file on GitHub · 365 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. 5d ago First seen · 365 lines · 23 tokens per session scan A e7b249f69ede

Subscribe to this mod's changes

land-and-deploy is a command published in the GitHub repository FlorianBruniaux/claude-code-plugins (40 stars, last pushed 3d ago), licensed MIT. It adds 23 tokens to every session and 2,853 once invoked, about $0.0001 per session on Opus 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.