SKILLEMALL.ai

BD okx-dex-swap

Execute token swaps on-chain via OKX DEX Aggregator API (v6). Use this skill when a user wants to: 1. Build a complete swap flow: get swap calldata -> sign transaction -> broadcast to chain 2. Execute token-to-token swaps with slippage protection, MEV protection, and Jito tips (Solana) 3. Integrate OKX DEX swap + broadcast into applications, bots, or scripts This skill covers the FULL lifecycle: /swap endpoint (get tx data) + /broadcast-transaction endpoint (submit signed tx). For quote-only (no execution), use the okx-dex-quote skill instead.

modbender/skill-library-mcp Agent Skills author: modbender MIT 2 files body ≈ 6 136 tokens Open the sourcegithub.com analyzed 2 d ago

Execute token swaps on-chain via OKX DEX Aggregator API (v6).

As a process D 49/100 · Unfinished process — weak spots: result and completion, when it triggers, consistency

IntegrationAI and agentstype and topics are labelled automatically from the skill text
JSON
Technical rating
B
87/100
safety, quality, tests
Safety 60%
99
Quality 40%
70
Run on models
none yet
Process rating
D
49/100
Unfinished process
Result and completion w 14
0
When it triggers w 12
20
Running it twice w 4
30
the three weakest of ten parameters · all ten

How to improve

  1. The SKILL.md body is over 5,000 tokens: move reference detail into references/ and load it when needed.
For the model run — optional
  • Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
  • A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.

Guard findings · 1

✓ No critical or high findings

Medium and low: 1
  • low Secrets in code secret-high-entropy-token SKILL.md:170
    High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)
    "approveContract": "0x40…D7f",
    quoted

Files scanned: 2. Evidence is masked. Grey chips explain why severity was lowered.

Against the Agent Skills spec

  • warning body-long SKILL.md body ≈ 6136 tokens (recommended < 5000); move details to references/
  • note frontmatter-key unknown frontmatter key "allowed_tools"
  • note frontmatter-key unknown frontmatter key "required_context"

Process rating: all ten parameters 49/100

  • 0Result and completion. Does not say what the result is
  • 20When it triggers. No condition that starts the skill
  • 30Running it twice. 14 mutating operations with no state check
  • 40Consistency. Frontmatter name (okx-dex-swap) differs from the folder (easy-swap)
  • 50Failures and branches. 0 branches, has a failure section
  • 60Tools and files. Uses tools (web, python) that frontmatter does not declare
  • 70Inputs and preconditions. Inputs and preconditions are listed
  • 70Execution cost. Instruction body is 6136 tokens
  • 85Steps. 57 steps, 1 vague phrases
  • 100Progress reporting. Reports progress
  • medium Safety rules and hard prohibitions inside a skill: they belong in the system prompt, here they protect nothing

Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.

Quality signals

  • +5Description has no quoted example phrases that should trigger the skill
  • +4Description does not say when NOT to use the skill (false activations)
  • +3Output format is not stated: the model decides each time
  • -31 of 1 scripts are never mentioned in SKILL.md
  • +2Single-language instructions
  • +3Description length 549: enough signal without eating the budget
  • +4Structure: 29 headings
  • +3Step-by-step instructions: 57 items
  • +4Has examples (12 code blocks)
  • +1License stated

Quality base 70; lint remarks subtract, signals add up to 100. Result: 70.