okx-agentic-wallet
できること
このスキルは、onchainosコマンドラインツールを通じて暗号資産のウォレットを操作します。保有の確認や送金などのウォレットの作業を、AIに任せたい人向けです。
使う場面
- ✓ウォレットの残高や保有を確認したいとき。
- ✓ウォレットからトークンを送ったり、コントラクトを呼び出したりしたいとき。
- ✓取引履歴や、署名されたメッセージが必要なとき。
スキルのリンク
https://github.com/internet-court/internet-court-skill/blob/main/vendored/okx/okx-agentic-wallet/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“ウォレットの残高を確認し、直近の取引を五件見せてもらえますか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、onchainosのコマンドラインを使ってサインイン、残高の読み取り、トランザクションの準備を行います。作業ごとに決まった流れに従い、送信後はトランザクションの状態を確認します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Onchain OS Wallet
Unified wallet skill driving the onchainos CLI: wallet lifecycle, Gas Station, DEX swap, cross-chain bridge, limit-order strategy, transaction gateway, public-address portfolio, security scanning, and audit log.
Intent Routing
Match the user intent to a row, then read that row's linked file first — it holds the flow. Read only the matched file; do not load other rows' files. Each file links its own deeper files (cli-reference, troubleshooting) at the bottom via explicit links — open those when the flow needs them; never construct a file path yourself.
| User Intent | Reference |
|---|---|
| Sign in / connect / social login (Google / Apple / Email) / logout; add / switch account; login status | wallet |
| My wallet address / QR code; check my (logged-in) balance / holdings | wallet |
| Send / transfer native or ERC-20 / SPL tokens | wallet |
| Call a contract (approve / deposit / withdraw / custom function) | wallet |
| Transaction history / tx detail / order status; sign a message (personalSign / EIP-712) | wallet |
| Policy / spending limit / whitelist; export wallet / mnemonic; MEV protection for a contract-call; third-party Solana plugin write pre-flight | wallet |
| Apple-login wallet differs from the OKX Wallet App / "missing" balance; rename a wallet or account; how transaction signing works (TEE) | account-faq |
Pay gas with a stablecoin on Solana; enable / disable / change default gas token / status; a send / contract-call returns gasStationUsed or a Gas Station Confirming; Gas Station FAQ / "check order" |
gas-station |
| Swap / trade / buy / sell / convert tokens; quote; best route; calldata-only swap; liquidity sources; ERC-20 approval for a DEX | swap |
| Bridge / cross-chain swap / move tokens between chains; bridge quote / fee comparison; supported bridges; track cross-chain arrival | bridge |
| Limit order: buy dip / take profit / stop loss / buy above; cancel / list / resume limit (strategy) orders | strategy |
| Broadcast a signed / raw tx; estimate gas price / gas-limit; simulate a tx; track a broadcast order | gateway |
A given public address's balance / holdings / total value (0xAbc… / a Solana address) |
portfolio |
| Token / honeypot (蜜罐 / 貔貅) safety; DApp / URL phishing; tx or signature pre-check; check / list / revoke token approvals (ERC-20 / Permit2) | security |
| Export / locate audit log, view command history | audit-log |
Pre-flight Checks
Before the first onchainos command this session, read and follow _shared/preflight.md.
Build the Command
- Read the matched row's linked file first (per the Intent Routing table) — it carries the flow and the commands you need. Never guess subcommand, flag, or file names.
- When you need exact flags, defaults, or return-field schemas that the domain file doesn't spell out, run
onchainos <group> <subcommand> --help(the CLI is the source of truth), or load that domain's-cli-reference.mdwhen the flow needs it (each domain file lists its own deeper files at the bottom). Don't load it up front. - Confirm before any state-changing command. Display the prompt, get an explicit affirmative, and follow the Confirming Response rule below.
Chain Name Support
--chain accepts numeric chain IDs and human-readable names. Resolution rules and the supported-chain matrix live in _shared/chain-support.md. If <100% confident of a chain name, run onchainos wallet chains.
Confirming Response
Some state-changing commands return confirming (exit code 2) when the backend needs user confirmation. The response carries message (prompt to show) and next (what to do after they confirm).
- Display
messageand ask for confirmation. - Confirms → follow
next(usually: re-run the same command with--forceappended). - Declines → do NOT proceed; tell the user it was cancelled.
Never pass --force on the FIRST invocation of a state-changing command. Add --force only after all of: (1) you ran the command once without it, (2) the C
よくある質問
許可なく送金しますか?
このスキルは、送金やコントラクトの呼び出しのための明示的な手順に基づいており、エージェントは詳細を先に確認するべきだとしています。
ウォレットのエクスポートもできますか?
このスキルはウォレットのエクスポートとポリシーを扱うため、エージェントはそれを案内できます。
ガス代の支払いも扱いますか?
はい。Gas Station機能を通じたガス代の支払いに言及しています。
詳細
作者による元の説明
OKX Agentic Wallet — the single skill for the user's wallet and on-chain execution. Use it whenever the user wants to operate their wallet or execute an on-chain action, including: login & accounts, balance / holdings, wallet address / deposit / receive, send / transfer, contract calls (approve / deposit / withdraw), transaction history & status, message signing, wallet export & policy; pay gas with a stablecoin (Gas Station, Solana); swap / trade / buy / sell / convert, get a quote; cross-chain bridge & track arrival; limit orders (buy dip / take profit / stop loss / buy above) plus cancel /
人気
- GitHubのスター
- 7.0k
- ランキング
- #13660
- ライセンス
- —
- 更新日
- 2026/10/26
コメント
- …
このリポジトリの他のスキル
internet-court
7.0kエージェントが、他のAIエージェントや有料サービスと安全に支払い、雇用、取引できるよう支援し、適切な専門ガイドを案内します。
genlayer-erc7710-connector
7.0kエージェントが、AIによるレビューの結果を権限の仕組みにつなぎ、悪いレビューがエージェントの権限を制限または取り消せるよう支援します。
genlayer-intelligent-contracts
7.0kエージェントが、別のエージェントが委任された範囲を守ったかを判定するAIの審査役について、ルール、証拠、出力を定義できるよう支援します。
x402-erc7710
7.0kエージェントが、リクエストごとにウェブサービスの支払いを行い、許可された予算の範囲内で継続的な支出を設定できるよう支援します。