AGENT SKILL

emblem-portfolio-tracker

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
最近更新
2026-05-19
Stars
★ 10
Forks
2

01 前言 Front Matter

name
emblem-portfolio-tracker
license
MIT
metadata
{ "docs": "https://emblemvault.ai/docs", "author": "EmblemAI", "version": "1.1.0", "homepage": "https://emblemvault.ai", "docs-interactive": "https://emblemvault.dev" }
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.
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.

03 SKILL.md 正文

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

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

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.

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:

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

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):

emblemai --agent --profile default -m "Use nansen_defi_portfolio to check DeFi positions for wallet [ADDRESS] on [CHAIN]"

Use Cases

Daily Check-In

emblemai --agent --profile default -m "Quick portfolio check — use solanaBalances, ethGetBalances, and getBTCBalances to show my main holdings"

Chain-Specific Deep Dive

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

emblemai --agent --profile default -m "Use getAllPositions to show my closed positions with realized P&L and win/loss rate"

Price Check

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 scripts/portfolio-report.sh

See scripts/portfolio-report.sh for a ready-to-use portfolio report.


Links

04 同仓库更多 Skills

roohe
roohe/agentic-super-skills

zarr-python

Chunked N-D arrays for cloud storage. Compressed arrays, parallel I/O, S3/GCS integration, NumPy/Dask/Xarray compatible, for large-scale scientific computing pipelines.

★ 10
roohe
roohe/agentic-super-skills

youtube-downloader

Download and process YouTube content for research. Use when: downloading competitor videos for analysis; extracting audio for podcasts; getting transcripts for content repurposing; archiving webinars; research content curation

★ 10
roohe
roohe/agentic-super-skills

yc-pitch-deck

Create a compelling startup pitch deck that follows the structure proven to raise billions from top investors. Master the YC and Sequoia formats that get founders funded. Use when: **Fundraising** to create investor pitch decks; **YC application** to structure your narrative; **Demo Day prep** to craft your 2-minute pitch; **Angel investors** to communicate your opportunity; **Partnership pitches** to structure compelling asks

★ 10
roohe
roohe/agentic-super-skills

x-twitter-scraper

Use when the user needs X (Twitter) data or confirmation-gated X actions through Xquik: tweet search, user lookup, follower extraction, media download, monitoring, webhooks, MCP, SDKs, posting, likes, DMs, and profile updates. Requires a Xquik API key. Never ask for X login material.

★ 10
roohe
roohe/agentic-super-skills

write-vignette

Create R package vignettes using R Markdown or Quarto. Covers vignette setup, YAML configuration, code chunk options, building and testing, and CRAN requirements for vignettes. Use when adding a Getting Started tutorial, documenting complex workflows spanning multiple functions, creating domain-specific guides, or when CRAN submission requires user-facing documentation beyond function help pages.

★ 10
roohe
roohe/agentic-super-skills

write-validation-documentation

Write IQ/OQ/PQ validation documentation for computerized systems in regulated environments. Covers protocols, reports, test scripts, deviation handling, and approval workflows. Use when validating R or other software for regulated use, preparing for a regulatory audit, documenting qualification of computing environments, or creating and updating validation protocols and reports for new or re-qualified systems.

★ 10