SKILL.md
readonly只读
name
emblem-portfolio-tracker
description
通过EmblemAI追踪7条区块链上的加密投资组合。聚合余额及美元价值、 条件交易盈亏及通过Nansen追踪DeFi头寸。当用户想要查看投资组合、 跨链余额或审查交易头寸时使用。
Emblem投资组合追踪器
由EmblemAI驱动的跨链加密投资组合监控。聚合余额及美元价值,覆盖Solana、Ethereum、Base、BSC、Polygon、Hedera和Bitcoin。条件交易盈亏追踪及通过Nansen查看DeFi头寸。
需要:npm install -g @emblemvault/agentwallet
此技能可执行的操作
| 能力 | 使用的工具 |
|---|---|
| 钱包地址(所有链) | wallet |
| Solana余额及美元价值 | solanaBalances |
| Ethereum余额及美元价值 | ethGetBalances |
| Base余额及美元价值 | baseGetBalances |
| BSC余额及美元价值 | bscGetBalances |
| Polygon余额及美元价值 | polygonGetBalances |
| Hedera余额 | hederaGetBalances |
| Bitcoin余额 | getBTCBalances |
| 加密货币价格查询 | getCryptoPrice |
| 条件交易头寸及盈亏 | getAllPositions、listPositions |
| DeFi头寸(LP、质押、农耕) | nansen_defi_portfolio |
不支持的功能
以下功能没有对应的工具支持:
- 交易历史 — 没有工具返回任何链上的历史钱包交易
- 税务报告/交易导出 — 没有历史交易数据可用
- 持有代币的未实现盈亏 — 仅条件交易头寸的已实现盈亏
- 24小时投资组合变化 — 没有历史余额快照;仅当前余额
- 投资组合分配百分比 — 代理需从各链余额调用自行计算
快速开始
npm install -g @emblemvault/agentwallet
# 检查所有链的余额
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"
# 检查交易头寸
emblemai --agent --profile default -m "Use getAllPositions to show my open and closed trade positions with P&L"
触发短语:
- "检查我的投资组合"
- "显示所有链的余额"
- "我的盈亏是多少?"
- "显示我的交易头寸"
工作流程:完整投资组合审查
第一步:钱包地址
emblemai --agent --profile default -m "Use wallet to list all my wallet addresses across every chain"
第二步:余额快照
检查每条链。明确命名工具以确保可靠执行。
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"
或一次性请求:
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"
第三步:交易头寸及盈亏
emblemai --agent --profile default -m "Use getAllPositions to show my conditional trade positions with realized P&L"
注意:盈亏数据仅涵盖通过EmblemAI创建的条件交易头寸(限价单、止损单、止盈单)。常规钱包持仓没有成本基础追踪。
第四步:DeFi头寸(可选)
对于被Nansen索引的钱包(通常是高价值钱包):
emblemai --agent --profile default -m "Use nansen_defi_portfolio to check DeFi positions for wallet [ADDRESS] on [CHAIN]"
使用场景
每日检查
emblemai --agent --profile default -m "Quick portfolio check — use solanaBalances, ethGetBalances, and getBTCBalances to show my main holdings"
特定链深入分析
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"
交易表现
emblemai --agent --profile default -m "Use getAllPositions to show my closed positions with realized P&L and win/loss rate"
价格查询
emblemai --agent --profile default -m "Use getCryptoPrice to show current prices for BTC, ETH, SOL, and BNB"
沟通技巧
为可靠执行,请命名确切的工具:
| 不佳 | 良好 |
|---|---|
"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" |
辅助脚本
bash scripts/portfolio-report.sh
参见 scripts/portfolio-report.sh 获取即用型投资组合报告。






