nansen-wallet-profiler — скилл для Claude Code: разбор кошельков
Скилл для анализа конкретного криптокошелька: баланс, PnL, метки, транзакции, контрагенты. Пригодится, когда нужно разобрать адрес или сравнить два.
npx skills add nansen-ai/nansen-cli --skill nansen-wallet-profiler -a claude-codeЧто делает nansen-wallet-profiler
Скилл даёт агенту доступ к командам nansen research profiler. Через них он смотрит баланс и метки адреса, считает PnL за нужный период, выгружает транзакции и исторические балансы, находит связанные кошельки и контрагентов. Есть отдельные подкоманды для перпетуалов — позиции и сделки, там --chain не нужен.
Для массовой работы есть batch (несколько адресов сразу с выбором полей через --include), trace — обход контрагентов в ширину на заданную глубину, и compare — общие контрагенты и токены у двух кошельков. counterparties-batch берёт до 10 адресов за вызов, но не смешивает EVM и Solana: одна экосистема на запрос, all определяет её сам. Строки идут блоками по кошелькам, поэтому маленькая страница покажет только один адрес — поднимайте --limit и листайте через --page.
Перед запуском нужен выбранный API-ключ или сохранённая сессия браузера: сначала nansen auth status. NANSEN_API_KEY перекрывает сохранённую сессию. Каждый вызов может списывать кредиты, а ключи и браузерные сессии используют одно и то же поведение автооплаты x402 — поддерживаемый ответ HTTP 402 может потратить средства из настроенного кошелька в рамках ваших лимитов. trace делает много запросов, так что --width лучше держать небольшим. Если аутентификация упала, не стирайте ключ и не переключайтесь на анонимный доступ ради повтора.
Какие задачи решает
- посмотреть баланс и метки конкретного адреса
- посчитать PnL кошелька за 30 дней
- выгрузить историю транзакций с лимитом
- найти связанные кошельки и контрагентов
- сравнить общих контрагентов у двух адресов
Примеры запросов агенту
- Разбери кошелёк 0xabc в ethereum: баланс, метки и PnL за 30 дней
- Найди контрагентов адреса 0xabc за последние 30 дней и покажи таблицей
- Сравни 0xabc и 0xdef в ethereum — какие контрагенты и токены у них общие
Как установить nansen-wallet-profiler
1Через Skills CLI (Vercel)
npx skills add nansen-ai/nansen-cli --skill nansen-wallet-profiler -a claude-code2Вручную: положить файлы
~/.claude/skills/nansen-wallet-profiler/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/nansen-wallet-profiler/
1Через Skills CLI (Vercel)
npx skills add nansen-ai/nansen-cli --skill nansen-wallet-profiler -a codex2Вручную: положить файлы
.agents/skills/nansen-wallet-profiler/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add nansen-ai/nansen-cli --skill nansen-wallet-profiler -a cursor2Вручную: положить файлы
.cursor/skills/nansen-wallet-profiler/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install nansen-ai/nansen-cli nansen-wallet-profiler2Вручную: положить файлы
.github/skills/nansen-wallet-profiler/SKILL.md1Через Skills CLI (Vercel)
npx skills add nansen-ai/nansen-cli --skill nansen-wallet-profiler -a gemini-cli2Командой платформы
gemini skills install https://github.com/nansen-ai/nansen-cli --path skills/nansen-wallet-profilerВручную: положить файлы
.devin/skills/nansen-wallet-profiler/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add nansen-ai/nansen-cli --skill nansen-wallet-profiler -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Из того же набора8
Похожие
Рядом в теме «Настройка агента: память, контекст, субагенты»
Все скиллы по теме «Настройка агента: память, контекст, субагенты» →Вопросы о nansen-wallet-profiler
Как установить nansen-wallet-profiler в Claude?
Выполните npx skills add nansen-ai/nansen-cli --skill nansen-wallet-profiler -a claude-code. Скилл окажется в ~/.claude/skills/nansen-wallet-profiler/SKILL.md.
Что делает nansen-wallet-profiler?
Показывает баланс, PnL, метки, транзакции и контрагентов по адресу кошелька, умеет трассировать связи и сравнивать два адреса.
Что нужно для работы скилла?
Выбранный API-ключ или сохранённая сессия браузера, плюс бинарник nansen. Перед исследованием стоит запустить nansen auth status.
Исходный текст
SKILL.md · MIT
---
name: nansen-wallet-profiler
description: Wallet profiler — balance, PnL, labels, transactions, counterparties, related wallets, batch, trace, compare. Use when analysing a specific wallet address or comparing wallets.
metadata:
openclaw:
requires:
bins:
- nansen
primaryEnv: NANSEN_API_KEY
install:
- kind: node
package: nansen-cli
bins: [nansen]
allowed-tools: Bash(nansen:*)
---
## Authentication
Browser login requests `nansen:api` for API-key-equivalent account API permissions; existing OAuth/MCP `nansen:read` semantics and separate wallet authorization are unchanged.
Before any research command or loop, require an explicitly selected API key or saved browser session. Run `nansen auth status` first. Its cached/unverified metadata does not prove credential validity or unlocked storage. Cached access-token expiry alone does not mean the session is unusable: the CLI normally renews a selected session automatically during an already-authorized research task, without another consent request or a separate account check. Stop on anonymous selection, invalid authentication state, blocked or uncertain renewal/cleanup, or an actual authentication failure, including rejected or expired refresh authority. Follow the CLI error guidance; use the free `nansen account` check when troubleshooting calls for it. Do not unset a failed key, erase a session or switch to anonymous access to retry.
Use `nansen login` for fresh browser approval within the documented platform scope, or configure a conventional API key. `NANSEN_API_KEY` overrides the saved session. OpenClaw's optional `primaryEnv` mapping preserves configured API-key injection; it is not a required-key gate or proof of authentication. Normal credits and entitlements apply. Login does not purchase credits. Browser login is available in CLI 2.0.0 within the [macOS arm64 preview scope](https://github.com/nansen-ai/nansen-cli/blob/main/docs/browser-login.md#preview-platform-scope).
API keys and browser sessions use the same automatic x402 payment behavior: a supported HTTP 402 challenge can spend funds from the configured wallet under existing wallet authorization, payment policy and spending limits. Each call, including calls in loops, can incur a payment. Authentication, authorization and session-renewal failures never trigger payment; login verification and `nansen account` never pay automatically. Anonymous x402 remains available as a separate paid workflow requiring explicit user intent and payment setup. Do not run this research workflow anonymously or switch to anonymous access after authentication fails.
# Wallet Profiler
All commands: `nansen research profiler <sub> [options]`
`--address` and `--chain` required for most commands.
## Balance & Identity
```bash
nansen research profiler balance --address <addr> --chain ethereum
nansen research profiler labels --address <addr> --chain ethereum
nansen research profiler search --query "Vitalik"
```
## PnL
```bash
nansen research profiler pnl --address <addr> --chain ethereum --days 30
nansen research profiler pnl-summary --address <addr> --chain ethereum
```
## Transactions & History
```bash
nansen research profiler transactions --address <addr> --chain ethereum --limit 20
nansen research profiler historical-balances --address <addr> --chain solana --days 30
```
## Relationships
```bash
nansen research profiler related-wallets --address <addr> --chain ethereum
nansen research profiler counterparties --address <addr> --chain ethereum --days 30
# Counterparties for up to 10 wallets in one call (max --days 90).
# Results are not aggregated — every row carries the wallet_address it belongs to.
# One ecosystem per request: EVM and Solana addresses cannot be mixed; `all` auto-detects it.
# --chain also takes any single chain the profiler serves, EVM or not: arbitrum, arc,
# avalanche, base, bitcoin, bnb (`bsc` is accepted too), ethereum, hyperevm, injective,
# iotaevm, linea, mantle, mantra, monad, near, optimism, plasma, polygon, robinhood, sei,
# solana, sonic, starknet, sui, ton, tron.
# Rows come back as contiguous per-wallet blocks ordered by wallet address, so a small page
# holds one wallet only — raise --limit and page with --page N to reach later wallets.
nansen research profiler counterparties-batch --addresses "0xabc,0xdef" --days 30 --limit 50
```
## Perps (no --chain)
```bash
nansen research profiler perp-positions --address <addr>
nansen research profiler perp-trades --address <addr> --days 7
```
## Batch, Trace & Compare
```bash
# Batch — profile multiple wallets at once
nansen research profiler batch \
--addresses "0xabc,0xdef" --chain ethereum \
--include labels,balance,pnl
# Trace — BFS multi-hop counterparty trace (makes N*width API calls)
nansen research profiler trace --address <addr> --chain ethereum --depth 2 --width 5
# Compare — shared counterparties and tokens between two wallets
nansen research profiler compare --addresses "0xabc,0xdef" --chain ethereum
```
## Flags
| Flag | Purpose |
|------|---------|
| `--address` | Wallet address (required) |
| `--chain` | Required except for perps and search |
| `--days` | Lookback period (default 30) |
| `--limit` | Number of results |
| `--addresses` | Comma-separated wallets for `batch`, `compare`, `counterparties-batch` |
| `--include` | Batch fields: `labels,balance,pnl` |
| `--depth` | Trace depth 1-5 (default 2) |
| `--width` | Trace width — keep low to save credits |
| `--fields` | Select specific fields |
| `--table` | Human-readable table output |
| `--format csv` | CSV export |
## Notes
- `pnl-summary` has no pagination support (returns aggregate stats, not a list).
- `perp-positions` has no pagination support.
- `labels` supports pagination — `--limit`/`--page` are honoured and the response is `{pagination: {page, per_page, is_last_page}, data[]: {label, category, kind[]}}`.
- `transactions` caps at per_page=100 (API limit).
- `trace` makes many API calls — use `--width` conservatively.
- `batch` accepts `--file <path>` with one address per line as alternative to `--addresses`.
© nansen-ai · MIT · nansen-ai/nansen-cli