# debank

A script-driven skill that pulls a wallet's balances, past transactions, DeFi positions and NFTs across EVM chains from the DeBank API.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 131 installs · ★ 33 repo stars
- Author: Starchild-ai-agent
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Starchild-ai-agent/official-skills/tree/HEAD/debank/SKILL.md
- Updated: 2026-10-22
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/debank

## What it 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.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add Starchild-ai-agent/official-skills --skill debank -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/debank/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/debank/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add Starchild-ai-agent/official-skills --skill debank -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/debank/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add Starchild-ai-agent/official-skills --skill debank -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/debank/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install Starchild-ai-agent/official-skills debank
```

2. **Manually: put the files in place**
- File: `.github/skills/debank/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add Starchild-ai-agent/official-skills --skill debank -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/Starchild-ai-agent/official-skills --path debank
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/debank/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add Starchild-ai-agent/official-skills --skill debank -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/Starchild-ai-agent/official-skills/tree/HEAD/debank/SKILL.md

## When to use it
- 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
- 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

## Similar
- [gmgn-wallet-review](https://affpapa.org/en/nevibecode/skills/gmgn-wallet-review.md) — skill · 4900 installs
- [nansen-wallet-manager](https://affpapa.org/en/nevibecode/skills/nansen-wallet-manager.md) — skill · 376 installs
- [binance-agentic-wallet](https://affpapa.org/en/nevibecode/skills/binance-agentic-wallet.md) — skill · 53500 installs
- [tres-asset-balance-validation](https://affpapa.org/en/nevibecode/skills/tres-asset-balance-validation.md) — skill · ★ 4931 repo stars
- [AgentsCoin MCP](https://affpapa.org/en/nevibecode/mcp/agentscoin-mcp.md) — MCP server · 242 installs
- [Sato Hub: Onchain Agents](https://affpapa.org/en/nevibecode/mcp/sato-hub-onchain-agents.md) — MCP server · 922 installs

From the same set: [starchild-ai-agent/official-skills](https://affpapa.org/en/nevibecode/by/starchild-ai-agent/official-skills.md) — 66 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
