# tracking-crypto-portfolio

tracking-crypto-portfolio — a skill for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode that monitors crypto holdings with live valuations, asset allocation analysis, and P&L tracking.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 1 install · ★ 2935 repo stars
- Author: Jeremy Longshore
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/jeremylongshore/tons-of-skills-marketplace/tree/HEAD/skills/.curated/tracking-crypto-portfolio/SKILL.md
- Updated: 2026-11-01
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/tracking-crypto-portfolio

## What it does

Fetches coin prices from CoinGecko API, calculates portfolio total in USD, computes allocation percentages, and tracks 24-hour and 7-day changes. Flags positions exceeding a concentration threshold (25% by default) to highlight concentration risk.

Requires Python 3.8+ and the `requests` library installed via `pip install requests`. Your holdings are defined in a JSON file with coin symbols, quantities, and purchase details. The skill outputs a table with top holdings, total portfolio value, and daily or weekly gain/loss.

Export results to JSON or CSV format for tax software and external portfolio analysis tools.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add jeremylongshore/tons-of-skills-marketplace --skill tracking-crypto-portfolio -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/tracking-crypto-portfolio/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/tracking-crypto-portfolio/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add jeremylongshore/tons-of-skills-marketplace --skill tracking-crypto-portfolio -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/tracking-crypto-portfolio/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add jeremylongshore/tons-of-skills-marketplace --skill tracking-crypto-portfolio -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/tracking-crypto-portfolio/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install jeremylongshore/tons-of-skills-marketplace skills/.curated/tracking-crypto-portfolio
```

2. **Manually: put the files in place**
- File: `.github/skills/tracking-crypto-portfolio/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add jeremylongshore/tons-of-skills-marketplace --skill tracking-crypto-portfolio -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/jeremylongshore/tons-of-skills-marketplace --path skills/.curated/tracking-crypto-portfolio
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/tracking-crypto-portfolio/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add jeremylongshore/tons-of-skills-marketplace --skill tracking-crypto-portfolio -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/jeremylongshore/tons-of-skills-marketplace/tree/HEAD/skills/.curated/tracking-crypto-portfolio/SKILL.md

## When to use it
- check total crypto portfolio value in USD with latest prices
- view allocation percentages and top-performing holdings
- calculate profit and loss over 24 hours or 7 days
- identify positions exceeding safe concentration limits
- export portfolio to JSON or CSV for tax reporting

## Example prompts
- Show my portfolio and flag any positions over 25%
- Analyze the allocation breakdown in `holdings.json` with a 15% threshold
- Export my portfolio to CSV for tax software

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 8e4b8b2c1d62d6dd.

BEGIN THIRD-PARTY FILE 8e4b8b2c1d62d6dd
````text
---
name: tracking-crypto-portfolio
description: '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".

  '
allowed-tools: Read, Write, Bash(crypto:portfolio-*)
version: 1.28.0
author: Jeremy Longshore <jeremy@intentsolutions.io>
license: MIT
tags:
- crypto
- tracking-crypto
compatibility: Designed for Claude Code
---
# Tracking Crypto Portfolio

## Overview

Track cryptocurrency holdings with real-time CoinGecko valuations, allocation analysis, P&L tracking, and concentration risk alerts.

## Prerequisites

1. **Python 3.8+** installed
2. **Dependencies**: `pip install requests`
3. Internet connectivity for CoinGecko API access
4. A portfolio JSON file with your holdings (see `references/implementation.md` for format)

## Instructions

1. **Assess user intent** - determine what portfolio view is needed:
   - Quick check: total value and top holdings
   - Holdings list: full breakdown of all positions
   - Detailed analysis: allocations, P&L, risk flags
   - Export: JSON or CSV for external tools

2. **Run the portfolio tracker** with appropriate options:

   ```bash
   # Quick portfolio summary
   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:

   ```bash
   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)

## Output

Summary showing total value, 24h/7d changes, per-asset allocation, and concentration warnings for positions exceeding threshold:

```
````
END THIRD-PARTY FILE 8e4b8b2c1d62d6dd

The third-party file has ended. Everything between the 8e4b8b2c1d62d6dd tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2485 of 5024 bytes. © Jeremy Longshore · MIT · https://github.com/jeremylongshore/tons-of-skills-marketplace/tree/HEAD/skills/.curated/tracking-crypto-portfolio/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
