Skip to content
Back to skills

Ssh Deploy

ASecurity

This skill should be used when the user asks to "deploy to production", "restart a service", "do a rolling update", "canary deploy", "helm upgrade", or "rollout to K8s". Manual-only for safety — requires explicit /ssh-deploy invocation.

  • 10 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 3, 2026
devopsbashkubernetes

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add muchiny/bridge-mcp --skill ssh-deploy --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ssh Deploy?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ssh Deploy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/muchiny-ssh-deploy/badge)](https://www.skillsdirectory.com/skills/muchiny-ssh-deploy)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ssh-deploy
description: This skill should be used when the user asks to "deploy to production", "restart a service", "do a rolling update", "canary deploy", "helm upgrade", or "rollout to K8s". Manual-only for safety — requires explicit /ssh-deploy invocation.
user-invocable: true
disable-model-invocation: true
argument-hint: <host> <action>
compatibility: "2.1+"
---

# 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:

   ```bash
   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

```bash
# 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:

```bash
# 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:

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

### Kubernetes Rollout

```bash
# 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

```bash
# 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
```

## Post-Deploy

After every deployment:

1. **Health check** — verify the system is healthy:

   ```bash
   bridge-mcp tool ssh_diagnose host=HOST --json
   ```

2. **Verify service** — check the specific service/app is running:

   ```bash
   bridge-mcp tool ssh_service_status host=HOST service=SERVICE --json
   ```

3. **Report** — tell the user: what was deployed, current status, rollback command if needed.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.