Skip to content

CruxExperts/LocalSetup / ls/skills/ls-linux-service-triage

ls-linux-service-triage

Verified

Diagnoses 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.

FileKindSize
SKILL.mdskill md3.8 KB
references/triage-commands.mdmarkdown600 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>`
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
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: 196kUpdated Claude CodeCodexVerifiedInstall