重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
tracking-crypto-portfolio by jeremylongshore/claude-code-plugins-plus-skills
npx skills add https://github.com/jeremylongshore/claude-code-plugins-plus-skills --skill tracking-crypto-portfolio使用 CoinGecko 实时估值追踪加密货币持仓,提供资产配置分析、盈亏跟踪和集中度风险警报。
pip install requestsreferences/implementation.md)评估用户意图 - 确定需要哪种投资组合视图:
使用适当的选项运行投资组合追踪器:
python ${CLAUDE_SKILL_DIR}/scripts/portfolio_tracker.py --portfolio holdings.json
# 完整持仓明细
python ${CLAUDE_SKILL_DIR}/scripts/portfolio_tracker.py --portfolio holdings.json --holdings
# 包含盈亏和配置的详细分析
python ${CLAUDE_SKILL_DIR}/scripts/portfolio_tracker.py --portfolio holdings.json --detailed
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
3. 导出结果 以供分析工具或税务报告使用:
python ${CLAUDE_SKILL_DIR}/scripts/portfolio_tracker.py --portfolio holdings.json --format json --output portfolio_export.json
python ${CLAUDE_SKILL_DIR}/scripts/portfolio_tracker.py --portfolio holdings.json --format csv --output portfolio.csv
4. 向用户展示结果: * 突出显示总投资组合价值 * 高亮 24 小时和 7 天的变化 * 解释资产配置百分比 * 标记任何集中度风险(默认情况下,仓位配置超过 25% 会触发警告)
显示总价值、24 小时/7 天变化、每项资产配置以及超过阈值的仓位集中度警告的摘要:
==============================================================================
加密货币投资组合追踪器 更新时间:2026-01-14 15:30 # 2026 - 当前年份时间戳
==============================================================================
投资组合摘要:我的投资组合
------------------------------------------------------------------------------
总价值: $125,450.00 USD
24 小时变化: +$2,540.50 (+2.07%)
7 天变化: +$8,125.00 (+6.92%)
持仓数量: 8 项资产
主要持仓
------------------------------------------------------------------------------
币种 数量 价格 价值 配置 24h
BTC 0.500 $95,000.00 $47,500.00 37.9% +2.5%
ETH 10.000 $3,200.00 $32,000.00 25.5% +1.8%
SOL 100.000 $180.00 $18,000.00 14.4% +4.2%
警告:BTC (37.9%) 超过 25% 阈值
==============================================================================
| 错误 | 原因 | 解决方案 |
|---|---|---|
| 找不到投资组合文件 | 路径无效 | 检查文件路径是否存在 |
| 无效的 JSON | 文件格式错误 | 验证 JSON 语法 |
| 找不到币种 | 未知符号 | 检查符号拼写,使用标准符号 |
| API 速率限制 | 请求过多 | 等待并重试,使用缓存 |
全面的错误处理请参阅 ${CLAUDE_SKILL_DIR}/references/errors.md。
从快速检查到详细分析和导出的投资组合追踪工作流:
# 基本投资组合检查
python ${CLAUDE_SKILL_DIR}/scripts/portfolio_tracker.py --portfolio ~/crypto/holdings.json
# 按配置排序的所有持仓
python ${CLAUDE_SKILL_DIR}/scripts/portfolio_tracker.py --portfolio holdings.json --holdings --sort allocation
# 使用自定义 15% 阈值的详细分析
python ${CLAUDE_SKILL_DIR}/scripts/portfolio_tracker.py --portfolio holdings.json --detailed --threshold 15
# 为税务软件导出
python ${CLAUDE_SKILL_DIR}/scripts/portfolio_tracker.py --portfolio holdings.json --format csv --output tax_export.csv
${CLAUDE_SKILL_DIR}/references/implementation.md - 投资组合文件格式、CLI 选项、配置阈值、JSON 格式${CLAUDE_SKILL_DIR}/references/errors.md - 全面的错误处理${CLAUDE_SKILL_DIR}/references/examples.md - 详细的使用示例${CLAUDE_SKILL_DIR}/config/settings.yaml - 配置选项每周安装次数
48
仓库
GitHub 星标数
1.8K
首次出现
2026 年 2 月 1 日
安全审计
安装于
opencode45
codex44
gemini-cli44
github-copilot42
openclaw40
cursor40
Track cryptocurrency holdings with real-time CoinGecko valuations, allocation analysis, P&L tracking, and concentration risk alerts.
pip install requestsreferences/implementation.md for format)Assess user intent - determine what portfolio view is needed:
Run the portfolio tracker with appropriate options:
python ${CLAUDE_SKILL_DIR}/scripts/portfolio_tracker.py --portfolio holdings.json
# Full holdings breakdown
python ${CLAUDE_SKILL_DIR}/scripts/portfolio_tracker.py --portfolio holdings.json --holdings
# Detailed analysis with P&L and allocations
python ${CLAUDE_SKILL_DIR}/scripts/portfolio_tracker.py --portfolio holdings.json --detailed
3. Export results for analysis tools or tax reporting:
python ${CLAUDE_SKILL_DIR}/scripts/portfolio_tracker.py --portfolio holdings.json --format json --output portfolio_export.json
python ${CLAUDE_SKILL_DIR}/scripts/portfolio_tracker.py --portfolio holdings.json --format csv --output portfolio.csv
4. Present results to the user:
* Show total portfolio value prominently
* Highlight 24h and 7d changes
* Explain allocation percentages
* Flag any concentration risks (positions > 25% allocation by default)
Summary showing total value, 24h/7d changes, per-asset allocation, and concentration warnings for positions exceeding threshold:
==============================================================================
CRYPTO PORTFOLIO TRACKER Updated: 2026-01-14 15:30 # 2026 - current year timestamp
==============================================================================
PORTFOLIO SUMMARY: My Portfolio
------------------------------------------------------------------------------
Total Value: $125,450.00 USD
24h Change: +$2,540.50 (+2.07%)
7d Change: +$8,125.00 (+6.92%)
Holdings: 8 assets
TOP HOLDINGS
------------------------------------------------------------------------------
Coin Quantity Price Value Alloc 24h
BTC 0.500 $95,000.00 $47,500.00 37.9% +2.5%
ETH 10.000 $3,200.00 $32,000.00 25.5% +1.8%
SOL 100.000 $180.00 $18,000.00 14.4% +4.2%
WARNING: BTC (37.9%) exceeds 25% threshold
==============================================================================
| Error | Cause | Solution |
|---|---|---|
| Portfolio file not found | Invalid path | Check file path exists |
| Invalid JSON | Malformed file | Validate JSON syntax |
| Coin not found | Unknown symbol | Check symbol spelling, use standard symbols |
| API rate limited | Too many requests | Wait and retry, use caching |
See ${CLAUDE_SKILL_DIR}/references/errors.md for comprehensive error handling.
Portfolio tracking workflows from quick checks to detailed analysis and export:
# Basic portfolio check
python ${CLAUDE_SKILL_DIR}/scripts/portfolio_tracker.py --portfolio ~/crypto/holdings.json
# All holdings sorted by allocation
python ${CLAUDE_SKILL_DIR}/scripts/portfolio_tracker.py --portfolio holdings.json --holdings --sort allocation
# Detailed analysis with custom 15% threshold
python ${CLAUDE_SKILL_DIR}/scripts/portfolio_tracker.py --portfolio holdings.json --detailed --threshold 15
# Export for tax software
python ${CLAUDE_SKILL_DIR}/scripts/portfolio_tracker.py --portfolio holdings.json --format csv --output tax_export.csv
${CLAUDE_SKILL_DIR}/references/implementation.md - Portfolio file format, CLI options, allocation thresholds, JSON format${CLAUDE_SKILL_DIR}/references/errors.md - Comprehensive error handling${CLAUDE_SKILL_DIR}/references/examples.md - Detailed usage examples${CLAUDE_SKILL_DIR}/config/settings.yaml - Configuration optionsWeekly Installs
48
Repository
GitHub Stars
1.8K
First Seen
Feb 1, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode45
codex44
gemini-cli44
github-copilot42
openclaw40
cursor40
DOCX文件创建、编辑与分析完整指南 - 使用docx-js、Pandoc和Python脚本
55,800 周安装
Sentry问题修复指南:利用AI分析生产环境错误并自动修复
1,300 周安装
退货与逆向物流管理指南:策略、分级、处置与欺诈检测全流程解析
1,400 周安装
Next.js Turbopack 开发指南:加速启动与热更新,提升开发效率
1,400 周安装
Unity测试运行器 - 命令行自动化执行Unity EditMode/PlayMode测试,集成CI/CD
45 周安装
Kotlin测试模式指南:使用Kotest和MockK进行TDD测试与代码覆盖率
1,400 周安装
Kotlin Ktor 服务器模式指南:构建健壮 HTTP API 的架构与最佳实践
1,400 周安装