Skip to content
Back to skills

Ssh Incident

ASecurity

A diagnosis order for "the server is down", "the site is slow", "something broke". Use when investigating a problem on a remote server through the ssh_* tools, before changing anything.

  • 561 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 9, 2026
ai-agentsdatabase

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add bvisible/mcp-ssh-manager --skill ssh-incident --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ssh Incident?

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

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

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-incident
description: |
  A diagnosis order for "the server is down", "the site is slow", "something
  broke". Use when investigating a problem on a remote server through the ssh_*
  tools, before changing anything.
---

# Diagnosing before touching

The instinct under pressure is to restart something. Resist it for four calls:
a restart that fixes the symptom destroys the evidence, and you will be back
tomorrow.

## The order, and why it is this order

**1. `ssh_health_check`** — one call, and it answers most incidents outright.
A full disk, memory exhaustion and a load spike all look like "the site is down"
from outside. Start here every time.

**2. `ssh_service_status`** on the services that matter — the web server, the
database, the app. "Active" with a recent start time means something restarted
it; that is a clue, not a resolution.

**3. `ssh_tail`** on the relevant log, with `follow: false` so you get the last
lines back rather than a stream. The error is usually in there, in plain text,
and reading it takes ten seconds. Guessing takes an hour.

**4. `ssh_process_manager`** to list processes when the health check pointed at
CPU or memory. Find what is eating the machine before deciding what to do about
it.

Only now consider changing something.

## Things that are true more often than they should be

- **A full disk presents as everything being broken.** Logs cannot be written,
  databases refuse writes, uploads fail. Check `disk` in the health output first,
  and look at `/var/log` before blaming the application.
- **"It worked yesterday" usually means something rotated, filled, or expired.**
  A log that stopped rotating, a certificate, a token, a disk crossing 100%.
- **A service that is running is not a service that is working.** `active
  (running)` and a port nobody answers on are entirely compatible.
- **Check whether it is only you.** A network path, a DNS entry or a firewall
  rule can make one machine look dead from where you are and fine from elsewhere.

## What not to do

- Do not restart a service before reading its logs. You lose the reason.
- Do not clear a log file to free disk space without looking at it first; move it
  aside if you must, and let the service reopen its handle.
- Do not run a fix on every server in a group because it worked on one. Confirm
  the same symptom is there first.
- Do not report "fixed" when you restarted something and the symptom went away.
  Say what you found and what you did — if you did not find a cause, say that too.

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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