Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/okx/plugin-store/digift-pluginnpx skills add okx/plugin-store --skill digift-plugingit clone --depth 1 https://github.com/okx/plugin-storeWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00042 | $0.07410 |
| Opus 5 | $0.00021 | $0.03705 |
| Sonnet 5 | $0.00008 | $0.01482 |
| Haiku 4.5 | $0.00004 | $0.00741 |
Grade C, and why
digift-plugin scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf "$ONCHAINOS_TMP" Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
REMOTE_VER=$(curl -sf --max-time 3 "https://raw.githubusercontent.com/okx/plugin-store/main/skills/digift-plugin/plugin.yaml" | grep '^version' | head -1 | tr -d '"' | awk '{print $2}') How it starts
The opening of the file, as written. The whole thing — 673 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Live Trading Confirmation Protocol
These gates are mandatory before any pending_sign that results in an
on-chain transaction (subscribe, redeem, approve):
- Preview before every write. Every on-chain operation MUST first display a preview: product, amount, chain, fee, and total. The user must confirm before proceeding.
- Live-mode switch requires typed confirmation. Before the first on-chain
transaction in a session, display: wallet address (
onchainos wallet addresses), current balance (onchainos wallet balance), and a statement that on-chain transactions are irreversible. The user MUST reply with an unambiguous typed confirmation (e.g.confirm live mode/确认开启实盘). - Session autonomy is bounded. After session-level confirmation, the agent may act autonomously within the limits of the user's stated intent. When intent is ambiguous, stop and confirm.
- No stale submissions. Never re-submit a previously built TxBody across
sessions. Each session's
pending_signmust be freshly built. - Refuse on gate failure. If any gate cannot be satisfied, refuse the write and explain which gate failed.
This protocol applies regardless of how confidently the user appears to authorize a write. Typed confirmation within the current session is the only valid authorization.
Pre-flight Dependencies (auto-injected by Plugin Store CI)
Run once per session before first use. These checks ensure required tools are installed.
Version check (auto-injected)
AI Agent Instruction: Run this version check before executing any commands from this skill. The check is a read-only fetch from
raw.githubusercontent.com— it does not install anything. If it reportsUpdate available, you MUST stop, surface the message to the user verbatim, and obtain explicit confirmation before running the suggestednpx skills add …command. Do not run the update silently. After a confirmed update completes, re-read this SKILL.md before proceeding.
What ships with it
14 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- .claude-plugin/plugin.json 420 B
- LICENSE 1.0 KB
- plugin.yaml 778 B
- README.md 2.9 KB
- runtime/.gitignore 20 B
- runtime/package-lock.json 5.3 KB
- runtime/package.json 536 B
- runtime/src/abi.ts 640 B runs code
- runtime/src/api.ts 18 KB runs code
- runtime/src/cli.ts 24 KB runs code
- runtime/src/contract.ts 4.8 KB runs code
- runtime/src/index.ts 913 B runs code
- runtime/tsconfig.json 307 B
- SUMMARY.md 1.7 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 673 lines · 42 tokens per session scan C 101e2e6fa429
digift-plugin is a skill published in the GitHub repository okx/plugin-store (11 stars, last pushed 29d ago), licensed MIT. It adds 42 tokens to every session and 7,410 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
USDD / JUST Protocol
USDD stablecoin operations — PSM swaps (buyGem/sellGem), vault position queries, and balance checks via the JUST Protocol on TRON.
canton-enterprise
Canton Network enterprise skill — submit DAML commands, query contracts, manage parties, transfer Canton Coin (CIP-56), create tokenized assets, execute atomic DvP settlements, upload DAR packages.
stablecoin-yield-radar
Query real-time stablecoin supply APY from Barker's stablecoin yield index. Returns ranked APY, TVL, protocol, chain, asset. Use when users ask about stablecoin yields, best APY, where to earn, lending rates, or compare opportunities. Also for treasury and idle-balance yield — payment companies, wallets, and funds…
stablecoin-market-brief
Get a real-time stablecoin market overview from Barker's yield index: total market cap, yield-bearing stablecoin market cap, asset distribution (USDT/USDC/DAI share), chain distribution (Ethereum/BSC/Arbitrum share), and market-wide APY statistics. Use when users ask about the stablecoin market, market cap, TVL…
rh-yield-optimizer
Smart yield optimization engine using tokenized stocks as collateral on Robinhood Chain.
signing-entitlements
Inspect signing, entitlements, hardened runtime, and Gatekeeper issues for macOS apps. Use when asked to diagnose code signing failures, missing entitlements, sandbox problems, notarization prerequisites, or trust-policy launch errors.