Give coding agents direct access to your logs. OpenLogs turns raw product, API, worker, and infra events into a stream agents can inspect so they can debug failures, trace requests, and answer with real runtime context instead of guesses.
$ npx -y skills add charlietlamb/openlogs --agent claude-code
Repo: charlietlamb/openlogs
What's inside
Give coding agents direct access to your logs.
OpenLogs turns raw product, API, worker, and infra events into a stream agents can inspect so they can debug failures, trace requests, and answer with real runtime context instead of guesses.
OpenLogs requires Bun as its runtime.
curl -fsSL https://bun.sh/install | bash
npm i -g openlogs
Prefix your existing dev command to pipe its output into the stream.
openlogs bun run dev
openlogs npm run dev
openlogs node server.js
Flags
| Flag | Description | Default |
|---|---|---|
--out-dir <path> | Directory for log files | .openlogs |
--name <name> | Override the command-specific log name | derived from command |
--raw-only | Skip cleaned text log, write raw only | — |
--text-only | Skip raw PTY log, write text only | — |
--no-history | Don't write timestamped history copies | — |
--print-paths | Print log file paths before running | — |
--raw-onlyand--text-onlyare mutually exclusive.
After each run, OpenLogs updates .openlogs/latest.raw.log and .openlogs/latest.txt for the most recent run in the project, and also keeps a command-specific latest log such as .openlogs/npm-run-dev.txt.
Your agent can tail the most recent run at any point during a debugging session, or ask for the most recent matching command.
openlogs tail
Flags
| Flag | Description | Default |
|---|---|---|
--out-dir <path> | Directory to find log file | .openlogs |
--raw | Read raw PTY log instead of cleaned text | — |
[query] | Match the most recent run whose command or name contains the query | latest run |
[tail args...] | Forwarded to system tail (e.g. -f, -n 50) | — |
openlogs tail -n 100
openlogs tail dev -n 100
openlogs tail server -f
openlogs tail --raw -n 100
openlogs tail -f
The OpenLogs skill teaches your agent when and how to check logs automatically — no manual prompting needed.
npx skills add https://github.com/charlietlamb/openlogs
bun install
bun run dev
Local CLI usage without installing globally:
bun packages/ol/src/cli.ts bun run dev
If OpenLogs is useful to you, a star helps others find it: github.com/charlietlamb/openlogs
FAQ
openlogs is a Claude Code plugin with 1 hand-picked skill for debugging work, indexed on Flowy. Install it with the command on its page. It includes openlogs-server-logs. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it