Web & Frontend DevelopmentDocumentedScanned
linux-service-triage
Diagnoses common Linux service issues using logs, systemd/PM2, file permissions.
Share:
Installation
npx clawhub@latest install linux-service-triageView the full skill documentation and source below.
Documentation
Linux & service basics: logs, systemd/PM2, permissions, Nginx reverse proxy, DNS checks
PURPOSE
Diagnoses common Linux service issues using logs, systemd/PM2, file permissions, Nginx reverse proxy checks, and DNS sanity checks.WHEN TO USE
- TRIGGERS:
- DO NOT USE WHEN…
INPUTS
- REQUIRED:
- OPTIONAL:
- EXAMPLES:
systemctl status myapp output + journalctl excerpt
- Nginx server block + domain + upstream port
OUTPUTS
- Default: triage report (likely cause, evidence from logs, minimal fix plan).
- If explicitly requested and safe: exact shell commands to apply the fix.
WORKFLOW
references/triage-commands.md).
OUTPUT FORMAT
TRIAGE REPORT
- Symptom:
- Evidence (what you provided):
- Most likely cause:
- Fix plan (minimal steps):
- Exact commands (ONLY if user approved changes):
- Verification:
- Rollback:
SAFETY & EDGE CASES
- Read-only by default: diagnose from provided outputs; do not assume you can run commands.
- Avoid destructive changes; require explicit confirmation for anything risky.
- Prefer
nginx -tbefore reload and verify ports withss.
EXAMPLES
- Input: “journal shows permission denied on /var/app/uploads.”
- Input: “App works locally but domain returns 502.”