Agent skill

D3k

by varandrew in varandrew/moor

“d3k assistant for debugging web apps”

— description from SKILL.md by varandrew
Apache-2.0Auto-check passedDevelopment

Install D3k

skills CLI
$ npx skills add varandrew/moor --skill d3k -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install varandrew/moor d3k --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/varandrew/moor.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/d3k .claude/skills/d3k && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
d3k
GitHub stars
200
Token cost
~1.2k tokens
SKILL.md length
390 words
Files
1
Skills in repo
1
Repo updated
First seen
Licence
Apache-2.0

At a glance

  • Works in 5 steps: Close any stale agent-browser daemon… → Start the app through d3k in… → Verify the server before opening more… → …
  • SKILL.md covers Viewing Errors and Logs, Other Commands, Browser Interaction and Codex Fresh Browser/Profile…, plus 3 more sections
  • Calls curl; reaches production-url.com

About this skill

D3k is a skill in varandrew/moor (200 stars). Its SKILL.md is about 1.2k tokens. Licence: Apache-2.0.

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Close any stale agent-browser daemon before launching with --profile. Otherwise agent-browser will reuse the existing daemon and print…
  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…
  3. Verify the server before opening more browser windows
  4. Open the fresh profile as a separate browser step
  5. Sanity-check the opened page

What it can do on your machine

Read from SKILL.md and the folder at commit 7f2392d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • production-url.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

D3k loads about 1.2k tokens when it runs. Until then it costs about 10 tokens; SKILL.md has 390 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~10
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from varandrew/moor at commit 7f2392d, republished under its Apache-2.0 licence (© varandrew). 390 words, ~1,197 tokens.

