
D3k
Bootstrap dev3000 (d3k) in standalone agent shells so local web apps debug with unified logs and CDP browser control instead of raw dev servers.
Overview
d3k is an agent skill most often used in Build (also Ship, Operate) that bootstraps dev3000 for unified logs and CDP browser debugging in standalone AI app shells.
Install
npx skills add https://github.com/vercel-labs/dev3000 --skill d3kWhat is this skill?
- Detects and installs dev3000, then starts d3k as the default runtime for standalone AI apps
- d3k-first workflow: unified server and browser logs instead of running npm or bun dev directly
- CDP browser control for agent-driven reproduction and inspection
- Documented skills.sh install path and smoke prompt for Codex (`$d3k`)
- Targets Codex, Cursor, and Claude Code standalone shells explicitly
Adoption & trust: 611 installs on skills.sh; 1.5k GitHub stars; 3/3 security scanners passed (skills.sh audits).
What problem does it solve?
You run npm or bun dev in an agent shell and lose correlated server and browser signals when the agent tries to debug your app.
Who is it for?
Solo developers using Codex, Cursor, or Claude Code on a local web codebase who want one observable debug loop.
Skip if: Production incident response on deployed infra or teams that never run local web servers in agent environments.
When should I use this skill?
Working in a standalone AI app (Codex, Cursor, Claude Code) on a local web project and needing dev3000 initialized with d3k as the debug runtime.
What do I get? / Deliverables
dev3000 is initialized, d3k runs as the runtime, and debugging uses unified logs plus CDP browser controls for the repo you are in.
- Initialized dev3000 / d3k runtime for the current repository
- Agent session oriented around unified logs and CDP-driven browser debugging
Recommended Skills
Journey fit
Spans multiple journey phases - primary shelf plus alternate fits below.
Agents first need d3k when standing up or iterating on a standalone AI app locally during active build work. d3k is agent-runtime and local dev tooling that wires Codex, Cursor, and Claude Code into one observable debug loop.
Where it fits
Invoke `$d3k` when opening a repo so the agent starts d3k before editing frontend routes.
Reproduce a failing user flow with CDP browser control while tailing unified server and console logs.
Triage a local regression reported in chat by re-running the app under d3k instead of ad-hoc dev servers.
How it compares
Local agent debug runtime bootstrap, not a replacement for Vercel deployment or full E2E CI suites.
Common Questions / FAQ
Who is d3k for?
Indie builders and agent-first developers on dev3000 who need d3k initialized automatically in standalone AI coding apps.
When should I use d3k?
During Build while iterating a web UI with an agent, during Ship when reproducing bugs before release, and during Operate when triaging local regressions—not for production-only stacks with no local dev.
Is d3k safe to install?
It expects shell, network, filesystem, and browser automation capabilities; review the Security Audits panel on this page and inspect dev3000 install scripts in your environment.
SKILL.md
READMESKILL.md - D3k
# Publish Notes (skills.sh) ## Skill Path - Local folder: `skills/d3k` - Skill id: `d3k` ## Publish Copy (ready to paste) ### Title `d3k` ### Short description `Bootstraps d3k runtime for standalone AI apps` ### Long description `Installs/initializes dev3000 (d3k) for standalone agent shells (Codex, Cursor, Claude Code), starts d3k as the default runtime, and uses unified logs plus CDP browser control instead of raw npm/bun dev.` ### Default prompt `Use $d3k to initialize d3k, start the correct runtime, and drive debugging with unified logs and CDP browser controls.` ## Source URL Use the GitHub path to this skill folder in your repo: `https://github.com/vercel-labs/dev3000/tree/main/skills/d3k` If you publish from another branch/ref, replace `main` with that ref. ## Test Install (Codex) From Codex skill installer flow, install from URL: `https://github.com/vercel-labs/dev3000/tree/main/skills/d3k` Then restart Codex and invoke: `$d3k` ## Smoke Test Prompt `Use $d3k in this repo and initialize d3k for me.` --- name: "d3k" description: "Bootstrap d3k in standalone AI apps (Codex, Cursor, Claude Code): detect/install dev3000, start d3k as the runtime, and use unified logs plus CDP browser control instead of running npm/bun dev directly." --- # d3k Standalone Bootstrap Use this skill when working in a standalone AI app and you need reliable local web debugging with browser + server context. ## Why d3k-first - `d3k` captures server logs, browser console, network events, and screenshots in one timeline. - `d3k` exposes a stable CDP endpoint so the agent can control the same browser session being monitored. - Running `npm run dev` or `bun run dev` directly omits this unified telemetry and usually leads to weaker diagnoses. ## Bootstrap Workflow 1. Confirm whether `d3k` is installed: ```bash command -v d3k >/dev/null && d3k --version ``` 2. If `d3k` is missing, install dev3000 globally (prefer Bun): ```bash bun install -g dev3000 ``` Fallback if Bun is unavailable: ```bash npm install -g dev3000 ``` 3. Start d3k as the runtime (preferred default in agent shells): ```bash d3k --no-agent --no-tui -t ``` 4. Keep d3k running while editing code. Do not start a second dev server with `npm/bun dev`. ## Codex Fresh Browser/Profile Startup Use this workflow when the user asks Codex to start d3k with a fresh browser/profile. 1. Close any stale `agent-browser` daemon before launching with `--profile`. Otherwise `agent-browser` will reuse the existing daemon and print `--profile ignored`. ```bash d3k agent-browser close --all ``` 2. Start the app through d3k in `servers-only` mode and keep that command running. In Codex, this is more reliable than asking d3k to launch the browser itself when a fresh profile is required. ```bash d3k --no-agent --no-skills --servers-only --command "npm run dev -- -H 127.0.0.1 -p 3000" --port 3000 --startup-timeout 90 --no-tui ``` Adjust the package-manager command and port for the project. Prefer `--command` over `--script` when passing framework flags. For npm scripts, put flags after `--`; otherwise tools like Next.js can interpret the port as a project directory. 3. Verify the server before opening more browser windows: ```bash curl -I http://127.0.0.1:3000 ``` 4. Open the fresh profile as a separate browser step: ```bash d3k agent-browser --profile /tmp/d3k-fresh-profile --headed open http://127.0.0.1:3000 ``` 5. Sanity-check the opened page: ```bash d3k agent-browser get title d3k agent-browser snapshot -i d3k errors ``` Practical rules: - Prefer `127.0.0.1` for this workflow. If `localhost` hangs or flips between IPv4/IPv6 behavior, do not keep retrying browser launches. - If `curl -I` hangs, the server is wedged even if the port appears occupied; restart the d3k server process before opening a browser. - In `servers-only` mode there is no d3k-monitored CDP browser. Use regular `d3k agent-browser` commands, not `