Skip to content
Back to skills

Prod Logs

ASecurity

Diagnose production on the VPS - container state, targeted logs, API health, system. Read-only. Use when the site or the API misbehaves.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 21, 2026
developmentgoapi

Works with

  • api

Security analysis

A100/100

Scanned October 21, 2026

npx -y skills add antoine-tena/kiln --skill prod-logs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Prod Logs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Prod Logs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/antoine-tena-prod-logs/badge)](https://www.skillsdirectory.com/skills/antoine-tena-prod-logs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: prod-logs
description: Diagnose production on the VPS - container state, targeted logs, API health, system. Read-only. Use when the site or the API misbehaves.
argument-hint: "[symptom or service]"
---

Symptom: `$ARGUMENTS`.
Repo settings: !`env | grep -E '^(KILN|PROJET)_(PROJECT|NOM|VPS|SITE|API_HEALTH|API_SANTE)' | sort`
(Repos generated before kiln 0.4: `PROJET_NOM`, `PROJET_VPS`, `PROJET_SITE`, `PROJET_API_SANTE`.)

**Read-only**: no `restart`, `rm`, `up`, no write on the server; never print a secret (`.env`,
`printenv`). Suggest corrective actions without performing them.

1. Public health: `curl -s -o /dev/null -w '%{http_code}' $KILN_API_HEALTH` and
   `curl -sI $KILN_SITE | head -5` (503 `DEPLOYMENT_PAUSED` → Vercel paused).
2. Containers: `ssh $KILN_VPS "podman ps -a --format '{{.Names}} {{.Status}}'"`. A container
   missing or `Exited` after a server reboot: check `systemctl is-enabled podman-restart` and the
   `always` policy.
3. Targeted logs of the `$KILN_PROJECT-*` containers related to the symptom:
   `ssh $KILN_VPS 'podman logs --since 2h <container> 2>&1 | grep -iE "error|exception|traceback|5[0-9]{2}" | tail -50'`.
   Proxy: `ssh $KILN_VPS 'journalctl -u caddy --since "2 hours ago" | tail -50'`.
4. System: `ssh $KILN_VPS 'df -h / ; free -m ; uptime ; systemctl --failed'`.
5. Conclude: probable cause, evidence (log lines without personal data), proposed fix;
   `scripts/ops/smoke-test.sh` to confirm after the fix.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.