Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 2.47 KB

File metadata and controls

47 lines (34 loc) · 2.47 KB

OneKey Wallet — Agent Skills

Skill collection for AI coding assistants operating the OneKey wallet CLI. Four skills cover wallet operations, App Transfer/App Transport Bot Wallet login, hardware wallet sessions, BTC/Solana support, swap execution, market research, and security auditing.

Available skills

Skill Purpose When to use
onekey-wallet Auth, App Transfer/App Transport, hardware wallet, balances, BTC/SOL transfers, history, receive/logout User logs in with Bot Wallet App Transfer/App Transport or hardware wallet, checks balance, sends/withdraws assets, views transaction history, receives funds, derives BTC addresses, or logs out
onekey-swap Swap quotes, execution, BTC/SOL swaps, BTC sign-only PSBT, bridges, swap status User wants to swap, trade, buy, sell, convert tokens, sign a BTC PSBT, or bridge cross-chain
onekey-market Token prices, trending, K-line, liquidity, holders, BTC metrics, Solana research User asks for token prices, trending tokens, search, K-line, liquidity, holders, BTC metrics, or market research
onekey-security Token audits, transaction simulation, risk review, hardware/App Transfer/App Transport secret safety User asks for honeypot check, token audit, approval safety, transaction simulation, hardware safety, or credential/secret safety

Each skill's SKILL.md defines domain rules, safety gates, and fast patterns. Each skill's references/common.md carries shared pre-flight, safety, scam-stop, chain-inference, and response-contract rules.

Interface discovery

The onekey CLI is self-describing via JSON Schema — never guess parameters:

  • onekey schema --list — list all available commands.
  • onekey schema <cmd> — JSON Schema for a command's input and output.
  • onekey schema --all — full command registry.
  • onekey <cmd> --help — command-specific usage help.

If onekey schema --list omits a command that onekey --help exposes (e.g. hardware-device commands under onekey device), treat it as a CLI schema gap and do not guess device parameters.

Quick start

onekey <command>

If the binary is missing, the skill's references/common.md explains how to install via npm install -g @onekeyfe/cli.

Repository conventions

Authoring and CI rules for maintainers live in CONTRIBUTING.md. Platform install instructions live in README.md and the per-platform directories (.claude-plugin/, .cursor-plugin/, .opencode/, .codex/, .openclaw/).