okx-dapp-discovery

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

OKX DApp Discovery

OKX DApp发现

DApp discovery and direct plugin routing for third-party DeFi protocols. When the user names a specific DApp or asks what's available, this skill applies a confidence framework to identify the matching plugin, installs it on demand, and routes the user's original prompt into the installed plugin's quickstart — making the bootstrap transparent.
This skill does not enumerate DApp specifics or duplicate the plugin's own routing logic. Each installed DApp plugin (
polymarket-plugin
,
hyperliquid-plugin
,
aave-v3-plugin
,
pancakeswap-v3-plugin
,
morpho-plugin
) owns its own quickstart, command index, and protocol-specific knowledge. This skill is the bootstrap layer only.

用于第三方DeFi协议的DApp发现与直接插件路由。当用户指定某个特定DApp或询问可用选项时,该技能会采用置信度框架识别匹配的插件,按需安装,并将用户的原始请求路由至已安装插件的快速启动流程——使引导过程对用户透明。
该技能不会枚举DApp的具体信息或重复插件自身的路由逻辑。每个已安装的DApp插件(
polymarket-plugin
hyperliquid-plugin
aave-v3-plugin
pancakeswap-v3-plugin
morpho-plugin
)都拥有自己的快速启动流程、命令索引和协议专属知识。本技能仅作为引导层。

Confidence Framework

置信度框架

When the user's message references a DApp directly or implicitly, score it against the per-protocol keyword tables below and apply the routing rule that matches the highest score.
当用户的消息直接或间接提及某个DApp时,根据以下各协议关键词表进行打分,并应用与最高分匹配的路由规则。

Confidence Tiers

置信度层级

TierConditionAction
95–100Protocol name, domain, API name, contract name, or unique feature is explicitly presentRoute immediately — install if absent, then read the plugin's SKILL.md and forward the original prompt
75–94Protocol-specific workflow with a strong ecosystem clueSame as above
50–74Generic DeFi workflow with a weak clue; another DApp could plausibly matchAsk one focused clarifying question — do not install
< 50Generic terms only, no protocol signalDo not install — show the user the available DApps and ask which one matches their intent
Generic terms that do NOT raise confidence on their own: swap, lend, borrow, APY, farm, long, short, liquidity, bridge, stake, 做多, 做空, 合约, 借贷, 存款, 抵押, 兑换, 加池子.
Token symbols alone never trigger a route (ETH, BTC, USDC, SOL, etc.) unless combined with explicit protocol context.

层级条件操作
95–100明确包含协议名称、域名、API名称、合约名称或独有功能立即路由——若未安装则先安装,然后读取插件的SKILL.md并转发原始请求
75–94包含带有强生态线索的协议专属工作流同上
50–74包含带有弱线索的通用DeFi工作流;其他DApp也可能匹配提出一个明确的澄清问题——请勿安装插件
< 50仅包含通用术语,无协议相关信号请勿安装插件——向用户展示可用的DApp并询问哪一个符合其需求
仅靠自身无法提升置信度的通用术语: swap、lend、borrow、APY、farm、long、short、liquidity、bridge、stake、做多、做空、合约、借贷、存款、抵押、兑换、加池子。
仅代币符号永远不会触发路由(ETH、BTC、USDC、SOL等),除非结合明确的协议上下文。

Per-Protocol Routing Table

各协议路由表

Polymarket →
polymarket-plugin

Polymarket →
polymarket-plugin