Download SKILL.mdSave it as .claude/skills/d3k/SKILL.md (or your agent's skills folder).
name
d3k
description
d3k assistant for debugging web apps

d3k Commands

d3k captures browser and server logs in a unified log file. Use these commands:

Viewing Errors and Logs

bash
d3k errors              # Show recent errors (browser + server combined)
d3k errors --context    # Show errors + user actions that preceded them
d3k errors -n 20        # Show last 20 errors

d3k logs                # Show recent logs (browser + server combined)
d3k logs --type browser # Browser logs only
d3k logs --type server  # Server logs only

Other Commands

bash
d3k fix                 # Deep analysis of application errors
d3k fix --focus build   # Focus on build errors

d3k crawl               # Discover app URLs
d3k crawl --depth all   # Exhaustive crawl

Browser Interaction

d3k agent-browser auto-connects to the active session's browser via CDP:

bash
d3k agent-browser open http://localhost:3000/page
d3k agent-browser snapshot -i    # Get element refs (@e1, @e2)
d3k agent-browser click @e2
d3k agent-browser fill @e3 "text"
d3k agent-browser screenshot /tmp/shot.png

To target a different browser, run d3k agent-browser connect <port> first.

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 d3k cdp-port.
  • In sandboxed agent environments, rerun local-network checks and agent-browser opens outside the sandbox when sandbox networking blocks access to 127.0.0.1.
Show full SKILL.md (163 more words)Show less

Browser Tool Choice

Use agent-browser for browser work.

Practical rule:

  • Need to drive the same monitored browser session: use agent-browser.
  • Examples:
bash
d3k agent-browser snapshot -i
d3k agent-browser click @e2

To make d3k prefer one locally when it launches helper browser commands, use:

bash
d3k --browser-tool agent-browser

Fix Workflow

  1. d3k errors --context - See errors and what triggered them
  2. Fix the code
  3. d3k agent-browser open <url> then d3k agent-browser click @e1 to replay
  4. d3k errors - Verify fix worked

Creating PRs with Before/After Screenshots

When creating a PR for visual changes, always capture before/after screenshots to show the impact:

  1. Before making changes, screenshot the production site:

    bash
    d3k agent-browser open https://production-url.com/affected-page
    d3k agent-browser screenshot /tmp/before.png
  2. After making changes, screenshot localhost:

    bash
    d3k agent-browser open http://localhost:3000/affected-page
    d3k agent-browser screenshot /tmp/after.png
  3. Or use the tooling API to capture multiple routes at once:

    capture_before_after_screenshots(
      productionUrl: "https://myapp.vercel.app",
      routes: ["/", "/about", "/contact"]
    )
  4. Include in PR description using markdown:

    markdown
    ### Visual Comparison
    
    | Route | Before                | After               |
    | ----- | --------------------- | ------------------- |
    | `/`   | ![Before](before.png) | ![After](after.png) |

    Upload screenshots by dragging them into the GitHub PR description.

© varandrew, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/d3k of varandrew/moor.

Open the folder on GitHubat commit 7f2392d

Compare with similar skills

D3k next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

D3k compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
D3k this skillvarandrew/moor200—~1.2kAutomated safety check: PassApache-2.0
OpenCLI Adapter Authorjackwener/OpenCLI30k1 repos~3.4kAutomated safety check: PassApache-2.0
Debugging Executionsn8n-io/n8n207k—~2.6kAutomated safety check: PassCustom licence
Analyze Logsactivepieces/activepieces25k1 repos~1.6kAutomated safety check: PassMIT
OpenCLI Adapter Autofixjackwener/OpenCLI30k1 repos~3.2kAutomated safety check: PassApache-2.0
Kimi WebbridgeMoonshotAI/kimi-code7.8k—~3.6kAutomated safety check: PassMIT

Similar skills

  • OpenCLI Adapter Author

    jackwener/OpenCLI

    Walks through writing an OpenCLI adapter for a new site or a new command on an existing one, from first recon and field decoding to coding and verification.

    30k GitHub starsUsed in 1 repo~3.4k tokens
    DevelopmentAuto-check passed
  • Official

    Debug failed or wrong-output workflow executions using executions tools.

    207k GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Analyze Logs

    activepieces/activepieces

    Analyze application logs from the .evlog/logs/ directory. An agent skill from activepieces/activepieces.

    25k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • OpenCLI Adapter Autofix

    jackwener/OpenCLI

    Repairs a broken OpenCLI site adapter after a command fails: collects a trace, patches only the adapter, retries, and files an upstream GitHub issue once fixed.

    30k GitHub starsUsed in 1 repo~3.2k tokens
    DevelopmentAuto-check passed
  • Kimi Webbridge

    MoonshotAI/kimi-code

    Kimi Browser Extension(Kimi 浏览器扩展,原 Kimi WebBridge)lets AI control the user's real browser — navigate, click, type, read, screenshot, and interact with any website using the user's actual login…

    7.8k GitHub stars~3.6k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Official

    Records a site's browser traffic into a HAR file, then builds a standalone client or CLI that calls its internal endpoints directly with no browser.

    44k GitHub starsUsed in 1 repo~1.3k tokens
    DevelopmentAuto-check passed

Questions about D3k

How do I install D3k in Claude Code?

Run `npx skills add varandrew/moor --skill d3k -a claude-code`. Or copy the skill folder (.agents/skills/d3k in varandrew/moor) into .claude/skills/d3k in your project. Claude Code loads it when a task matches its description.

How do I install D3k in Codex?

Run `npx skills add varandrew/moor --skill d3k -a codex`. Or copy the skill folder (.agents/skills/d3k in varandrew/moor) into .agents/skills/d3k in your project. Codex loads it when a task matches its description.

Can I use D3k in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add varandrew/moor --skill d3k -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/d3k, .gemini/skills/d3k, .github/skills/d3k and .opencode/skills/d3k in your project.

What does D3k need to run?

Going by SKILL.md and its folder, D3k needs the command-line tools its instructions call (curl).

Does D3k access the network?

SKILL.md names 1 domain. In commands or code: production-url.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is D3k safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does D3k use?

D3k is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does D3k use?

About 1.2k tokens (SKILL.md is roughly 4.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to D3k?

Skills that share tags, products or a category with D3k: OpenCLI Adapter Author (jackwener/OpenCLI, 30k stars), Debugging Executions (n8n-io/n8n, 207k stars), Analyze Logs (activepieces/activepieces, 25k stars) and OpenCLI Adapter Autofix (jackwener/OpenCLI, 30k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains D3k?

varandrew (a GitHub user) maintains it in varandrew/moor, which has 200 GitHub stars. The repository was last updated on October 10, 2026.

Source: varandrew/moor on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.