Skip to main content
skill CX Codex

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

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add Starchild-ai-agent/official-skills --skill debank -a claude-code
Open on GitHub

What 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 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on all chains
  • Which DeFi protocols does this address use, and how much sits in each?
  • Explain what this eth transaction 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-code

2Manually: put the files in place

~/.claude/skills/debank/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/debank/

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.

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set66

The whole set →

Project sponsors

Companies that keep this analytics open