nansen-portfolio-tracker

nansen-portfolio-tracker is a skill for Claude Code from nansen-ai/nansen-cli. It costs 30 tokens per session (300 once invoked), scanned A, original, MIT.

A wallet portfolio history and performance workflow for crypto assets. It compares past token balances with the current holdings and reports each token’s realised profit and loss.

In plain words
What is it for?
Use it to audit a wallet’s holdings over a chosen period, check its current token balances, and review buys, sells, holdings, realised profit, and return for each token.
Why use it?
It shows how a wallet changed over time instead of giving only a current snapshot. This helps identify assets that were added or removed and measure trading results.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: built for openclaw.

not rated 135repo +2 today A scan Socket: passSnyk: passSkillSpector: pass 30 tokens original MIT

Good fit Use it to audit a wallet’s holdings over a chosen period, check its current token balances, and review buys, sells, holdings, realised profit, and return for each token.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nansen-ai/nansen-cli/nansen-portfolio-tracker
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nansen-ai/nansen-cli --skill nansen-portfolio-tracker
Clone the repo
git clone --depth 1 https://github.com/nansen-ai/nansen-cli

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for nansen-portfolio-tracker

README.md
[![agentmods](https://agentmods.dev/badge/skills/nansen-ai/nansen-cli/nansen-portfolio-tracker.svg)](https://agentmods.dev/skills/nansen-ai/nansen-cli/nansen-portfolio-tracker)
Your own site
<a href="https://agentmods.dev/skills/nansen-ai/nansen-cli/nansen-portfolio-tracker"><img src="https://agentmods.dev/badge/skills/nansen-ai/nansen-cli/nansen-portfolio-tracker.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 300 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 17 Mar 2026
  • Snyk pass 17 Mar 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.00300
Opus 5 $0.00015 $0.00150
Sonnet 5 $0.00006 $0.00060
Haiku 4.5 $0.00003 $0.00030

Measured 8d ago against content hash 046ef6177f79, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

nansen-portfolio-tracker scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/nansen-portfolio-tracker/SKILL.md · 37 lines

What it actually says

Portfolio History

Answers: "How has this wallet's portfolio evolved over the past month?"

ADDR=<address> CHAIN=ethereum

nansen research profiler historical-balances --address $ADDR --chain $CHAIN --days 30 --limit 20
# → block_timestamp, token_symbol, token_amount, value_usd, chain

nansen research profiler balance --address $ADDR --chain $CHAIN
# → token_symbol, token_name, token_amount, price_usd, value_usd

nansen research profiler pnl --address $ADDR --chain $CHAIN --days 30 --limit 20
# → token_symbol, pnl_usd_realised, roi_percent_realised, bought_usd, sold_usd, holding_usd, nof_buys, nof_sells

Compare historical-balances over time against current balance to see what was added/removed. PnL shows trade performance.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 37 lines · 30 tokens per session scan A 046ef6177f79

Subscribe to this mod's changes

nansen-portfolio-tracker is a skill published in the GitHub repository nansen-ai/nansen-cli (135 stars, last pushed today), licensed MIT. It adds 30 tokens to every session and 300 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.