vps-service-status
VPS Service Status
Quick health checks over SSH for a VPS that hosts Docker services.
Safety invariant
Direct ssh commands in this skill must be read-only. Any command that changes
state (sudo, systemctl, docker compose up/down/restart, prune, etc.) goes through
the clipboard so the user pastes it manually. This keeps the skill safe to run
without per-command confirmation. Do not relax this rule when extending the skill.
Configuration
This skill assumes:
- An SSH alias is configured in
~/.ssh/configfor the VPS (sossh <alias>connects without further flags). Below,<vps-host>is a placeholder for that alias — replace with whatever you use (e.g.hetzner,prod,myvps). - Services are managed with
docker composeand live under a known root such as/var/services/<service>/or/srv/<service>/. Adjust paths to match your VPS. - The clipboard helper is
pbcopy(macOS). On Linux substitutexclip -selection clipboardorwl-copy.
If the user has not told you their SSH alias or service root, ask once before running.
System Overview (direct, read-only)
ssh <vps-host> "echo '=== Containers ===' && docker ps --format 'table {{.Names}}\t{{.Status}}' && echo && echo '=== Disk ===' && df -h / && echo && echo '=== Memory ===' && free -h"
Containers (direct, read-only)
ssh <vps-host> "docker ps --format 'table {{.Names}}\t{{.Status}}\t{{.Ports}}'"
ssh <vps-host> "cd /var/services/<service> && docker compose logs --tail 30"
System Services (clipboard — needs sudo)
sudo over a non-interactive SSH command will fail (no TTY for the password
prompt), so these are copied to the clipboard for the user to paste after
SSH'ing in manually:
echo 'sudo systemctl status <unit> --no-pager' | pbcopy
echo 'sudo systemctl status caddy --no-pager' | pbcopy
echo 'sudo systemctl status webhook --no-pager' | pbcopy
Recent Deployments (clipboard — needs sudo)
echo 'sudo journalctl -u <unit> --since "1 hour ago" | grep -E "(Starting|finished|ERROR)"' | pbcopy
Detailed Checks
- Resource monitoring (disk, memory, CPU, network): references/resources.md
- Per-service health endpoint patterns: references/service-checks.md
More from jwa91/agentskills
interactive-learner
Personal AI tutoring skill that deeply researches any topic, then creates rich, interactive HTML courses with quizzes, simulators, debug challenges, explain-back exercises, real-world missions, and more. Tracks per-concept mastery across sessions with spaced repetition. Use when: (1) the user wants to learn a new topic, (2) the user says 'teach me X' or 'I want to learn X', (3) the user asks for an interactive lesson or course, (4) the user wants to study or review a subject. Works for any topic: technical, conceptual, creative, math, languages.
15mac-cleanup
Interactive macOS system cleanup for any dev machine. Frees disk space by pruning caches, package managers, unused apps, stale dev artifacts, and more. Discovers what's installed rather than assuming a specific setup. Always consults the user before deleting anything. Use when the user asks to: clean up their Mac, free disk space, remove unused apps, prune caches, clean developer artifacts, or any disk space maintenance task.
8spec
Interviews the user about a product idea or feature using structured questions, then generates a detailed spec document (SPEC.md). Use when the user wants to flesh out an idea, plan a feature, or create a buildable specification.
5personal-commit-review
Create a personal GitHub coding retrospective from a date range and turn it into a short Markdown review. Research commit activity across accessible public and private repositories through the authenticated gh CLI, understand what the relevant repositories and subsystems are for, and write a prose retrospective with stats and highlights. Use when the user asks for a commit review, coding recap, engineering retrospective, GitHub activity story, weekly/monthly/yearly highlights, or a written summary of what their commits achieved.
3env-inspector
Safely inspect .env files by showing key names and clearly non-sensitive values while redacting anything that looks like a secret. Best-effort heuristic redaction (keyword block + token-pattern blocklist + Shannon-entropy check + value allowlist) — not a cryptographic guarantee. Use when you need to understand a project's environment configuration without exposing credentials.
2vps-dependency-overview
Generate an offline-first dependency overview across services in a Docker-compose monorepo. Reports image tags & pinning quality, Dockerfile base images, runtime hints (Node/Python via .nvmrc, .python-version, package.json engines, pyproject.toml), and lockfile presence. Use when you want a single report of "what am I running and where are my update surfaces?" — no network calls, no pulls.
2