CruxExperts/LocalSetup / ls/skills/ls-linux-service-triage
ls-linux-service-triage
VerifiedDiagnoses common Linux service issues using logs, systemd/PM2, file permissions, Nginx reverse proxy checks, and DNS sanity checks. Use when a server app is failing, unreachable, or misconfigured.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 3.8 KB |
| references/triage-commands.md | markdown | 600 B |
references/triage-commands.md
View on GitHub# Linux Service Triage Commands (safe first)
## Logs
- systemd: `journalctl -u <service> -n 200 --no-pager`
- live: `journalctl -u <service> -f`
- PM2: `pm2 logs <name> --lines 200`
## Status
- systemd: `systemctl status <service> --no-pager`
- ports: `ss -H -ltnp 'sport = :<port>'`
- processes: `pgrep -af '<name>'`
## Permissions
- `ls -la <path>`
- `namei -l <path>` (checks each directory in path)
## Nginx
- config test: `nginx -t`
- reload: `systemctl reload nginx`
- logs: `/var/log/nginx/access.log`, `/var/log/nginx/error.log`
## DNS sanity
- `dig +short <host>`
- `dig +trace <host>`
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |