ssh-deploy

ssh-deploy is a skill for Claude Code from muchiny/bridge-mcp. It costs 61 tokens per session (754 once invoked), scanned A, original, MIT.

A manually invoked procedure for deploying software changes to remote servers or Kubernetes environments. It covers service restarts, canary deployments, rolling updates, and Helm upgrades.

In plain words
What is it for?
Use it when restarting a service, deploying to one test server first, updating several servers gradually, or upgrading a Kubernetes release.
Why use it?
It provides checks before and after a deployment, including confirming server health and preparing a rollback. It also requires confirmation before risky operations.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it when restarting a service, deploying to one test server first, updating several servers gradually, or upgrading a Kubernetes release.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/muchiny/bridge-mcp/ssh-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 muchiny/bridge-mcp --skill ssh-deploy
Clone the repo
git clone --depth 1 https://github.com/muchiny/bridge-mcp

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/muchiny/bridge-mcp/ssh-deploy/github.svg)](https://agentmods.dev/skills/muchiny/bridge-mcp/ssh-deploy)
Your own site
<a href="https://agentmods.dev/skills/muchiny/bridge-mcp/ssh-deploy"><img src="https://agentmods.dev/badge/skills/muchiny/bridge-mcp/ssh-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 ssh-deploy

Your own site · 80×15
<a href="https://agentmods.dev/skills/muchiny/bridge-mcp/ssh-deploy"><img src="https://agentmods.dev/badge/skills/muchiny/bridge-mcp/ssh-deploy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 754 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. 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.00061 $0.00754
Opus 5.5 $0.00024 $0.00302
Sonnet 5.5 $0.00012 $0.00151
Haiku 4.5 $0.00006 $0.00075

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

Security

Grade A, and why

ssh-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 3mo 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.

contrib/claude-skills/ssh-deploy/SKILL.md · 117 lines

How it starts

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

Deployment Operations

Deploy changes to remote infrastructure via bridge-mcp CLI. This skill is manual-only — invoke with /ssh-deploy.

Parse $ARGUMENTS: first word = host, second word = action (restart, canary, rolling, k8s, helm).

Pre-Deploy Checklist

Before ANY deployment, verify:

  1. Health check — confirm the target is healthy BEFORE changing anything:

    bridge-mcp tool ssh_diagnose host=HOST --json
    
  2. Confirm with user — always ask before proceeding with destructive operations.

  3. Know the rollback — have a rollback command ready before executing.

Deployment Patterns

Service Restart

# Check current status
bridge-mcp tool ssh_service_status host=HOST service=SERVICE --json

# Restart
bridge-mcp tool ssh_service_restart host=HOST service=SERVICE

# Verify recovery
bridge-mcp tool ssh_service_status host=HOST service=SERVICE --json

Canary Deploy

Deploy to a single canary host first, verify, then decide:

# Execute on canary
bridge-mcp tool ssh_canary_exec host=HOST command="DEPLOY_COMMAND"

# Health check canary
bridge-mcp tool ssh_diagnose host=HOST --json

# ASK the user before continuing to remaining hosts

Rolling Deploy

Execute on one host at a time with health checks between:

bridge-mcp tool ssh_rolling_exec host=HOST command="DEPLOY_COMMAND"

Kubernetes Rollout

# Check current state
bridge-mcp tool ssh_k8s_get host=HOST resource=deployments namespace=NAMESPACE --json

# Apply update
bridge-mcp tool ssh_k8s_apply host=HOST manifest="PATH_TO_YAML" namespace=NAMESPACE

# Watch rollout
bridge-mcp tool ssh_k8s_rollout host=HOST action=status deployment=DEPLOYMENT namespace=NAMESPACE

# Rollback if needed
bridge-mcp tool ssh_k8s_rollout host=HOST action=undo deployment=DEPLOYMENT namespace=NAMESPACE

Helm Upgrade

# Check current release
bridge-mcp tool ssh_helm_status host=HOST release=RELEASE --json

# Upgrade
bridge-mcp tool ssh_helm_upgrade host=HOST release=RELEASE chart=CHART

# Verify
bridge-mcp tool ssh_helm_status host=HOST release=RELEASE --json

# Rollback if needed
bridge-mcp tool ssh_helm_rollback host=HOST release=RELEASE

Read the full file on GitHub · 117 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. 3mo ago First seen · 117 lines · 61 tokens per session scan A 810d1db17b04

Subscribe to this mod's changes

ssh-deploy is a skill published in the GitHub repository muchiny/bridge-mcp (12 stars, last pushed 3d ago), licensed MIT. It adds 61 tokens to every session and 754 once invoked, about $0.0002 per session on Opus 5.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-31.

Related

ssh-deploy compared with skills from other repositories

ssh-deploy next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ssh-deploymuchiny/bridge-mcpSkill123d agoMITA61Claude Code
cc-devops-skillsseaworld008/Commonly-used-high-value-skillsSkill753d agoMITA37Claude Code, Codex
tianji-workermsgbyte/tianjiSkill3.1kyesterdayApache-2.0A38Claude Code, Codex
ecspressokayac/ecspressoSkill1.1ktodayMITA17Claude Code
cloudflare-deployHaohao-end/openagentSkill756yesterdayMITA43Codex
gatewaykurtosis-tech/kurtosisSkill560yesterdayApache-2.0A57Claude Code, Codex
backup-recoveryWrongStack/WrongStackSkill448yesterdayMITA87Claude Code, Codex