Communitygithub.com

jeremylongshore/tons-of-skills-marketplace

追踪加密货币投资组合,包括实时估值、配置分析和盈亏跟踪。

tons-of-skills-marketplace 是什么?

该技能使用 CoinGecko 的实时数据来追踪加密货币投资组合。用户可以快速查看总投资价值、每项资产的持仓明细、配置百分比、盈亏情况以及集中度风险警报。该工具支持以 JSON 或 CSV 格式导出投资组合数据,方便外部分析和税务申报。技能通过命令行脚本运行,需要 Python 3.8+、requests 库以及一个包含持仓信息的 JSON 文件。用户可以使用“显示我的投资组合”或“追踪我的加密货币”等触发短语来启动该技能。系统会自动处理常见的错误情况,例如文件未找到或 API 限速,并提供详细的错误处理指南。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/jeremylongshore/tons-of-skills-marketplace/tree/HEAD/plugins/crypto/crypto-portfolio-tracker/skills/tracking-crypto-portfolio

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

追踪加密货币投资组合

概述

使用 CoinGecko 实时数据追踪加密货币持仓,提供配置分析、盈亏跟踪和集中度风险警报。

先决条件

  1. 已安装 Python 3.8+
  2. 依赖项:pip install requests
  3. 互联网连接以访问 CoinGecko API
  4. 包含持仓信息的投资组合 JSON 文件(格式请参见 references/implementation.md)

操作说明

  1. 评估用户意图 - 确定所需查看的投资组合视图:

    • 快速查看:总投资价值和主要持仓
    • 持仓列表:所有仓位的详细清单
    • 详细分析:配置、盈亏、风险标志
    • 导出:JSON 或 CSV 格式供外部工具使用
  2. 使用相应选项运行投资组合追踪器:

    # 快速投资组合摘要
    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
    
  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 项资产

  主要持仓
------------------------------------------------------------------------------
  币种     数量        价格          价值       配置   24 小时
  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 - 详细的使用示例
  • CoinGecko API:https://www.coingecko.com/en/api
  • ${CLAUDE_SKILL_DIR}/config/settings.yaml - 配置选项

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

jeremylongshore/tons-of-skills-marketplace

Use when asked to structure a landing page for positioning, plan a conversion-optimized page layout, or design a launch page. Examples: "landing page for product launch", "conversion-optimized layout for SaaS

jeremylongshore/tons-of-skills-marketplace

Use when asked to design growth-optimized landing pages, activation funnel layouts, or experiment-friendly page structures. Examples: "growth-optimized landing", "activation funnel layout", "A/B testable page

jeremylongshore/tons-of-skills-marketplace

Use when asked to structure a landing page, design page layout for conversion, or plan landing page information architecture. Examples: "landing page structure for SaaS", "conversion-optimized layout

jeremylongshore/tons-of-skills-marketplace

Generate polished demo videos from a single prompt. Use when the user asks to create a demo video, product walkthrough, feature showcase, or animated presentation. Trigger with "make a demo video", "create a product video", "demo walkthrough", or "feature showcase video".

jeremylongshore/tons-of-skills-marketplace

Runs the full release workflow for the current project. Commits any uncommitted changes, pushes to remote, creates and merges a PR if on a feature branch, determines the next semver version from conventional commits, creates an annotated git tag and GitHub release with generated notes, cleans up merged branches, and returns to a clean main. Use when the user says promote, ship, release, commit and push, tag and release, or get back to main.

jeremylongshore/tons-of-skills-marketplace

Agent skill at plugins/productivity/content-multiplier/skills/channel-formats/SKILL.md

jeremylongshore/tons-of-skills-marketplace

Operate an evidence-backed editorial queue, balance topic and format coverage, schedule approved drafts, and reconcile backlog state with the publishing system. Use when choosing or scheduling the next blog work. Trigger with "show the editorial calendar" or "pick the next topic".

jeremylongshore/tons-of-skills-marketplace

Configure CI/CD pipeline for AppFolio property management integrations. Trigger: "appfolio CI".

jeremylongshore/tons-of-skills-marketplace

Diagnose and fix common AppFolio API integration errors. Trigger: "appfolio error".

jeremylongshore/tons-of-skills-marketplace

Build property management dashboard with AppFolio API data. Trigger: "appfolio property dashboard".

jeremylongshore/tons-of-skills-marketplace

Automate tenant management and lease operations with AppFolio. Trigger: "appfolio tenant management".

jeremylongshore/tons-of-skills-marketplace

Collect AppFolio API debug evidence for support tickets. Trigger: "appfolio debug".

jeremylongshore/tons-of-skills-marketplace

Deploy AppFolio integration service to cloud infrastructure. Trigger: "deploy appfolio".

jeremylongshore/tons-of-skills-marketplace

Query AppFolio properties, units, and tenants via REST API. Trigger: "appfolio hello world".

jeremylongshore/tons-of-skills-marketplace

Configure AppFolio Stack API authentication with OAuth 2.0. Use when setting up property management API access, registering as an AppFolio Stack partner, or configuring client credentials for API calls. Trigger: "install appfolio", "setup appfolio", "appfolio auth", "appfolio API key".

jeremylongshore/tons-of-skills-marketplace

Set up local development for AppFolio property management API integration. Trigger: "appfolio local dev".

jeremylongshore/tons-of-skills-marketplace

Production readiness checklist for AppFolio integrations. Trigger: "appfolio production checklist".

jeremylongshore/tons-of-skills-marketplace

Handle AppFolio API rate limits with throttling and backoff. Trigger: "appfolio rate limit".

jeremylongshore/tons-of-skills-marketplace

Reference architecture for AppFolio property management integration. Trigger: "appfolio architecture".

jeremylongshore/tons-of-skills-marketplace

Apply production-ready patterns for AppFolio REST API integration. Trigger: "appfolio patterns".

相关技能