Monitored development with dev3000 (d3k). Use when debugging web apps, needing full-stack visibility, reading error context, or capturing browser + server logs. Triggers on "watch", "d3k", "dev3000", "monitor app", "capture logs", "what went wrong", "error context".
Monitors web app development by capturing unified browser, server, and network logs for full-stack debugging visibility.
npx claudepluginhub saadshahd/moo.mdThis skill inherits all available tools. When active, it can use any tool Claude has access to.
CAPTURE THEN DIAGNOSE. Never guess at the cause — capture the full timeline first, then read it. d3k unifies server, browser, and network events into one log that makes root causes visible.
d3k errors --context before forming a hypothesis--context, --type) to avoid collision with d3k's -c (command) flagAlways compose the full stack when starting a monitored dev session.
which d3k || npm install -g dev3000, which portless || npm install -g portlesspackage.json scripts to find the dev command and determine the runnerportless <name> d3k -c "<runner> <dev-cmd>" --no-tui --no-skills --no-agent
| Slot | Source |
|---|---|
<name> | Project or app directory name |
<runner> | Package manager: bun, npx, pnpm exec |
<dev-cmd> | From package.json scripts.dev, e.g. next dev --webpack |
d3k launches CDP-monitored Chrome automatically. Portless gives stable URL (<name>.localhost:1355).
Only use --servers-only when explicitly asked to skip browser launch.
Examples:
portless myapp d3k -c "bun run dev" --no-tui --no-skills --no-agent
portless playground d3k -c "bun next dev --webpack" --no-tui --no-skills --no-agent
portless docs d3k -c "npx vitepress dev" --no-tui --no-skills --no-agent
The core loop — capture everything, classify, fix, verify.
startup (see above)
→ reproduce the issue (d3k captures everything)
→ d3k errors --context (errors with surrounding interaction context)
→ classify by source tag
→ fix based on classification
→ reproduce again → d3k errors shows clean
The source tag in d3k errors --context output tells you where to look:
| Tag | Means | Investigate |
|---|---|---|
[SERVER] | Backend crash/exception | Server code, dependencies, env vars |
[CONSOLE ERROR] | Frontend JS error | Component code, state, props |
[NETWORK] 4xx | Client request issue | URL, auth headers, request payload |
[NETWORK] 5xx | Server handling issue | API route handler, DB queries, external services |
[RUNTIME.ERROR] | Unhandled rejection/exception | Async code, missing error boundaries |
Read the events before the error — they reveal the chain:
[INTERACTION] Click on button#submit
[NETWORK] POST /api/users → 500 (12ms)
[CONSOLE ERROR] TypeError: Cannot read property 'id' of undefined
Fix the API route, not the frontend.
When the user says "check what happened", "what went wrong", or "look at the page":
d3k errors --contextd3k agent-browser --cdp $(d3k cdp-port) snapshot -id3k agent-browser --cdp $(d3k cdp-port) screenshot /tmp/page.pngThe CDP connection means every browser interaction appears in d3k's timeline alongside server/network effects — full cause-and-effect visibility.
Start d3k from the beginning, not after something breaks.
startup → develop normally
→ d3k logs --type browser (check for warnings periodically)
→ d3k errors before commit (catch anything captured during dev)
→ fix any issues → clean commit
Filter logs by source:
d3k logs --type browser — browser events onlyd3k logs --type server — server output onlyd3k logs --type network — network requests onlyWhen the timeline is complex, let d3k synthesize:
d3k fix # Diagnose from all captured context
d3k fix -f build # Focus on build errors specifically
d3k fix -t 5 # Analyze last 5 minutes only
d3k agent-browser --cdp $(d3k cdp-port) bridges automation with monitoring — interactions appear in the timelined3k errors --context output as debugging evidence when waves encounter failures--servers-only by default — disables CDP browser monitoring, the most valuable layer-c collides with --command; always use --context, --typeYou MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.