vibe-safe-deploy

vibe-safe-deploy is a skill for Claude Code, Codex from mracal/vibe-engineering. It costs 35 tokens per session (554 once invoked), scanned A, a copy of vibe-safe-deploy, MIT.

A deployment procedure with checks before release, an atomic replacement, health verification, and rollback. Deployment means putting a new version of software into a staging or production environment.

In plain words
What is it for?
Use it before deploying application or infrastructure changes to staging or production. It checks the build and working tree, backs up the current state, verifies the service, and restores the prior version when needed.
Why use it?
It catches failed tests, lint errors, secrets, build problems, or unsafe migrations before release. It also keeps a previous version available if the new one fails after deployment.

Skill for Claude CodeCodex

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 skills/mracal/vibe-engineering/safe-deploy
Any agent
npx skills add mracal/vibe-engineering --skill safe-deploy
Clone the repo
git clone --depth 1 https://github.com/mracal/vibe-engineering

Made for: Claude Code, Codex.

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 vibe-safe-deploy

README.md
[![agentmods](https://agentmods.dev/badge/skills/mracal/vibe-engineering/safe-deploy.svg)](https://agentmods.dev/skills/mracal/vibe-engineering/safe-deploy)
Your own site
<a href="https://agentmods.dev/skills/mracal/vibe-engineering/safe-deploy"><img src="https://agentmods.dev/badge/skills/mracal/vibe-engineering/safe-deploy.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 554 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00035 $0.00554
Opus 5 $0.00017 $0.00277
Sonnet 5 $0.00007 $0.00111
Haiku 4.5 $0.00003 $0.00055

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

Security

Grade A, and why

vibe-safe-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 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.

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.

Origin

This is a copy

100% identical to vibe-safe-deploy — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/safe-deploy/SKILL.md · 83 lines

What it actually says

vibe-safe-deploy

Ship with confidence. Every deployment should be verifiable and reversible.

When to Use This Skill

  • Deploying to staging or production environments
  • Releasing a new version
  • Deploying infrastructure changes

When NOT to Use This Skill

  • Local development builds
  • CI/CD that already handles these checks
  • Deploying documentation (low risk)

Pre-Flight Checklist

Before deploying, verify:

  • All tests pass (including integration tests)
  • Linting is clean
  • No uncommitted changes in working tree
  • No secrets in the diff (grep -r 'API_KEY\|SECRET\|PASSWORD')
  • Build succeeds
  • Database migrations are reversible (if applicable)

Steps

  1. Pre-flight checks — Run all items in checklist. Stop if any fail.

  2. Backup current state:

    cp -r current_deploy/ current_deploy.prev/
    # or: docker tag app:current app:rollback
    
  3. Deploy using atomic operations:

    # Use 'install' not 'cp' for atomic file replacement
    install -m 755 new_binary /path/to/binary
    # or: docker tag app:new app:current && docker-compose up -d
    
  4. Health check (within 60s timeout):

    • Service starts successfully
    • Health endpoint returns 200
    • Key functionality works (smoke test)
    • No error spikes in logs
  5. If health check fails → automatic rollback:

    cp -r current_deploy.prev/ current_deploy/
    # Restart services with previous version
    
  6. Report status: success / failed / rolled-back

Output Format

Deployment Report

Status: SUCCESS / FAILED / ROLLED_BACK Version: [version or commit hash] Duration: [time]

Step Status Duration
Pre-flight 5s
Backup 2s
Deploy 10s
Health check 15s

Post-Deploy Verification

  • Service running: ✓
  • Health endpoint: 200 OK
  • Log errors: 0 in last 60s
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 · 83 lines · 35 tokens per session scan A 27ec6f552f6a

Subscribe to this mod's changes

vibe-safe-deploy is a skill published in the GitHub repository mracal/vibe-engineering (3 stars, last pushed 5d ago), licensed MIT. It adds 35 tokens to every session and 554 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to vibe-safe-deploy, differing in 0 lines, and is treated as a copy.