nearform/lastlight/debug-production
Claude Code and agent skill by nearform/lastlight
- community
Checking that the SKILL.md file is still in the repository.
Debug a running Last Light instance (usually production) via the `lastlight` CLI instead of SSH. Use when investigating a failed/stuck workflow, a bad agent run, a phase error, or "why didn't the bot do X" — anything that previously meant SSHing in to read SQLite or session logs.
Install
npx vskill@latest install nearform/lastlight/debug-productionSKILL.md
Debug a Last Light instance via the CLI
Read a running instance's state over its admin API with the lastlight CLI — no SSH, no poking SQLite or jsonl files on the box. Every command takes --json for machine-parseable output; prefer it when you need to extract fields.
0. Connect
The CLI talks to whatever instance you logged into (saved in ~/.lastlight/config.json). Confirm you're pointed at the right one and the token is valid:
If the token is missing/expired, authenticate (the prod instance URL lives in local agent memory — see the "Last Light production server" note):
For one-off targeting without saving, pass --url / --token on any command, or set LASTLIGHT_URL / LASTLIGHT_TOKEN (env wins over the saved config).
1. Find the broken run
Copy the run ID from the table.
2. Inspect the run's phases
The phase table shows which phase failed, its error snippet, and the SESSION id you need for the transcript.
3. Read / tail the agent transcript
4. Search across runs
--scope errors (default) matches the executions ledger (error/skill/repo); messages greps recent session transcripts; all does both.
5. Raw server / docker logs
When the workflow + session views aren't enough — a crash before any session was written, a sidecar misbehaving, harness boot errors — read the actual container logs (docker logs) over the API:
6. Approvals & health
Tips
- Add
--jsonto any command to pipe intojq(e.g.
lastlight workflow list --status failed --json | jq -r '.workflowRuns[].id').
- Triage flow:
workflow list --status failed→workflow log <id>→ grab the
failed phase's session → session log <session-id> → if it's a recurring symptom, logs search "<error text>" to see how often it happens.
- These are read-only except
approvals approve/rejectand the trigger
commands (build/triage/review/…) — debugging never mutates the box.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingapps/server/skills/debug-production/SKILL.md
Popularity
- Repository stars
- 40
- Repository forks
- 9
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nearform/lastlight/debug-production)