noteplan/plugins/nplog
Claude Code and agent skill by noteplan/plugins
- community
Checking that the SKILL.md file is still in the repository.
Read NotePlan's plugin log to debug a plugin. Use when investigating why a NotePlan plugin misbehaved, after triggering a plugin command or x-callback URL, when the user says a plugin "isn't working"/"threw an error"/"did nothing", or when you need to see what a plugin logged. Wraps `scripts/nplog/nplog --json`, which parses the log into structured records -- do NOT grep the raw log file, it has three traps that silently return zero results.
Install
npx vskill@latest install noteplan/plugins/nplogSKILL.md
Reading the NotePlan plugin log
scripts/nplog/nplog parses NotePlan's log into structured records. Run as node scripts/nplog/nplog from the repo root, or nplog after ./scripts/nplog/install.sh.
Always use `--json` for programmatic reading. The default mode is a full-screen interactive viewer and will hang a non-TTY caller.
Core loop: "what happened when I did X?"
An x-callback returns immediately while the plugin keeps running. A Dashboard refresh can take 2-30 seconds. Do not guess a duration:
--followstreams entries as they arrive--wait-idle 5stops after five seconds of silence (a live run writes within that window)--timeout(default 90s) is the hard cap; do not set it below ~30s
The log flushes in batches (measured: quiet for 24s, then 80 lines at once). Never conclude "logged nothing" from an empty result -- check the summary's sawOutput and timedOut fields.
Exit code 1 means at least one emitted entry was an ERROR. Check that first.
Recipes
--since also accepts 30s, 2h, a bare number (minutes), or a wall-clock time like 19:36 / 2026-07-29 19:36.
Output shape
NDJSON -- one object per entry, then a summary:
level--debug|info|warn|error|nullsource--pluginorwebviewrun-- theExecuting functionthis entry belongs totext-- the whole entry (pretty-printed objects stay intact, newlines included)cursor-- feed back into--sincefor the next readsawOutput/timedOut-- only when waiting;sawOutput:false+timedOut:truemeans you looked before NotePlan flushed
Do not grep the raw log
Each of these returns empty, which reads as "no errors" and is worse than an error:
| Naive attempt | What actually happens | |||
|---|---|---|---|---|
grep '^JSLog:' | every line has a timestamp before the marker | |||
| `grep '\ | ERROR \ | '` | WARN/ERROR use emoji (🥺 WARN 🥺, ❗️ ERROR ❗️), not pipes | |
| filter on the leading timestamp | wrong on ~2/3 of lines -- that is flush time, not event time |
A pretty-printed object also spans many physical lines with only the first carrying the marker. --json solves all four.
Do not use the MCP plugin log as ground truth
noteplan_plugins action:"log" reads Plugins/<id>/_MCP-console.log. It is truncated on every plugin invocation. For a timer-refreshing plugin (Dashboard), an unrelated refresh wipes the run under investigation within seconds. The main log is a strict superset and the only durable record. nplog reads that by default.
For a faster window onto the current run only, use nplog --plugin <pluginID> -- lower latency, still not durable history.
Notes
- No NotePlan window needs focus;
nplogonly reads files. Firing an x-callback
requires NotePlan running -- check with pgrep -fl NotePlan (beta is NotePlan Beta, so pgrep -x NotePlan misses it).
- Interactive viewer and full CLI:
scripts/nplog/README.md - Parser / maintainer internals:
scripts/nplog/AGENTS.md
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 repositoryCheckingagents/skills/nplog/SKILL.md
Popularity
- 7-day trend score
- 0
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/noteplan/plugins/nplog)