openlogs-server-logs
Original:🇺🇸 English
Translated
Fetch and inspect recent local server logs in repos that use openlogs or the `ol` CLI. Use when a user asks what happened in the server, wants recent dev-server output, needs startup errors or stack traces, or asks you to check backend logs from `openlogs tail`, command-specific logs, or `.openlogs/latest.txt`.
6installs
Sourcecharlietlamb/openlogs
Added on
NPX Install
npx skill4agent add charlietlamb/openlogs openlogs-server-logsTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Openlogs Server Logs
Use to retrieve recent server logs before asking the user to paste anything. Prefer the cleaned text log unless ANSI or raw terminal bytes matter.
openlogs tailQuick Start
- Run to inspect the latest run in the project.
openlogs tail -n 200 - If the user mentions a specific command or service, run to get the most recent matching run.
openlogs tail <query> -n 200 - Use if the short alias is preferred.
ol tail -n 200 - Read directly only when file access is simpler than spawning the command and you specifically want the latest overall run.
.openlogs/latest.txt - Use only when color codes, cursor control, or exact terminal output matters.
openlogs tail --raw -n 200 - Use for live follow mode.
openlogs tail -f
Workflow
- Try .
openlogs tail -n 200 - If the user names a command or service, try .
openlogs tail <query> -n 200 - If that fails, try .
ol tail -n 200 - If the CLI is unavailable but the workspace is accessible, read or the matching command-specific file in
.openlogs/latest.txt..openlogs/ - If the log directory is missing, check whether the server was started with or
openlogs <command>.ol <command> - If it was not, tell the user to relaunch the server through openlogs, then inspect the resulting logs.
Common Commands
bash
openlogs tail -n 100
openlogs tail dev -n 100
openlogs tail server -f
openlogs tail -f
openlogs tail --raw -n 100
openlogs tail --out-dir logs -n 200
openlogs bun dev
ol npm run devInterpretation Rules
- Prefer the text log for analysis because it strips ANSI noise.
- without a query means the latest run overall in the current project.
openlogs tail - means the latest run whose command or explicit name contains that query.
openlogs tail <query> - Switch to only when the cleaned log hides something important.
--raw - Quote the exact failing lines or error block in your answer when useful.
- State whether you are looking at the latest captured run or a live-following stream.
- If the agent cannot access local gitignored files, ask the user to run and paste the output.
openlogs tail -n 200
Response Shape
- Start with the command or file you used.
- Summarize the likely issue in 1 to 3 sentences.
- Include the most relevant error lines.
- If logs are missing, say exactly what command the user should rerun under openlogs.