debank — Claude Code skill: wallet portfolios, how to install
A script-driven skill that pulls a wallet's balances, past transactions, DeFi positions and NFTs across EVM chains from the DeBank API.
no license 131 installs ★ 33 updated 2026-10-22
npx skills add Starchild-ai-agent/official-skills --skill debank -a claude-codeWhat debank does
Give it an address and it answers with what DeBank knows about that wallet: total value in USD, tokens held, transaction history, open protocol positions, NFTs, and the approvals still hanging. Chains are picked by short codes such as eth, arb, base or sol; db_chain_list() returns the full set.
The skill is script mode, not a prompt trick. The agent opens SKILL.md, then runs Python inside a bash block, importing helpers from exports.py — every one starts with db_. There are single-chain calls and all-chain calls, and the all-chain ones are the heavier request.
Put DEBANK_API_KEY in the environment before anything else, because the script authenticates with it and nothing else. Token amounts arrive as floats already adjusted for decimals. To check a transaction before signing, db_pre_exec_tx and db_explain_tx take a normal transaction dict and describe the outcome.
What it helps with
- check a wallet's total value across every chain
- trace transaction history for one address
- list DeFi positions and the protocols behind them
- audit token and NFT approvals
- simulate a transaction before signing
Example prompts for the agent
- Show the total balance and token list for
0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045on all chains - Which DeFi protocols does this address use, and how much sits in each?
- Explain what this
ethtransaction will do before I send it
How to install debank
1Skills CLI (Vercel)
npx skills add Starchild-ai-agent/official-skills --skill debank -a claude-code2Manually: put the files in place
~/.claude/skills/debank/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/debank/
1Skills CLI (Vercel)
npx skills add Starchild-ai-agent/official-skills --skill debank -a codex2Manually: put the files in place
.agents/skills/debank/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add Starchild-ai-agent/official-skills --skill debank -a cursor2Manually: put the files in place
.cursor/skills/debank/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install Starchild-ai-agent/official-skills debank2Manually: put the files in place
.github/skills/debank/SKILL.md1Skills CLI (Vercel)
npx skills add Starchild-ai-agent/official-skills --skill debank -a gemini-cli2Platform CLI
gemini skills install https://github.com/Starchild-ai-agent/official-skills --path debankManually: put the files in place
.devin/skills/debank/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add Starchild-ai-agent/official-skills --skill debank -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about debank
How do I install debank in Claude Code?
Run npx skills add Starchild-ai-agent/official-skills --skill debank -a claude-code, then confirm the skill landed at ~/.claude/skills/debank/SKILL.md.
What does debank do?
It builds a portfolio view for a wallet address through the DeBank API: USD totals, tokens, transaction history, DeFi positions, NFTs and outstanding approvals. It also simulates and explains a transaction before you send it.
Does it need an API key?
Yes. DEBANK_API_KEY has to be set in the environment, and the helpers run from Python via exports.py.