openlogs-server-logs
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`.
How do I install this agent skill?
npx skills add https://github.com/charlietlamb/openlogs --skill openlogs-server-logsIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill allows the agent to inspect local server logs using the openlogs CLI. The primary risk is indirect prompt injection, as the agent processes log data which could contain malicious instructions from external sources. It also involves local command execution and access to potentially sensitive log files.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerpass
2/2 files flagged
What does this agent skill do?
Openlogs Server Logs
Use openlogs tail to retrieve recent server logs before asking the user to paste anything. Prefer the cleaned text log unless ANSI or raw terminal bytes matter.
Quick Start
- Run
openlogs tail -n 200to inspect the latest run in the project. - If the user mentions a specific command or service, run
openlogs tail <query> -n 200to get the most recent matching run. - Use
ol tail -n 200if the short alias is preferred. - Read
.openlogs/latest.txtdirectly only when file access is simpler than spawning the command and you specifically want the latest overall run. - Use
openlogs tail --raw -n 200only when color codes, cursor control, or exact terminal output matters. - Use
openlogs tail -ffor live follow mode.
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
.openlogs/latest.txtor the matching command-specific file in.openlogs/. - If the log directory is missing, check whether the server was started with
openlogs <command>orol <command>. - If it was not, tell the user to relaunch the server through openlogs, then inspect the resulting logs.
Common Commands
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 dev
Interpretation Rules
- Prefer the text log for analysis because it strips ANSI noise.
openlogs tailwithout a query means the latest run overall in the current project.openlogs tail <query>means the latest run whose command or explicit name contains that query.- Switch to
--rawonly when the cleaned log hides something important. - 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
openlogs tail -n 200and paste the output.
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.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/charlietlamb/openlogs/openlogs-server-logs">View openlogs-server-logs on skillZs</a>