Communitygithub.com

ComeOnOliver/skillshub

リアルタイムの評価額、アロケーション分析、損益追跡による暗号資産ポートフォリオ管理を実現します。

skillshub とは?

このスキルは、AIエージェント(Claude Codeなど)上で動作し、CoinGecko APIを利用して暗号資産ポートフォリオをリアルタイムに評価・分析します。ユーザーが指定したJSON形式の保有リストを読み込み、ポートフォリオ全体の価値、24時間/7日間の変動、各資産のアロケーション率、損益(P&L)、集中リスク警告(例:25%超のポジションを自動検出)を提供します。コマンドラインオプションで簡易サマリー、全保有明細、詳細分析、JSON/CSVエクスポートが可能で、複数のワークフローに対応します。主にClaude Codeなどのスクリプト実行環境を想定しており、Python 3.8+とrequestsライブラリが前提です。

対応✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/ComeOnOliver/skillshub/tree/HEAD/skills/jeremylongshore/claude-code-plugins-plus-skills/tracking-crypto-portfolio

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

暗号資産ポートフォリオのトラッキング

概要

リアルタイムのCoinGecko評価額、アロケーション分析、損益(P&L)追跡、集中リスクアラートを用いて暗号資産の保有状況を管理します。

前提条件

  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
==============================================================================

  ポートフォリオサマリー: My Portfolio
------------------------------------------------------------------------------
  合計価値:    $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 - 詳細な使用例
  • 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.

ComeOnOliver/skillshub

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.

ComeOnOliver/skillshub

Next.js 16+ 和 Turbopack — 增量打包、文件系统缓存、开发速度,以及何时使用 Turbopack 与 webpack。

ComeOnOliver/skillshub

SwiftUI architecture patterns, state management with @Observable, view composition, navigation, performance optimization, and modern iOS/macOS UI best practices.

ComeOnOliver/skillshub

See, Understand, Act on video and audio. See- ingest from local files, URLs, RTSP/live feeds, or live record desktop; return realtime context and playable stream links. Understand- extract frames, build visual/semantic/temporal indexes, and search moments with timestamps and auto-clips. Act- transcode and normalize (codec, fps, resolution, aspect ratio), perform timeline edits (subtitles, text/image overlays, branding, audio overlays, dubbing, translation), generate media assets (image, audio, video), and create real time alerts for events from live streams or desktop capture.

ComeOnOliver/skillshub

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

ComeOnOliver/skillshub

Next.js 15 애플리케이션을 위한 프론트엔드 개발 가이드라인. React 19, TypeScript, Shadcn/ui, Tailwind CSS를 사용한 모던 패턴. Server Components, Client Components, App Router, 파일 구조, Shadcn/ui 컴포넌트, 성능 최적화, TypeScript 모범 사례 포함. 컴포넌트, 페이지, 기능 생성, 데이터 페칭, 스타일링, 라우팅, 프론트엔드 코드 작업 시 사용.

ComeOnOliver/skillshub

Provides Tamagui patterns for config v4, compiler optimization, styled context, and cross-platform styling. Must use when working with Tamagui projects (tamagui.config.ts, @tamagui imports).

ComeOnOliver/skillshub

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

ComeOnOliver/skillshub

Create high-converting, visually distinctive landing pages. Use when building marketing pages, product launches, SaaS homepages, or any single-page conversion-focused website. Guides section-by-section composition with anti-AI-slop principles.

ComeOnOliver/skillshub

Auto-loaded context for Portfolio Buddy 2 development. Use for ANY task involving: React 19 development, TypeScript, portfolio analysis features, metrics calculations, trading strategy comparison, or working with the Portfolio Buddy 2 codebase. Contains tech stack, known issues, and architectural constraints.

ComeOnOliver/skillshub

Next.js development tooling via MCP. Inspect routes, components, build info, and debug Next.js apps. Use when working on Next.js applications, debugging routing, or inspecting app structure. NOT for general React or non-Next.js projects.

ComeOnOliver/skillshub

Implement UI using Shadcn MCP (atoms/theme) and 21st.dev MCP (complex sections). Use when adding buttons, layouts, or generating landing pages.

ComeOnOliver/skillshub

A conceptual skill for building an API client in Next.js that handles JWT tokens

ComeOnOliver/skillshub

Best practices and patterns for Next.js App Router, Server Actions, and Routing in this project.

ComeOnOliver/skillshub

The Design System, Theme, and UX rules for the Physical AI Hub.

ComeOnOliver/skillshub

Comprehensive frontend development skill for building modern, performant web applications using ReactJS, NextJS, TypeScript, Tailwind CSS. Includes component scaffolding, performance optimization, bundle analysis, and UI best practices. Use when developing frontend features, optimizing performance, implementing UI/UX designs, managing state, or reviewing frontend code.

ComeOnOliver/skillshub

This document captures learnings from fixing keyboard navigation issues when floating components (Select, DropdownMenu, Popover) have CSS open/close animations.

ComeOnOliver/skillshub

Build Next.js 16 applications with correct patterns and distinctive design. Use when creating pages, layouts, dynamic routes, upgrading from Next.js 15, or implementing proxy.ts. Covers breaking changes (async params/searchParams, Turbopack, cacheComponents) and frontend aesthetics. NOT when building non-React or backend-only applications.

ComeOnOliver/skillshub

Comprehensive Framer Motion animation library for React. Covers motion components, variants, gestures, page transitions, and scroll animations. Use when adding animations to React/Next.js applications.

ComeOnOliver/skillshub

Build interfaces that resonate, not just render. This skill enforces bold, intentional

関連スキル