Agent 技能
查看 MarkdownDex Skills 教 Claude Code、Codex、Cursor 等 coding agent 设计、构建和测试 Dex 应用。每个 Agent 只需安装一次。
安装 Dex Skills
选择你使用的 host,再选择一种安装方式:Plugin 或独立 Skill。每个标签页先介绍 CLI,再介绍桌面应用。
- Claude
- Codex
- Cursor
- 其他客户端
Claude Code CLI
Plugin(推荐)
安装
在 shell 中运行以下命令。也可以在 Claude Code 交互式会话中使用相同命令的 /plugin 版本。
claude plugin marketplace add superdurable/dex-skills
claude plugin install superdurable-dex@superdurable
安装后启动新的 Claude Code 会话。Claude Code 2.1.273 或更高版本也可以同步同一账号的 Desktop Plugin。
使用
/superdurable-dex:dex-app-builder Design and build an event-registration application.
/superdurable-dex:dex-app-builder Diagnose why this Flow retries after the payment Step completes.
/superdurable-dex:dex-connector-contributor Add <XYZ> to Dex official connector library
更新
claude plugin update superdurable-dex@superdurable
也可以在交互式会话中使用 /plugin marketplace update superdurable。更新后启动新会话。
独立 Skill(Standalone)
这种方式会一起安装三个 Skill。
安装
npx skills add superdurable/dex-skills --skill '*' --agent claude-code --global
使用
/dex-app-builder Design and build an event-registration application.
/dex-app-builder Diagnose why this Flow retries after the payment Step completes.
/dex-connector-contributor Add <XYZ> to Dex official connector library
更新
npx skills update dex-app-builder dex-sdk dex-connector-contributor --global
如果已安装的 skills CLI 不支持 update,请重新运行上面的安装命令。
Claude Desktop
Plugin
安装
- 打开 Customize,进入 Plugins 标签页。
- 选择 Add → Add marketplace → Add from a repository。
- 输入下面的仓库,然后打开 Super Durable marketplace 并安装 Dex。
https://github.com/superdurable/dex-skills
使用
使用自然语言请求或 / 选择器。
/superdurable-dex:dex-app-builder Design and build an event-registration application.
/superdurable-dex:dex-app-builder Diagnose why this Flow retries after the payment Step completes.
/superdurable-dex:dex-connector-contributor Add <XYZ> to Dex official connector library
更新
由组织管理的 marketplace 由管理员在 Organization settings → Plugins & skills → Marketplaces → Update 中更新。Claude 没有公开的按用户升级的命令。
独立 Skill(Standalone)
Claude Web 和 Desktop 通过 Plugin 安装 Dex,没有独立的 ZIP Skill。
Codex CLI
Plugin(推荐)
安装
先确认 shell 的 PATH 可以找到 Codex CLI,然后添加 marketplace 和 Plugin。
codex --version
codex plugin marketplace add superdurable/dex-skills
codex plugin add superdurable-dex@superdurable
使用
启动新的 Codex 交互式会话,输入 @,并从选择器中选择 Dex。初始 codex prompt 或 codex exec 中的普通 @Dex 文本不是结构化的 Plugin 绑定。
@Dex Design and build an event-registration application.
@Dex Diagnose why this Flow retries after the payment Step completes.
@Dex Add <XYZ> to Dex official connector library
更新
codex plugin marketplace upgrade superdurable
codex
在新会话中打开 /plugins,确认 Dex 已启用。
独立 Skill(Standalone)
这种方式会一起安装三个 Skill。
安装
npx skills add superdurable/dex-skills --skill '*' --agent codex --global
使用
$dex-app-builder Design and build an event-registration application.
$dex-app-builder Diagnose why this Flow retries after the payment Step completes.
$dex-connector-contributor Add <XYZ> to Dex official connector library
更新
npx skills update dex-app-builder dex-sdk dex-connector-contributor --global
如果已安装的 skills CLI 不支持 update,请重新运行上面的安装命令。
需要确定性的非交互调用时,请使用独立 Skill 方式。
Codex Desktop
Plugin(推荐)
安装
此路径无需另外安装 Codex CLI。
- 打开插件浏览器,选择添加菜单,然后点击 Add a marketplace。
- Source 使用下面的仓库,Git ref 使用 main,Sparse paths 保持为空。
https://github.com/superdurable/dex-skills
- 添加 marketplace,打开 Super Durable,选择 Dex 并安装。
- 打开一个仓库或空项目,然后创建新任务。
使用
输入 @,从选择器中选择 Dex,再输入请求。只输入普通的 @Dex 文本不会创建 Plugin 绑定。
@Dex Design and build an event-registration application.
@Dex Diagnose why this Flow retries after the payment Step completes.
@Dex Add <XYZ> to Dex official connector library
更新
在插件浏览器的 marketplace 管理页面找到 Super Durable,点击 Upgrade。完成后重启 Desktop 应用,并创建新任务。
独立 Skill(Standalone)
这种方式会一起安装三个 Skill。
安装
npx skills add superdurable/dex-skills --skill '*' --agent codex --global
使用
$dex-app-builder Design and build an event-registration application.
$dex-app-builder Diagnose why this Flow retries after the payment Step completes.
$dex-connector-contributor Add <XYZ> to Dex official connector library
更新
npx skills update dex-app-builder dex-sdk dex-connector-contributor --global
如果已安装的 skills CLI 不支持 update,请重新运行上面的安装命令。
Plugin(推荐)
安装
- 在 Cursor Desktop 中打开项目,然后打开侧栏中的 Customize。
- 选择 Plugins → Add → From GitHub Repository,并输入下面的仓库。
github.com/superdurable/dex-skills
- 打开 Dex,点击 Install,然后选择用户级或项目级。
用户级的 Desktop 安装也可用于 Cursor CLI。或者启动 cursor-agent,输入 /plugin,在 Marketplace 标签页中安装 Dex。
使用
/dex-app-builder Design and build an event-registration application.
/dex-app-builder Diagnose why this Flow retries after the payment Step completes.
/dex-connector-contributor Add <XYZ> to Dex official connector library
更新
对于从 GitHub 导入的团队 marketplace,管理员点击 Refresh 或启用 Auto Refresh,然后用户重新加载 Cursor 窗口。
独立 Skill(Standalone)
这种方式会一起安装三个 Skill。
安装
npx skills add superdurable/dex-skills --skill '*' --agent cursor --global
使用
/dex-app-builder Design and build an event-registration application.
/dex-app-builder Diagnose why this Flow retries after the payment Step completes.
/dex-connector-contributor Add <XYZ> to Dex official connector library
更新
npx skills update dex-app-builder dex-sdk dex-connector-contributor --global
如果已安装的 skills CLI 不支持 update,请重新运行上面的安装命令。
Cursor 的 Plugin 和独立 Skill 安装使用相同的短斜杠命令,只有安装来源不同。
Plugin
对于未单列的 host,按该 host 自己的 Plugin marketplace 步骤安装。
独立 Skill(Standalone)
未单列的 Agent Skills 客户端使用独立 Skill 方式。
安装
交互选择检测到的兼容 Agent,或者显式传入该 host 的 Agent ID。
npx skills add superdurable/dex-skills --skill '*' --global
npx skills add superdurable/dex-skills --skill '*' --agent <agent-id> --global
使用
使用 host 的 Skill 选择器、调用前缀或匹配的自然语言请求。
Design and build an event-registration application.
Diagnose why this Flow retries after the payment Step completes.
Add <XYZ> to Dex official connector library
更新
npx skills update dex-app-builder dex-sdk dex-connector-contributor --global
安装之后,页面上的 coding agent 框会让你的 Agent 按这一页来做。从快速开始开始。
包含什么
Dex Skills 是一个插件。描述你的任务,Agent 会加载合适的 Skill。
| Skill | 角色 | 负责 |
|---|---|---|
| Dex App Builder | 主 Skill | 应用,从流程设计到经过测试的代码,包括使用已发布的 Connector;以及 SDK 工作,例如调试一个 Flow 或添加一个 Step,支持 Python、Go、Java、TypeScript 和 Rust |
| Dex Connector Contributor | 子 Skill | 新增或修复官方 Connector、operation、Trigger 或配置界面单元 |
Dex Skills 的源码和发布版本在 superdurable/dex-skills。可选的 hook(hook 不运行时则由 skill 里的后备检查)会比较已安装的版本和 GitHub 上公开的发布版本信息,有新版本时告诉你;它不安装任何东西。
Dex App Builder
所有 Dex 应用工作都用 Dex App Builder。构建应用时,它先和你确定流程、角色和权限,再交付一个在真实 Dex Server 上测试过的后端;你选了的话,还有你自己的 UI、Dex Web 或两者都有,以及已发布的 Connector。做 SDK 工作时,例如调试一个 Flow 或添加一个 Step,它保留应用的语言和结构,使用与已安装 SDK 匹配的源码,并测试这次改动。它需要可写入的 repository、编辑文件和执行命令的能力;没有这些,它只能做设计和计划。原来的 Dex SDK Skill 现在是 Dex App Builder 的一部分,调用 dex-sdk 仍会加载它。完整的工作流程见它的源码。
Dex Connector Contributor
用 Dex Connector Contributor 为官方 Dex Connectors Library 添加或修复一个 operation、Trigger 或配置界面单元。默认情况下,它从你已验证的 GitHub fork 提交一个经过测试的 pull request;创建 fork、修改 remote、push 或打开 pull request 之前,它会先问你。它基于 provider 公开的 API 或官方 SDK。每个新的官方 Connector 都必须有 Go 实现;Python 和 TypeScript package 是可选的。应用需要的 Connector 缺失或有问题时,Dex App Builder 会把工作交给它;在这个 Connector 发布之前,应用不能进入生产。完整规则见该库的 AGENTS.md 和这个 Skill 的源码。
给 coding agent 的文档
- 每个页面都有 Markdown 版本。在 URL 后面加上
.md,例如https://docs.superdurable.io/quick-start.md。 https://docs.superdurable.io/llms.txt列出所有页面。llms-full.txt包含完整文档,llms-full.<language>.txt包含一种 SDK 语言的文档:python、go、typescript、java或rust。https://docs.superdurable.io/agent-guide.md是 Agent 读的指南,用来帮你了解和设置 Dex。
下一步
- 快速开始:用 coding agent 运行一个 Flow。
- 在 Agent SDK 中使用 Dex:运行一个持久化 Agent。