skills/crypto-portfolio-tracker/SKILL.md
Track cryptocurrency portfolio with real-time valuations, allocation analysis, and P&L tracking. Use when checking portfolio value, viewing holdings breakdown, analyzing allocations, or exporting portfolio data. Trigger with phrases like "show my portfolio", "check crypto holdings", "portfolio allocation", "track my crypto", or "export portfolio".
npx skillsauth add aaaaqwq/claude-code-skills tracking-crypto-portfolioInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill provides comprehensive cryptocurrency portfolio tracking with:
Key Capabilities:
Before using this skill, ensure:
pip install requestsCreate a portfolio file (e.g., holdings.json):
{
"name": "My Portfolio",
"holdings": [
{"coin": "BTC", "quantity": 0.5, "cost_basis": 25000},
{"coin": "ETH", "quantity": 10, "cost_basis": 2000},
{"coin": "SOL", "quantity": 100}
]
}
Fields:
coin: Symbol (BTC, ETH, etc.) - requiredquantity: Amount held - requiredcost_basis: Average purchase price per coin (optional, for P&L)acquired: Date acquired (optional, for records)Determine what portfolio information the user needs:
Run the tracker with appropriate options:
# Quick portfolio summary
python {baseDir}/scripts/portfolio_tracker.py --portfolio holdings.json
# Full holdings breakdown
python {baseDir}/scripts/portfolio_tracker.py --portfolio holdings.json --holdings
# Detailed analysis with P&L and allocations
python {baseDir}/scripts/portfolio_tracker.py --portfolio holdings.json --detailed
# Export to JSON
python {baseDir}/scripts/portfolio_tracker.py --portfolio holdings.json --format json --output portfolio_export.json
# Export to CSV
python {baseDir}/scripts/portfolio_tracker.py --portfolio holdings.json --format csv --output portfolio.csv
Format and explain the portfolio data:
| Option | Description | Default |
|--------|-------------|---------|
| --portfolio | Path to portfolio JSON file | Required |
| --holdings | Show all holdings breakdown | false |
| --detailed | Full analysis with P&L | false |
| --sort | Sort by: value, allocation, name, change | value |
| --format | Output format (table, json, csv) | table |
| --output | Output file path | stdout |
| --threshold | Allocation warning threshold | 25% |
| --verbose | Enable verbose output | false |
By default, positions > 25% allocation are flagged:
| Allocation | Risk Level | Action | |------------|------------|--------| | < 10% | Low | Normal position | | 10-25% | Medium | Monitor closely | | 25-50% | High | Consider rebalancing | | > 50% | Very High | Significant concentration risk |
==============================================================================
CRYPTO PORTFOLIO TRACKER Updated: 2026-01-14 15:30
==============================================================================
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%
⚠ CONCENTRATION WARNING: BTC (37.9%) exceeds 25% threshold
==============================================================================
{
"portfolio_name": "My Portfolio",
"total_value_usd": 125450.00,
"change_24h": {"amount": 2540.50, "percent": 2.07},
"holdings": [
{
"coin": "BTC",
"quantity": 0.5,
"price_usd": 95000,
"value_usd": 47500,
"allocation_pct": 37.9,
"change_24h_pct": 2.5
}
],
"meta": {
"timestamp": "2026-01-14T15:30:00Z",
"holdings_count": 8
}
}
See {baseDir}/references/errors.md for comprehensive error handling.
| 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 {baseDir}/references/examples.md for detailed examples.
# Basic portfolio check
python {baseDir}/scripts/portfolio_tracker.py --portfolio ~/crypto/holdings.json
# Show all holdings sorted by allocation
python {baseDir}/scripts/portfolio_tracker.py --portfolio holdings.json --holdings --sort allocation
# Detailed analysis with 15% threshold
python {baseDir}/scripts/portfolio_tracker.py --portfolio holdings.json --detailed --threshold 15
# Export for tax software
python {baseDir}/scripts/portfolio_tracker.py --portfolio holdings.json --format csv --output tax_export.csv
# JSON export for trading bot
python {baseDir}/scripts/portfolio_tracker.py --portfolio holdings.json --format json --output portfolio_data.json
{baseDir}/config/settings.yaml for options{baseDir}/references/examples.md for integration examplestesting
通用自媒体文章自动发布工具。支持百家号、搜狐号、知乎、微信公众号、小红书、抖音号六个平台的自动化发布流程。使用Playwright自动化实现平台导航和发布,支持通过storageState管理Cookie实现账号切换。
development
# SKILL.md - Model Configuration Status (mcstatus) ## 触发条件 - `/mcstatus` 命令 - 用户询问模型配备、模型配置、model status、模型列表等 ## 功能 实时生成 Agent + Cron 的模型配置报告,展示当前所有 agent 的主模型/fallback链和所有 cron 任务的模型分配。 ## 执行步骤 ### Step 1: 收集 Agent 模型配置 读取各 agent 的 models.json 获取主模型和 fallback 链: ```bash for agent in main ops code quant data research content market finance pm law product sales batch; do config=$(cat ~/.openclaw/agents/$agent/agent/models.json 2>/dev/null) if [ -n "$config" ]; then echo "=== $agent
tools
MCP 服务器智能管理助手。自动检测 MCP 可用性、智能开关、功能问答,提供人性化的 MCP 管理体验。
tools
从GitHub搜索并自动安装配置MCP(Model Context Protocol)服务器工具到Claude配置文件。当用户需要安装MCP工具时触发此技能。工作流程:搜索GitHub上的MCP项目 -> 提取npx配置 -> 添加到~/.claude.json -> 处理API密钥(如有)。