Token导航 LogoToken导航

Agent Skill · 开发

d3k(D3K 命令行)

d3k 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

d3k 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 4,169。

总安装 8,867周安装 377GitHub Stars 1,166下载 3,106核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:d3k(D3K 命令行)
来源仓库:https://github.com/vercel-labs/dev3000
仓库路径:skills/d3k
安装命令:
npx skills add https://github.com/vercel-labs/dev3000 --skill d3k
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/vercel-labs/dev3000 --skill d3k

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

d3k 提供独立的 Web 调试环境启动与监控。捕获服务器日志、浏览器控制台和网络事件。d3k 属于开发类 Skill,可作为该场景下的辅助能力补充。暴露稳定 CDP 接口供 Agent 控制浏览器会话。推荐在 AI 应用中优先使用此工具而非直接运行 dev 命令。首次使用前需确认是否已安装 dev3000 套件。

来源仓库内路径:skills/d3k

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/vercel-labs/dev3000 --skill d3k;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

d3k 怎么安装?

在终端执行 npx skills add https://github.com/vercel-labs/dev3000 --skill d3k。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

d3k 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

d3k 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

d3k 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

d3k 用的人多吗?

公开数据是累计安装 8,867 次,近一周安装 377 次,下载 3,106 次,GitHub 1,166 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

d3k 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 来源仓库有 1,166 星,维护活跃度相对可查。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
d3k

D3K 命令行 · 本页

8,8671,166操作浏览器未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

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:
command -v d3k >/dev/null && d3k --version
  1. If d3k is missing, install dev3000 globally (prefer Bun):
bun install -g dev3000

Fallback if Bun is unavailable:

npm install -g dev3000
  1. Start d3k as the runtime (preferred default in agent shells):
d3k --no-agent --no-tui -t
  1. 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. 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. 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: curl -I http://127.0.0.1:3000
  4. Open the fresh profile as a separate browser step: d3k agent-browser --profile /tmp/d3k-fresh-profile --headed open http://127.0.0.1:3000
  5. Sanity-check the opened page: 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.

Debugging Commands

Use these first before ad-hoc log scraping:

d3k errors --context
d3k logs -n 200
d3k logs --type browser
d3k logs --type server

CDP Browser Control

Use the already-monitored browser session instead of launching a separate automation browser.

CDP_PORT="$(d3k cdp-port)"
d3k agent-browser --cdp "$CDP_PORT" open http://localhost:3000
d3k agent-browser --cdp "$CDP_PORT" snapshot -i
d3k agent-browser --cdp "$CDP_PORT" click @e2
d3k agent-browser --cdp "$CDP_PORT" screenshot /tmp/d3k-current.png

Browser Tool Choice

Use the browser tool that matches the task instead of treating them as interchangeable:

  • agent-browser

- Default choice. - Best for generic web apps and for driving the exact headed browser session that d3k is already monitoring via CDP. - Use it when you need snapshot, ref-based click, fill, or to reproduce what the user sees in the monitored tab.

  • next-browser

- Next.js-specific tool. - Best for React/Next introspection: tree, errors, logs, routes, project, PPR inspection, and related Next dev-server signals. - It is not a drop-in replacement for agent-browser: no accessibility snapshot, no ref-based click, and no fill. - It launches its own daemon/browser flow and does not use d3k cdp-port.

Practical rule:

  • Need to drive the same browser d3k is monitoring: use agent-browser.
  • Need Next.js component tree or Next-specific diagnostics: use next-browser.

Examples:

# Same monitored browser session
CDP_PORT="$(d3k cdp-port)"
d3k agent-browser --cdp "$CDP_PORT" snapshot -i
d3k agent-browser --cdp "$CDP_PORT" click @e2

# Next.js-specific inspection
d3k next-browser open http://localhost:3000
d3k next-browser tree
d3k next-browser errors
d3k next-browser logs

Artifacts to Read

  • ~/.d3k/{project}/d3k.log
  • ~/.d3k/{project}/logs/
  • ~/.d3k/{project}/screenshots/
  • ~/.d3k/{project}/session.json

Operating Rules

  • Prefer headed mode for interactive debugging.
  • Use --headless only for CI or when explicitly requested.
  • Use --servers-only only when browser monitoring is intentionally disabled.

平台分布

Codex

35.39%
按下载量换算1,099

Claude

30.74%
按下载量换算955

Cursor

20.69%
按下载量换算643

Gemini CLI

9.96%
按下载量换算309

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills