Loading...
Loading...
Capture browser console logs and dev server output to files with agent-tail. Use when debugging runtime errors, checking console output, tailing or diagnosing logs, or setting up Vite/Next.js log capture.
npx skill4agent add gillkyle/agent-tail agent-tailgreptailgrep -ri "error\|warn" tmp/logs/latest/
tail -50 tmp/logs/latest/browser.log
tail -f tmp/logs/latest/*.logtmp/logs/latest/| File | Source |
|---|---|
| Browser |
| stdout/stderr of a named service (CLI) |
| All services interleaved, prefixed with |
[HH:MM:SS.mmm] [LEVEL ] message (source-url)
stack trace indented with 4 spacesLOG WARN ERROR agent-tail run 'fe: npm run dev' 'api: uv run server' # run multiple services
agent-tail wrap api -- uv run fastapi-server # add to existing session
agent-tail init # create session only--log-dir <dir> Log directory (default: tmp/logs)
--max-sessions <n> Max sessions to keep (default: 10)
--no-combined Don't write combined.log
--exclude <pattern> Exclude lines matching pattern (repeatable, /regex/ or substring)
--mute <name> Mute service from terminal + combined.log (still logs to <name>.log)references/cli-reference.mdnpm install -D agent-tailagent-tail run 'name: command'references/setup-vite.mdreferences/setup-nextjs.mdCLAUDE.md.cursorrules## Dev Logs
All dev server output is captured to `tmp/logs/`. The latest session
is symlinked at `tmp/logs/latest/`.
When debugging, check logs before guessing about runtime behavior:
grep -ri "error\|warn" tmp/logs/latest/
tail -50 tmp/logs/latest/browser.logtmp/.gitignore