# server-management

A Claude skill that gives the agent a decision framework for processes, monitoring, logs and scaling instead of a command cheat sheet.

- skill · `type=skill` · Claude Code · 76 installs
- Author: davila7
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/development/server-management
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/server-management

## What it does

\`server-management` is a set of principles and decision tables for running servers. Eight sections cover process management, monitoring, logging, scaling, health checks, security, troubleshooting order and anti-patterns. The agent gets reasoning, not recipes: PM2 for Node.js, systemd for anything else, Docker for containers, Kubernetes for orchestration.

The tables carry the practical weight. Which signals to watch (availability, latency, errors, resources), how to rank alerts, when vertical scaling beats adding instances. Logging gets its own rules: rotate, use structured JSON, pick levels, keep secrets out. Troubleshooting follows a fixed order — process, logs, resources, network, dependencies.

The skill declares `Read`, `Write`, `Edit`, `Glob`, `Grep` and `Bash`. So the agent can open configs, edit them and run commands. Point it at a production box and it will act on these principles, systemd units and PM2 configs included. Scope its permissions first if you don't want it touching live services.

## Install

### Claude Code (native platform)

1. **claude-code-templates**
```bash
npx claude-code-templates@latest --skill development/server-management
```

2. **Skills CLI (Vercel)**
```bash
npx skills add davila7/claude-code-templates --skill server-management -a claude-code
```

3. **Manually: put the files in place**
- File: `~/.claude/skills/server-management/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/server-management/

### Codex

**Manually: put the files in place**
- File: `.agents/skills/server-management/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

**Manually: put the files in place**
- File: `.cursor/skills/server-management/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install davila7/claude-code-templates server-management
```

2. **Manually: put the files in place**
- File: `.github/skills/server-management/SKILL.md`

### Gemini CLI

**Platform CLI**
```bash
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/development/server-management
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/server-management/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/development/server-management

## When to use it
- pick between PM2, systemd and Docker for a given app
- set up auto-restart when a process crashes
- rank alerts by severity before the pager goes off
- decide whether to add RAM or add instances
- walk a fixed checklist when a service stops responding

## Example prompts
- My Node.js service dies overnight. Use the skill's principles to set up auto-restart.
- Help me choose a process manager for a Python app on a single server.
- The service slows down under load. Walk the troubleshooting order and tell me what to check first.

## Similar
- [cyrus-setup-launch](https://affpapa.org/en/nevibecode/skills/cyrus-setup-launch.md) — skill · 997 installs
- [digitalocean-management](https://affpapa.org/en/nevibecode/skills/digitalocean-management.md) — skill · 438 installs
- [cli-anything-pm2](https://affpapa.org/en/nevibecode/skills/cli-anything-pm2.md) — skill · 491 installs
- [system-admin](https://affpapa.org/en/nevibecode/skills/system-admin.md) — skill · 561 installs
- [systemd-services](https://affpapa.org/en/nevibecode/skills/systemd-services.md) — skill · 504 installs
- [emisar](https://affpapa.org/en/nevibecode/mcp/emisar.md) — MCP server · ★ 330

From the same set: [davila7/claude-code-templates](https://affpapa.org/en/nevibecode/by/davila7/claude-code-templates.md) — 495 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
