emblem-portfolio-tracker — Claude Code skill: how to install
Tracks crypto balances across seven blockchains via EmblemAI, shows trade P&L, and inspects DeFi positions via Nansen. Useful for checking multi-chain assets without leaving your terminal.
npx skills add EmblemCompany/Agent-skills --skill emblem-portfolio-tracker -a claude-codeWhat emblem-portfolio-tracker does
This skill provides a set of tools to query addresses and token balances across Solana, Ethereum, Base, BSC, Polygon, Hedera, and Bitcoin. Each chain uses a designated tool such as solanaBalances or ethGetBalances to fetch holdings alongside their USD valuations. Trade positions, including stop-loss and take-profit orders, are queried via getAllPositions.
Operation requires Node.js 18.0.0 or higher, an active internet connection, and the @emblemvault/agentwallet package installed globally. The repository also provides a helper script at scripts/portfolio-report.sh for running a full portfolio sweep.
Be aware that this skill cannot pull transaction history or compute unrealized P&L on spot holdings: performance tracking is strictly limited to conditional trade orders created through EmblemAI.
What it helps with
- check token balances across 7 blockchains
- retrieve wallet addresses across all supported chains
- view open and closed conditional orders with realized P&L
- fetch current token prices using getCryptoPrice
- inspect DeFi liquidity and staking positions via Nansen
Example prompts for the agent
- Use wallet to show my addresses, then use solanaBalances and ethGetBalances to check balances
- Show my open and closed trade positions with P&L using getAllPositions
- Check current prices for BTC and ETH with getCryptoPrice
How to install emblem-portfolio-tracker
1Skills CLI (Vercel)
npx skills add EmblemCompany/Agent-skills --skill emblem-portfolio-tracker -a claude-code2Manually: put the files in place
~/.claude/skills/emblem-portfolio-tracker/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/emblem-portfolio-tracker/
1Skills CLI (Vercel)
npx skills add EmblemCompany/Agent-skills --skill emblem-portfolio-tracker -a codex2Manually: put the files in place
.agents/skills/emblem-portfolio-tracker/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add EmblemCompany/Agent-skills --skill emblem-portfolio-tracker -a cursor2Manually: put the files in place
.cursor/skills/emblem-portfolio-tracker/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install EmblemCompany/Agent-skills emblem-portfolio-tracker2Manually: put the files in place
.github/skills/emblem-portfolio-tracker/SKILL.md1Skills CLI (Vercel)
npx skills add EmblemCompany/Agent-skills --skill emblem-portfolio-tracker -a gemini-cli2Platform CLI
gemini skills install https://github.com/EmblemCompany/Agent-skills --path skills/emblem-portfolio-trackerManually: put the files in place
.devin/skills/emblem-portfolio-tracker/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add EmblemCompany/Agent-skills --skill emblem-portfolio-tracker -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 emblem-portfolio-tracker
How to install emblem-portfolio-tracker in Claude Code?
Run npx skills add EmblemCompany/Agent-skills --skill emblem-portfolio-tracker -a claude-code. You also need Node.js >= 18.0.0 and the global CLI installed via npm install -g @emblemvault/agentwallet.
What does emblem-portfolio-tracker do?
It checks token balances across seven supported blockchains with USD valuations, monitors conditional trade positions, and pulls DeFi positions via Nansen.
Does the skill track historical transactions or 24-hour balance changes?
No, the skill lacks tools for transaction history or balance snapshots. P&L tracking is only available for conditional trade orders placed through EmblemAI.
Source text
SKILL.md · MIT
--- name: emblem-portfolio-tracker description: > Track crypto portfolio across 7 blockchains via EmblemAI. Aggregated balances with USD values, conditional trade P&L, and DeFi position tracking via Nansen. Use when the user wants to check their portfolio, see balances across chains, or review trade positions. license: MIT compatibility: > Requires Node.js >= 18.0.0, @emblemvault/agentwallet CLI, and internet access. Works on Claude Code, Cursor, Codex, OpenClaw, and other agents following the Agent Skills spec. metadata: author: EmblemAI version: "1.1.0" homepage: https://emblemvault.ai docs: https://emblemvault.ai/docs docs-interactive: https://emblemvault.dev --- # Emblem Portfolio Tracker Cross-chain crypto portfolio monitoring powered by **EmblemAI**. Aggregated balances with USD values across Solana, Ethereum, Base, BSC, Polygon, Hedera, and Bitcoin. Conditional trade P&L tracking and DeFi position viewing via Nansen. **Requires**: `npm install -g @emblemvault/agentwallet` --- ## What This Skill Can Do | Capability | Tools Used | |-----------|------------| | Wallet addresses (all chains) | `wallet` | | Solana balances + USD values | `solanaBalances` | | Ethereum balances + USD values | `ethGetBalances` | | Base balances + USD values | `baseGetBalances` | | BSC balances + USD values | `bscGetBalances` | | Polygon balances + USD values | `polygonGetBalances` | | Hedera balances | `hederaGetBalances` | | Bitcoin balances | `getBTCBalances` | | Crypto price lookup | `getCryptoPrice` | | Conditional trade positions & P&L | `getAllPositions`, `listPositions` | | DeFi positions (LP, staking, farming) | `nansen_defi_portfolio` | ### Not Supported These features have no backing tools: - Transaction history — no tool returns past wallet transactions on any chain - Tax reporting / transaction exports — no historical transaction data available - Unrealized P&L on held tokens — only realized P&L from conditional trade positions - 24h portfolio change — no historical balance snapshots; only current balances - Portfolio allocation percentages — agent must compute from individual chain balance calls --- ## Quick Start ```bash npm install -g @emblemvault/agentwallet # Check balances across all chains emblemai --agent --profile default -m "Use wallet to show my addresses, then use solanaBalances, ethGetBalances, baseGetBalances, bscGetBalances, polygonGetBalances, hederaGetBalances, and getBTCBalances to show all my balances" # Check trade positions emblemai --agent --profile default -m "Use getAllPositions to show my open and closed trade positions with P&L" ``` **Trigger phrases:** - "Check my portfolio" - "Show balances across all chains" - "What's my P&L?" - "Show my trade positions" --- ## Workflow: Full Portfolio Review ### Step 1: Wallet Addresses ```bash emblemai --agent --profile default -m "Use wallet to list all my wallet addresses across every chain" ``` ### Step 2: Balance Snapshot Check each chain. Name the tools explicitly for reliable execution. ```bash emblemai --agent --profile default -m "Use solanaBalances to show my Solana tokens with USD values" emblemai --agent --profile default -m "Use ethGetBalances to show my Ethereum tokens with USD values" emblemai --agent --profile default -m "Use baseGetBalances to show my Base tokens" emblemai --agent --profile default -m "Use bscGetBalances to show my BSC tokens" emblemai --agent --profile default -m "Use polygonGetBalances to show my Polygon tokens" emblemai --agent --profile default -m "Use hederaGetBalances to show my Hedera tokens" emblemai --agent --profile default -m "Use getBTCBalances to show my Bitcoin balance" ``` Or ask for all at once: ```bash emblemai --agent --profile default -m "Show my balances across all chains with USD values. Use the balance tools for each chain: solanaBalances, ethGetBalances, baseGetBalances, bscGetBalances, polygonGetBalances, hederaGetBalances, getBTCBalances" ``` ### Step 3: Trade Positions & P&L ```bash emblemai --agent --profile default -m "Use getAllPositions to show my conditional trade positions with realized P&L" ``` Note: P&L data only covers conditional trade positions (limit orders, stop-losses, take-profits) created through EmblemAI. General wallet holdings do not have cost basis tracking. ### Step 4: DeFi Positions (Optional) For wallets indexed by Nansen (typically high-value wallets): ```bash emblemai --agent --profile default -m "Use nansen_defi_portfolio to check DeFi positions for wallet [ADDRESS] on [CHAIN]" ``` --- ## Use Cases ### Daily Check-In ```bash emblemai --agent --profile default -m "Quick portfolio check — use solanaBalances, ethGetBalances, and getBTCBalances to show my main holdings" ``` ### Chain-Specific Deep Dive ```bash emblemai --agent --profile default -m "Use solanaBalances to show all my Solana token balances with current prices" emblemai --agent --profile default -m "Use ethGetBalances to show my Ethereum positions" ``` ### Trade Performance ```bash emblemai --agent --profile default -m "Use getAllPositions to show my closed positions with realized P&L and win/loss rate" ``` ### Price Check ```bash emblemai --agent --profile default -m "Use getCryptoPrice to show current prices for BTC, ETH, SOL, and BNB" ``` --- ## Communication Tips Name the exact tools for reliable execution: | Bad | Good | |-----|------| | `"balances"` | `"Use solanaBalances and ethGetBalances to show my balances"` | | `"PnL"` | `"Use getAllPositions to show my trade positions with realized P&L"` | | `"portfolio"` | `"Use wallet to show addresses, then check balances on each chain"` | --- ## Helper Script ```bash bash scripts/portfolio-report.sh ``` See [scripts/portfolio-report.sh](scripts/portfolio-report.sh) for a ready-to-use portfolio report. --- ## Links - [Agent Wallet CLI](https://www.npmjs.com/package/@emblemvault/agentwallet) - [EmblemVault Docs — canonical](https://emblemvault.ai/docs) - [EmblemVault Docs — interactive](https://emblemvault.dev)
© EmblemAI · MIT · EmblemCompany/Agent-skills