From onchain-arb
This skill should be used when the user wants to check arbitrage opportunities for a single token across CEX and DEX, compare prices between exchanges and on-chain, or asks things like 'check arb for OKB', 'compare OKX vs DEX price', 'is there a price difference for ETH across exchanges', 'CEX-DEX price spread for TOKEN', '查一下OKB的价差', '链上链下套利'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/onchain-arb:arbitrageThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Query a single token's price across all supported CEXs and DEX chains, then display a concise arbitrage snapshot table.
Query a single token's price across all supported CEXs and DEX chains, then display a concise arbitrage snapshot table.
${CLAUDE_PLUGIN_ROOT}/references/data-collection-workflow.md to gather CEX and DEX prices for the token.Use the highest price as the baseline (价差% = 0, marked as "基准"). Calculate all other prices as percentage deviation from the baseline.
The default trade amount is $1,000. Refer to ${CLAUDE_PLUGIN_ROOT}/references/data-collection-workflow.md for the trade amount rules and first-run prompt.
For each source, estimate how many tokens the trade amount can actually buy, accounting for slippage (order book depth for CEX, pool liquidity for DEX).
Display the following table:
<TOKEN> 套利快照 (基准: <source> $<price>) | 模拟金额: $1,000
┌───────────────┬──────┬──────────┬────────┬──────────────┬──────────┐
│ 来源 │ 类型 │ 价格(USD)│ 价差% │ $1000可买入量 │ 实际均价 │
├───────────────┼──────┼──────────┼────────┼──────────────┼──────────┤
│ OKX │ CEX │ xx.xx │ 基准 │ xx.xx TOKEN │ $xx.xx │
│ Binance │ CEX │ xx.xx │ -x.xx% │ xx.xx TOKEN │ $xx.xx │
│ Ethereum │ DEX │ xx.xx │ -x.xx% │ xx.xx TOKEN │ $xx.xx │
│ BSC │ DEX │ xx.xx │ -x.xx% │ xx.xx TOKEN │ $xx.xx │
└───────────────┴──────┴──────────┴────────┴──────────────┴──────────┘
Rules:
After the table, add a brief "快速判断" section based on the trade amount ($1,000 or user-set value):
Searches MemPalace before answering questions about past work, people, projects, or prior decisions. Returns verbatim stored content instead of guessing from model memory.
Guides Payload CMS config (payload.config.ts), collections, fields, hooks, access control, APIs. Debugs validation errors, security, relationships, queries, transactions, hook behavior.
Implements vector databases with Pinecone, Weaviate, Qdrant, Milvus, pgvector for semantic search, RAG, recommendations, and similarity systems. Optimizes embeddings, indexing, and hybrid search.
npx claudepluginhub mastersamasama/master-plugin-repository --plugin onchain-arb