Keywords that raise confidence ≥ 75: Polymarket, poly market, prediction market, 预测市场, 事件市场, event market, binary market, YES shares, NO shares, Yes/No market, outcome token, implied probability, market probability, UMA resolution, resolved market, Gamma API, Sports markets, Parlays, Combo markets, btc 5m, btc 五分钟, btc 15m, btc 十五分钟.
Do not install for: generic "赔率 / 概率 / 预测 / betting" unless Polymarket or YES/NO prediction-market context is present.
可将置信度提升至≥75的关键词: Polymarket、poly market、prediction market、预测市场、事件市场、event market、binary market、YES shares、NO shares、Yes/No market、outcome token、implied probability、market probability、UMA resolution、resolved market、Gamma API、Sports markets、Parlays、Combo markets、btc 5m、btc 五分钟、btc 15m、btc 十五分钟。
请勿安装的场景: 通用的“赔率 / 概率 / 预测 / betting”术语,除非存在Polymarket或YES/NO预测市场相关上下文。

Aave V3 →
aave-v3-plugin

Aave V3 →
aave-v3-plugin

Keywords that raise confidence ≥ 75: Aave, Aave V3, Aave Protocol, aToken, health factor, liquidation risk, eMode, Efficiency Mode, Isolation Mode, GHO, Aave Pool, IPool, Aave flash loan, liquidationCall.
Do not install for: generic "借贷 / 存款 / 抵押 / APY / borrow / lend" unless Aave, health factor, aToken, GHO, eMode, or Isolation Mode context is present.
可将置信度提升至≥75的关键词: Aave、Aave V3、Aave Protocol、aToken、health factor、liquidation risk、eMode、Efficiency Mode、Isolation Mode、GHO、Aave Pool、IPool、Aave flash loan、liquidationCall。
请勿安装的场景: 通用的“借贷 / 存款 / 抵押 / APY / borrow / lend”术语,除非存在Aave、health factor、aToken、GHO、eMode或Isolation Mode相关上下文。

Hyperliquid DEX →
hyperliquid-plugin

Hyperliquid DEX →
hyperliquid-plugin

Keywords that raise confidence ≥ 75: Hyperliquid, HyperLiquid, HyperCore, HyperEVM, HYPE, HLP, Hyperliquidity Provider, HIP-3, HL (only with explicit trading context).
Keywords that raise confidence to 50–74 (clarify before installing): perps, perp, perpetuals, trade perpetuals, leveraged trading, 合约交易, 永续合约 — these are not unique to Hyperliquid; ask "Are you looking to trade on Hyperliquid?" before installing.
Do not install for: generic "做多 / 做空 / 合约 / 永续 / funding / leverage" unless Hyperliquid, HYPE, HLP, HyperCore, or HyperEVM context is present.
可将置信度提升至≥75的关键词: Hyperliquid、HyperLiquid、HyperCore、HyperEVM、HYPE、HLP、Hyperliquidity Provider、HIP-3、HL(仅当带有明确交易上下文时)。
可将置信度提升至50–74的关键词(安装前需澄清): perps、perp、perpetuals、trade perpetuals、leveraged trading、合约交易、永续合约——这些并非Hyperliquid独有;安装前需询问“您是否想要在Hyperliquid上进行交易?”。
请勿安装的场景: 通用的“做多 / 做空 / 合约 / 永续 / funding / leverage”术语,除非存在Hyperliquid、HYPE、HLP、HyperCore或HyperEVM相关上下文。

PancakeSwap AMM →
pancakeswap-v3-plugin

PancakeSwap AMM →
pancakeswap-v3-plugin

Keywords that raise confidence ≥ 75: PancakeSwap, Pancake, PCS, CAKE, Syrup Pool, IFO, BNB Chain AMM, V3 LP NFT, 薄饼, veCAKE.
Do not install for: generic "swap / 兑换 / 加池子 / LP / farm / 挖矿" unless PancakeSwap, Pancake, PCS, CAKE, Syrup, IFO, or BNB Chain AMM context is present.
可将置信度提升至≥75的关键词: PancakeSwap、Pancake、PCS、CAKE、Syrup Pool、IFO、BNB Chain AMM、V3 LP NFT、薄饼、veCAKE。
请勿安装的场景: 通用的“swap / 兑换 / 加池子 / LP / farm / 挖矿”术语,除非存在PancakeSwap、Pancake、PCS、CAKE、Syrup、IFO或BNB Chain AMM相关上下文。

