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 skills add aicoincom/coinos-skills --skill aicoin-onchaingit clone --depth 1 https://github.com/aicoincom/coinos-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/aicoincom/coinos-skills/aicoin-onchain)<a href="https://agentmods.dev/skills/aicoincom/coinos-skills/aicoin-onchain"><img src="https://agentmods.dev/badge/skills/aicoincom/coinos-skills/aicoin-onchain/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/aicoincom/coinos-skills/aicoin-onchain"><img src="https://agentmods.dev/badge/skills/aicoincom/coinos-skills/aicoin-onchain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 66 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
What 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.1 | $0.00373 | $0.03986 |
| Opus 5 | $0.00187 | $0.01993 |
| Sonnet 5 | $0.00075 | $0.00797 |
| Haiku 4.5 | $0.00037 | $0.00399 |
Grade A, and why
aicoin-onchain scanned grade A with 1 finding 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 13d ago.
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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
2. **NEVER use curl, web_fetch, web_search** for on-chain data. Always use these scripts. How it starts
The opening of the file, as written. The whole thing — 244 lines — stays where its author put it; the contents beside it link to each section on GitHub.
运行脚本: 从 SKILL.md 所在目录运行
node scripts/<file>.mjs <action>. 三引擎(OpenClaw / Hermes / Claude Code)容器自动加载 skill, 直接cd到 skill 目录即可.
AiCoin Onchain
On-chain DEX toolkit powered by OKX Web3 DEX API. Token discovery, swap execution, wallet portfolio, gas estimation, and transaction broadcasting across 20+ blockchains.
Version: 1.0.0
Critical Rules
- NEVER fabricate data. Always run scripts. If data is empty or errors, say so — do NOT invent prices or balances.
- NEVER use curl, web_fetch, web_search for on-chain data. Always use these scripts.
- NEVER run
envorprintenv— leaks API secrets. - Scripts auto-load
.env— never pass credentials inline. - Reply in user's language. Chinese input = Chinese response.
- User confirmation required before swap execution. Always show quote details (amount, gas, price impact, honeypot status) and get explicit user approval before calling
swap swap. - This skill does NOT sign transactions. It returns unsigned tx data. User must sign locally with their own wallet/key.
⚠️ 路由优先级 (用户问"链上大资金动向"先去 hyperliquid + market,不是这里)
本 skill 主要服务 DEX swap / 钱包查询 / 链上交易动作, 不是"链上数据探查"的首选.
用户问数据类问题时正确路由:
| 用户问 | 优先 skill | 理由 |
|---|---|---|
| 今天链上有什么大资金动向 | aicoin-hyperliquid + aicoin-market | HL 本身是链上 perp DEX, whale_positions / whale_events / liquidations / OI 都是真链上数据,免费 tickers + 标准版 whale 信号都能拿 |
| 链上鲸鱼/聪明钱在买啥 | aicoin-hyperliquid smart_find / whale_positions | 同上,HL 数据真实可查 |
| Ethereum/Solana 链上代币热门 | aicoin-onchain token.mjs trending |
OKX Web3 endpoint, 但需要 key — 数据探查不是首选用法 |
| 我钱包 0x... 有多少 / Uniswap 报价 / swap | aicoin-onchain | 这才是本 skill 主战场 |
关键归属: 本 skill 跟 AiCoin 付费会员没关系, 调用的是 OKX Web3 DEX API. 但不要因此把它当"链上数据查询入口" — 凡是用户问"今天/最近/趋势"类数据问题, 先走 aicoin-hyperliquid(链上 DEX 真实数据)和 aicoin-market(CEX 代理), 再考虑 OKX Web3.
两个数据源不要混:
aicoin-onchain(本 skill) → DEX 交易动作 + 钱包, OKX_WEB3_API_KEY 是为了签名 swap / 报价 / 查钱包而申请, 不是为了拉数据aicoin-hyperliquid→ 链上 perp DEX whale 数据, 用 AiCoin Open Data APIaicoin-market→ CEX 大单 / 资金费率 / K线 / 多空比, 也用 AiCoin Open Data API
What ships with it
9 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.
- lib/env-loader.mjs 3.4 KB runs code
- lib/okx-api.mjs 6.4 KB runs code
- package.json 170 B
- scripts/gateway.mjs 2.1 KB runs code
- scripts/market.mjs 2.2 KB runs code
- scripts/portfolio.mjs 1.6 KB runs code
- scripts/swap.mjs 2.7 KB runs code
- scripts/token.mjs 2.5 KB runs code
- scripts/trade.mjs 8.9 KB runs code
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.
- 13d ago First seen · 244 lines · 373 tokens per session scan A 9425f4fb34e5
aicoin-onchain is a skill published in the GitHub repository aicoincom/coinos-skills (52 stars, last pushed 14d ago), licensed MIT. It adds 373 tokens to every session and 3,986 once invoked, about $0.0019 per session on Opus 5. A static security scan graded it A with 1 finding (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
frontend-conventions
Coding conventions, architecture patterns, and testing rules for the SkillHub React frontend. Ensures agents follow Feature-Sliced Design and use the generated OpenAPI types.
elizaos
Use when the task involves elizaOS core runtime concepts, plugins, actions, providers, evaluators, services, memories, state composition, or upstream elizaOS development. Covers the main abstractions and the TypeScript runtime mental model.
backend-module-structure
Rules for the SkillHub backend Maven multi-module clean architecture. Ensures agents place new code in the correct module and respect dependency direction.
starknet-js
Use when writing or debugging JavaScript/TypeScript that interacts with Starknet through the starknet.js SDK — building Call objects or calldata, encoding/decoding Cairo types (felt252, u256, structs, arrays, spans, ByteArray, Option/Result/custom enums), or working with contracts, accounts, providers, transactions…
typescript-expert
TypeScript expert for type system, generics, utility types, and strict mode patterns.
adding-personhog-rpc
Guide for adding a new RPC to personhog-replica and personhog-router. Covers eligibility checks, proto definition, code generation for Python and Node.js clients, Rust implementation (storage trait, postgres queries, service handler, router wiring), and index compatibility validation. Use when adding a new gRPC…