mcpField
S
server-management

server-management

github.com/sickn33Cloud & DevOps48.7k871 installsUpdated today
Repository

About server-management

server-management is a production operations skill for people managing servers. It offers decision principles for process supervision, monitoring, logs, scaling, health checks, security, and troubleshooting rather than a command reference.

Key features

  1. 01Process management choices
  2. 02Monitoring and alert severity
  3. 03Log rotation and structured logging
  4. 04Scaling and health-check guidance
  5. 05Security and troubleshooting principles

Use cases

  1. 01Choosing a process manager for an application
  2. 02Planning monitoring and log practices
  3. 03Diagnosing server availability or performance issues

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/sickn33/agentic-awesome-skills --skill server-management

After installing, type/server-managementin Claude Code to confirm it loaded.

Details

From the project README

Server Management

Server management principles for production operations. Learn to THINK, not memorize commands.


1. Process Management Principles

Tool Selection
ScenarioTool
Node.js appPM2 (clustering, reload)
Any appsystemd (Linux native)
ContainersDocker/Podman
OrchestrationKubernetes, Docker Swarm
Process Management Goals
GoalWhat It Means
Restart on crashAuto-recovery
Zero-downtime reloadNo service interruption
ClusteringUse all CPU cores
PersistenceSurvive server reboot

2. Monitoring Principles

What to Monitor
CategoryKey Metrics
AvailabilityUptime, health checks
PerformanceResponse time, throughput
ErrorsError rate, types
ResourcesCPU, memory, disk
Alert Severity Strategy
LevelResponse
CriticalImmediate action
WarningInvestigate soon
InfoReview daily
Monitoring Tool Selection
NeedOptions
Simple/FreePM2 metrics, htop
Full observabilityGrafana, Datadog
Error trackingSentry
UptimeUptimeRobot, Pingdom

3. Log Management Principles

Log Strategy
Log TypePurpose
Application logsDebug, audit
Access logsTraffic analysis
Error logsIssue detection
Log Principles
  1. Rotate logs to prevent disk fill
  2. Structured logging (JSON) for parsing
  3. Appropriate levels (error/warn/info/debug)
  4. No sensitive data in logs

4. Scaling Decisions

When to Scale
SymptomSolution
High CPUAdd instances (horizontal)
High memoryIncrease RAM or fix leak
Slow responseProfile first, then scale
Traffic spikesAuto-scaling
Scaling Strategy
TypeWhen to Use
VerticalQuick fix, single instance
HorizontalSustainable, distributed
AutoVariable traffic

5. Health Check Principles

What Constitutes Healthy
CheckMeaning
HTTP 200Service responding
Database connectedData accessible
Dependencies OKExternal services reachable
Resources OKCPU/memory not exhausted
Health Check Implementation
  • Liveness: confirm the process can make progress; do not fail it solely because a shared dependency is down.
  • Readiness: check dependencies needed to serve traffic, using bounded timeouts.
  • A static 200 alone does not prove application health; keep diagnostic detail private.

6. Security Principles

AreaPrinciple
AccessSSH keys only, no passwords
FirewallOnly needed ports open
UpdatesRegular security patches
SecretsApproved secret store or protected runtime injection; keep credentials out of source and logs
AuditLog access and changes

7. Troubleshooting Priority

When something's wrong:

  1. Check if running (process status)
  2. Check logs (error messages)
  3. Check resources (disk, memory, CPU)
  4. Check network (ports, DNS)
  5. Check dependencies (database, APIs)

8. Anti-Patterns

❌ Don't✅ Do
Run as rootUse non-root user
Ignore logsSet up log rotation
Skip monitoringMonitor from day one
Manual restartsAuto-restart config
No backupsRegular backup schedule

Remember: A well-managed server is boring. That's the goal.

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Example

User request:

Use @server-management for this task: Server management principles and decision-making.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Comments

Markdown supported