Morpho V1 Optimizer →
morpho-plugin

Morpho V1 Optimizer →
morpho-plugin

Keywords that raise confidence ≥ 75: Morpho, Merkl reward, Morpho V1, AaveV2 Optimizer, AaveV3 Optimizer, CompoundV2 Optimizer.
Do not install for: Morpho Blue, MetaMorpho, vault curator, LLTV, market id, allocator, or isolated lending market requests — unless the user explicitly mentions V1, Optimizer, AaveV2/V3 Optimizer, or CompoundV2 Optimizer. (
MetaMorpho
is the Morpho Blue ERC-4626 vault standard, not a V1 Optimizer concept — it does not belong to
morpho-plugin
's scope.)

可将置信度提升至≥75的关键词: Morpho、Merkl reward、Morpho V1、AaveV2 Optimizer、AaveV3 Optimizer、CompoundV2 Optimizer。
请勿安装的场景: 涉及Morpho Blue、MetaMorpho、vault curator、LLTV、market id、allocator或孤立借贷市场的请求——除非用户明确提及V1、Optimizer、AaveV2/V3 Optimizer或CompoundV2 Optimizer。(
MetaMorpho
是Morpho Blue的ERC-4626金库标准,不属于V1 Optimizer的范畴,因此不在
morpho-plugin
的处理范围内。)

Step 1 — Check installed status

步骤1 — 检查安装状态

Use the
skills
CLI for agent-agnostic detection (works on Claude Code, Codex CLI, OpenCode, OpenClaw, Cursor — wherever
npx skills
is available):
bash
undefined
使用
skills
CLI进行与Agent无关的检测(适用于Claude Code、Codex CLI、OpenCode、OpenClaw、Cursor等所有支持
npx skills
的环境):
bash
undefined

Cache the listing in a variable — no temp file required, portable across

将列表缓存到变量中——无需临时文件,可在macOS / Linux / Windows-Git-Bash / 无/tmp的沙箱环境中运行。

macOS / Linux / Windows-Git-Bash / sandboxed environments without /tmp.

SKILLS_LIST=$(npx skills list 2>/dev/null)
HL_INSTALLED=false; PM_INSTALLED=false; AAVE_INSTALLED=false; PCS_INSTALLED=false; MORPHO_INSTALLED=false echo "$SKILLS_LIST" | grep -qE '(^|\s|/)hyperliquid-plugin(\s|$)' && HL_INSTALLED=true echo "$SKILLS_LIST" | grep -qE '(^|\s|/)polymarket-plugin(\s|$)' && PM_INSTALLED=true echo "$SKILLS_LIST" | grep -qE '(^|\s|/)aave-v3-plugin(\s|$)' && AAVE_INSTALLED=true echo "$SKILLS_LIST" | grep -qE '(^|\s|/)pancakeswap-v3-plugin(\s|$)' && PCS_INSTALLED=true echo "$SKILLS_LIST" | grep -qE '(^|\s|/)morpho-plugin(\s|$)' && MORPHO_INSTALLED=true

> **Known limitations:**
> - The Read step further below uses `$HOME/.claude/skills/` paths, which is Claude-Code-specific. Codex / OpenCode / OpenClaw / Cursor users may need to substitute their agent's skills directory. Tracked as a follow-up against the `skills` CLI to add a `skills info <skill>` subcommand for cross-agent path resolution.
> - The `2>/dev/null` redirect on `npx skills list` silences stderr (intentional — avoids noise on agents where `npx` isn't available). If `npx` itself is broken or missing, the listing returns empty and every DApp will be treated as "not installed". The subsequent install path (`npx skills add … --yes --global`) is idempotent and surfaces the underlying error to the user via the Failure-mode note in Step 2 — do not retry the listing in a loop.

---
SKILLS_LIST=$(npx skills list 2>/dev/null)
HL_INSTALLED=false; PM_INSTALLED=false; AAVE_INSTALLED=false; PCS_INSTALLED=false; MORPHO_INSTALLED=false echo "$SKILLS_LIST" | grep -qE '(^|\s|/)hyperliquid-plugin(\s|$)' && HL_INSTALLED=true echo "$SKILLS_LIST" | grep -qE '(^|\s|/)polymarket-plugin(\s|$)' && PM_INSTALLED=true echo "$SKILLS_LIST" | grep -qE '(^|\s|/)aave-v3-plugin(\s|$)' && AAVE_INSTALLED=true echo "$SKILLS_LIST" | grep -qE '(^|\s|/)pancakeswap-v3-plugin(\s|$)' && PCS_INSTALLED=true echo "$SKILLS_LIST" | grep -qE '(^|\s|/)morpho-plugin(\s|$)' && MORPHO_INSTALLED=true

> **已知限制:**
> - 后续的读取步骤使用`$HOME/.claude/skills/`路径,这是Claude Code专属的路径。Codex / OpenCode / OpenClaw / Cursor用户可能需要替换为其Agent对应的技能目录。目前已针对`skills` CLI添加`skills info <skill>`子命令以实现跨Agent路径解析,该功能正在跟进中。
> - `npx skills list`命令中的`2>/dev/null`用于重定向stderr(有意为之——避免在不支持`npx`的Agent上产生噪音)。如果`npx`本身损坏或缺失,列表将返回空值,所有DApp都会被视为“未安装”。后续的安装路径(`npx skills add … --yes --global`)具有幂等性,并会通过步骤2中的故障模式提示向用户显示底层错误——请勿循环重试列表查询。

---

Step 2 — Apply routing rules

步骤2 — 应用路由规则

User-facing language — IMPORTANT. The confidence tiers and scores in Step 1 and the rules below are internal decision logic. Do NOT mention scores, tiers, "confidence", or this routing framework to the user in your response. Use natural conversational language for any visible commentary. Examples:
  • ✅ "I can set up Polymarket for that — installing now."
  • ✅ "Sounds like Aave V3 is the right fit. Let me load it up."
  • ✅ "That looks like a Hyperliquid use case — getting the plugin ready."
  • ✅ "Were you thinking Aave or Morpho for this? They both fit." (for clarify-tier cases)
  • ❌ "I scored your message at confidence 95 for Polymarket, so I'm installing the plugin."
  • ❌ "Polymarket matches at tier 1 (95-100), routing directly."
  • ❌ "The confidence framework picked PancakeSwap."
Rule 1's "do not show an install banner or onboarding table" extends to the scoring vocabulary itself — the user only sees the outcome (a suggestion, an install, a clarifying question, or a discovery table), not the mechanism.
Rule 1 — Already installed, score ≥ 75: Do not re-install. Read the plugin's instructions and execute the user's request:
Read file: $HOME/.claude/skills/<plugin-name>/SKILL.md
(Path is Claude Code-specific — see Known Limitations in Step 1. On Codex / OpenCode / OpenClaw / Cursor, substitute the equivalent skills directory for your agent.)
Then immediately re-apply the user's original request using the plugin's own routing — do not ask the user to repeat themselves. Do not show an install banner or onboarding table.
Rule 2 — Not installed, exactly one DApp scores ≥ 75: Install silently, then load and execute:
bash
npx skills add okx/plugin-store --skill <plugin-name> --yes --global
Read file: $HOME/.claude/skills/<plugin-name>/SKILL.md
(Path is Claude Code-specific — see Known Limitations in Step 1. On Codex / OpenCode / OpenClaw / Cursor, substitute the equivalent skills directory for your agent.)
Forward the user's original request to that plugin's instructions. The bootstrap should be transparent — the user sees the response as if the plugin had been loaded from session start.
Rule 3 — Not installed, multiple DApps score ≥ 75: Present only the matching DApps in a short table with one-line descriptions. Ask which the user wants, then apply Rule 2 for the chosen one.
Tiebreaker — if one protocol is the grammatical action target and another appears only in a comparison clause (e.g. "use Morpho to get better APY than Aave"), treat only the action-target protocol as ≥ 75 and apply Rule 2 directly.
Rule 4 — Highest score is 50–74: Ask one focused clarifying question. Do not install anything.
Example clarifications:
  • "Are you looking to use Polymarket specifically, or a different prediction market?"
  • "Do you want to trade perps on Hyperliquid, or another perpetuals venue?"
  • "Are you depositing into Aave, or are you open to whichever lending protocol gives the best rate (in which case I can use OKX's aggregated DeFi search)?"
Examples that score 50–74:
  • "I want to trade perps" (no Hyperliquid mention)
  • "I want to deposit and earn yield" (Aave, Morpho, or okx-defi-invest could all match)
  • "I want to borrow against my ETH" (Aave or Morpho both plausible)
  • "add liquidity on BNB Chain" (no explicit PancakeSwap mention)
Rule 5 — Highest score < 50 (no top-5 match):
This skill's per-protocol tables cover 5 DApps with hard-coded routing. When none scores ≥ 50, decide between two sub-rules based on whether the user named any recognizable third-party DApp/protocol:
Rule 5a — User named a recognizable third-party DApp NOT in the top 5 (e.g. Uniswap, Curve, GMX, Lido, Jupiter, Raydium, Compound, ether.fi, Pendle, Maker / Sky, Convex, Velodrome, Aerodrome, Camelot, SushiSwap, Balancer, Kamino, Orca, Meteora, dYdX, Across, LI.FI / Jumper, Mayan, deBridge, etc.):
The top-5 routing didn't match, but a plugin may exist in the broader registry. Install plugin-store as a catch-all discovery layer and delegate:
bash
npx skills add okx/plugin-store --skill plugin-store --yes --global
Read file: $HOME/.claude/skills/plugin-store/SKILL.md
(Path is Claude Code-specific — see Known Limitations in Step 1.)
Plugin-store has access to the broader plugin registry (
plugin-store list
) and can install a matching plugin if one exists. Forward the user's original request — the bootstrap is transparent. If plugin-store's registry has no matching plugin either, plugin-store will surface that and offer alternatives.
Rule 5b — User did NOT name a specific DApp (purely generic terms only):
Do not install anything. Show the user the supported DApps and ask which one matches their intent:
The following third-party DApps are currently routable directly — let me know which one you'd like to use:
DAppWhat it's for
PolymarketPrediction markets — bet YES/NO on event outcomes (e.g. BTC 5min markets)
Aave V3On-chain lending and borrowing with health-factor-based liquidation
HyperliquidPerpetual futures DEX with on-chain order book
PancakeSwapBNB Chain AMM (V2 + V3 CLMM) and yield products
Morpho V1 OptimizerAave/Compound interest-rate optimizer
If your intent is more general — finding the best yield, rebalancing, or claiming rewards across protocols —
okx-defi-invest
(OKX-aggregated DeFi) is a better fit.
If you want to use a different DApp not listed above (e.g., Uniswap, Curve, GMX, etc.), name it explicitly and I'll search the broader plugin registry via plugin-store.

面向用户的语言——重要提示。 步骤1中的置信度层级和分数以及以下规则均为内部决策逻辑。请勿在回复中向用户提及分数、层级、“置信度”或此路由框架。使用自然的对话语言进行任何可见的说明。示例:
  • ✅ "我可以为您设置Polymarket——正在安装。"
  • ✅ "听起来Aave V3是合适的选择。我来加载它。"
  • ✅ "这看起来是Hyperliquid的使用场景——正在准备插件。"
  • ✅ "您是想用Aave还是Morpho来做这件事?两者都符合需求。"(适用于需要澄清的层级)
  • ❌ "我给您的消息打了95分的Polymarket置信度,所以我正在安装插件。"
  • ❌ "Polymarket匹配第1层级(95-100),直接路由。"
  • ❌ "置信度框架选择了PancakeSwap。"
规则1中的“请勿显示安装横幅或引导表格”同样适用于评分相关词汇——用户只能看到结果(建议、安装操作、澄清问题或发现表格),而看不到机制
规则1 — 已安装,分数≥75: 请勿重新安装。读取插件的说明并执行用户的请求:
读取文件:$HOME/.claude/skills/<plugin-name>/SKILL.md
(路径为Claude Code专属——请参阅步骤1中的已知限制。在Codex / OpenCode / OpenClaw / Cursor上,请替换为您的Agent对应的技能目录。)
然后立即使用插件自身的路由重新处理用户的原始请求——请勿要求用户重复请求。请勿显示安装横幅或引导表格。
规则2 — 未安装,恰好一个DApp分数≥75: 静默安装,然后加载并执行:
bash
npx skills add okx/plugin-store --skill <plugin-name> --yes --global
读取文件:$HOME/.claude/skills/<plugin-name>/SKILL.md
(路径为Claude Code专属——请参阅步骤1中的已知限制。在Codex / OpenCode / OpenClaw / Cursor上,请替换为您的Agent对应的技能目录。)
将用户的原始请求转发至该插件的说明。引导过程应对用户透明——用户看到的响应就像插件从会话开始时就已加载一样。
规则3 — 未安装,多个DApp分数≥75: 以简短表格形式展示仅匹配的DApp及其一行描述。询问用户想要哪一个,然后对所选DApp应用规则2。
平局处理——如果一个协议是语法上的操作目标,而另一个仅出现在比较从句中(例如“使用Morpho获得比Aave更高的APY”),则仅将操作目标协议视为分数≥75,并直接应用规则2。
规则4 — 最高分为50–74: 提出一个明确的澄清问题。请勿安装任何插件。
示例澄清问题:
  • "您是专门想使用Polymarket,还是其他预测市场?"
  • "您想在Hyperliquid上交易永续合约,还是其他永续合约平台?"
  • "您是要存入Aave,还是愿意选择能提供最佳利率的任意借贷协议(这种情况下我可以使用OKX的聚合DeFi搜索)?"
分数为50–74的示例:
  • "我想交易永续合约"(未提及Hyperliquid)
  • "我想存入并赚取收益"(Aave、Morpho或okx-defi-invest都可能匹配)
  • "我想借ETH"(Aave或Morpho都合理)
  • "在BNB Chain上添加流动性"(未明确提及PancakeSwap)
规则5 — 最高分<50(无前5匹配):
本技能的各协议表涵盖5个具有硬编码路由的DApp。当没有DApp分数≥50时,根据用户是否提及任何可识别的第三方DApp/协议,在两个子规则中做出选择:
规则5a — 用户提及了前5之外的可识别第三方DApp(例如Uniswap、Curve、GMX、Lido、Jupiter、Raydium、Compound、ether.fi、Pendle、Maker / Sky、Convex、Velodrome、Aerodrome、Camelot、SushiSwap、Balancer、Kamino、Orca、Meteora、dYdX、Across、LI.FI / Jumper、Mayan、deBridge等):
前5个路由未匹配,但更广泛的注册表中可能存在对应的插件。安装plugin-store作为通用发现层并委托处理:
bash
npx skills add okx/plugin-store --skill plugin-store --yes --global
读取文件:$HOME/.claude/skills/plugin-store/SKILL.md
(路径为Claude Code专属——请参阅步骤1中的已知限制。)
Plugin-store可访问更广泛的插件注册表(
plugin-store list
),如果存在匹配的插件则可以安装。转发用户的原始请求——引导过程对用户透明。如果plugin-store的注册表中也没有匹配的插件,plugin-store会告知用户并提供替代方案。
规则5b — 用户未指定特定DApp(仅包含纯通用术语):
请勿安装任何插件。向用户展示支持的DApp并询问哪一个符合其需求:
当前可直接路由的第三方DApp如下——请告诉我您想使用哪一个:
DApp用途
Polymarket预测市场——对事件结果投注YES/NO(例如BTC 5分钟市场)
Aave V3基于健康因子清算机制的链上借贷
Hyperliquid带有链上订单簿的永续期货DEX
PancakeSwapBNB Chain AMM(V2 + V3 CLMM)和收益产品
Morpho V1 OptimizerAave/Compound利率优化器
如果您的需求更通用——寻找最佳收益、重新平衡或跨协议领取奖励——
okx-defi-invest
(OKX聚合DeFi)是更好的选择。
如果您想使用上述未列出的其他DApp(例如Uniswap、Curve、GMX等),请明确说出其名称,我会通过plugin-store搜索更广泛的插件注册表。

Notes

注意事项

Session activation: A newly installed plugin's instructions are active immediately via the
Read
above. Its own proactive keyword triggers register on next session start — so for reliable independent routing in future sessions, the user can restart Claude Code once after install. No restart needed for the current session.
Idempotent install:
npx skills add ... --yes --global
is safe to re-run; it's a no-op if the plugin is already installed. Step 1's presence check exists to avoid an unnecessary network call, not for safety.
Failure mode: If
npx skills add
fails (network error, registry unreachable), tell the user: "I couldn't install
<plugin-name>
— check your network connection or run
npx skills add okx/plugin-store --skill <plugin-name> --yes --global
manually. Then ask me again about the DApp and I'll route through it automatically."

会话激活: 新安装的插件说明会通过上述
读取
操作立即生效。其主动关键词触发功能会在下次会话启动时注册——因此为了在未来会话中实现可靠的独立路由,用户可以在安装后重启一次Claude Code。当前会话无需重启。
幂等安装:
npx skills add ... --yes --global
可安全重复运行;如果插件已安装,则不会执行任何操作。步骤1中的存在性检查是为了避免不必要的网络调用,而非出于安全考虑。
故障模式: 如果
npx skills add
失败(网络错误、注册表不可达),请告知用户:“我无法安装
<plugin-name>
——请检查您的网络连接,或手动运行
npx skills add okx/plugin-store --skill <plugin-name> --yes --global
。之后再次向我询问该DApp,我会自动路由至它。”

Skill Routing

技能路由表

User IntentAction
User names a specific supported DApp (Polymarket, Aave, Hyperliquid, PancakeSwap, Morpho) → score ≥ 75Apply Rules 1–2
User mentions a DApp ambiguously (perps, lending, swap on BNB) → score 50–74Apply Rule 4 — clarify
"What dapps are available?" / "Show me supported DApps" / "有什么dapp"Apply Rule 5 — show the supported-DApp table
Generic yield/APY/lending without a named protocolDefer to
okx-defi-invest
(do not invoke this skill)
User mentions a DApp not in the supported setTell the user this skill currently routes to the 5 listed DApps; suggest checking the OKX plugin marketplace for additional plugins, or using
okx-defi-invest
for OKX-aggregated DeFi if the intent is yield-focused
用户意图操作
用户指定某个受支持的特定DApp(Polymarket、Aave、Hyperliquid、PancakeSwap、Morpho)→ 分数≥75应用规则1–2
用户模糊提及某个DApp(perps、借贷、BNB链上兑换)→ 分数50–74应用规则4——澄清
"What dapps are available?" / "Show me supported DApps" / "有什么dapp"应用规则5——展示支持的DApp表格
未指定协议的通用收益/APY/借贷请求转交至
okx-defi-invest
(请勿调用本技能)
用户提及受支持集合之外的DApp告知用户本技能当前可路由至列出的5个DApp;建议查看OKX插件市场获取更多插件,或如果需求是收益相关的,使用
okx-defi-invest
的OKX聚合DeFi功能