Debank Skill
/install debank-skill
DeBank CLI Skill
This skill uses debank-cli to query blockchain data via the DeBank Pro API.
Skill repo: https://github.com/lolieatapple/debank-skill CLI repo: https://github.com/lolieatapple/debank-cli
Prerequisites
Ensure debank-cli is installed globally:
!`which debank 2>/dev/null || echo "NOT_INSTALLED"`
If NOT_INSTALLED, install it:
npm install -g debank-cli
Then check if the API key is configured:
!`debank config show 2>&1`
If no API key is configured, ask the user for their DeBank Pro API key (obtain at https://cloud.debank.com/) and run:
debank config set-key \x3CTHE_KEY>
Available Commands
Wallet Queries
| Command | Description |
|---|---|
debank user balance \x3Caddress> |
Total USD balance across all chains |
debank user tokens \x3Caddress> [chain_id] [--all] |
Token balances (optionally filter by chain, --all includes dust) |
debank user protocols \x3Caddress> [chain_id] |
DeFi protocol positions with full detail (supply, borrow, rewards) |
debank user nfts \x3Caddress> [chain_id] |
NFT holdings |
debank user history \x3Caddress> [chain_id] [count] |
Transaction history (max 20 per page) |
debank user approvals \x3Caddress> \x3Cchain_id> |
Token approval/allowance list |
debank user chains \x3Caddress> |
Chains where this address has activity |
Token Queries
| Command | Description |
|---|---|
debank token info \x3Cchain_id> \x3Ctoken_id> |
Token details (name, symbol, decimals, price) |
debank token price \x3Cchain_id> \x3Ctoken_id> [YYYY-MM-DD] |
Current or historical price |
debank token holders \x3Cchain_id> \x3Ctoken_id> [limit] |
Top holders (default 20) |
Chain & Gas
| Command | Description |
|---|---|
debank chain list |
All supported chains |
debank chain info \x3Cchain_id> |
Chain details |
debank gas \x3Cchain_id> |
Gas prices (slow/normal/fast) |
Config & Account
| Command | Description |
|---|---|
debank config set-key \x3Ckey> |
Save API key to ~/.debank-cli/config.json |
debank config show |
Show current API key source and masked value |
debank config remove-key |
Remove saved API key |
debank account units |
Check remaining API units and usage |
Common Chain IDs
eth, bsc, matic, arb, op, base, avax, ftm, xdai, cro, linea, scroll, zksync
Native Token Addresses
For native tokens (ETH, BNB, etc.), use: 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
Handling the Request
If the user provides $ARGUMENTS, parse them and run the appropriate debank command directly.
Otherwise, determine the best command based on the user's natural language request:
- "What's in this wallet?" / "Show me the portfolio" →
debank user balance+debank user tokens+debank user protocols - "DeFi positions" / "protocol positions" →
debank user protocols - "Token balances" →
debank user tokens - "NFTs" →
debank user nfts - "Transaction history" →
debank user history - "Token price" / "How much is X?" →
debank token price - "Gas price" →
debank gas - "Approvals" / "allowances" →
debank user approvals
For a comprehensive portfolio overview, run balance, tokens, and protocols in sequence to give a full picture.
Present the results clearly. When showing financial data, highlight the most significant positions and totals.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install debank-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/debank-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Debank Skill 是什么?
Query blockchain wallet data—balances, DeFi positions, tokens, NFTs, transactions, gas prices, and token approvals—across EVM chains via DeBank API. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 108 次。
如何安装 Debank Skill?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install debank-skill」即可一键安装,无需额外配置。
Debank Skill 是免费的吗?
是的,Debank Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Debank Skill 支持哪些平台?
Debank Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Debank Skill?
由 lolieatapple(@lolieatapple)开发并维护,当前版本 v1.0.0。