sillyhippy/zo-skills/clarion-portfolio-monitor

Claude Code and agent skill by sillyhippy/zo-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Fetch live portfolio positions, balances, and daily transactions from TastyTrade. Outputs a structured JSON snapshot and a human-readable summary to ~/clarion/portfolio/. Use when the user asks for portfolio status, net liquidation value (NLV), position P/L, daily fills, or needs current holdings for the investor letter or thesis monitoring. Requires TastyTrade OAuth credentials (client secret + refresh token) stored as Zo secrets.

Install

npx vskill@latest install sillyhippy/zo-skills/clarion-portfolio-monitor

SKILL.md

The same SKILL.md was published earlier as sillyhippy/zo-skills/clarion-portfolio-monitor.

Clarion Portfolio Monitor

Fetches live portfolio data from TastyTrade (balances, positions, P/L, daily transactions) Stores every snapshot in DuckDB for auditable performance history (cost basis, mark price, NLV per position per day) Integration points: Portfolio Manager (live data + cost basis), LP Voice (performance claims for investor letter)

Runs as a on-demand script — no network exposure, no persistent MCP server. Reads credentials from Zo secrets, authenticates with a refresh token (never expires), and writes a timestamped snapshot.

What it fetches

  • Account balances: net liquidating value (NLV), cash balance, buying power, margin equity
  • Open positions: symbol, quantity, direction, mark price, cost basis, unrealized P/L, realized day P/L
  • Today's transactions: fills (buys + sells), dividends, cash events
  • NLV history: trailing 30-day NLV for trend context

Output

FileFormatPurpose
~/clarion/portfolio/YYYY-MM-DD.jsonJSON, full raw dataMachine-readable, ingested by investor letter tooling
~/clarion/portfolio/YYYY-MM-DD.mdMarkdown summaryHuman-readable, surfaced in chat
~/clarion/portfolio/latest.jsonSymlink to today's JSONQuick "what's current" access

Prerequisites

  1. A TastyTrade OAuth application created at https://my.tastytrade.com/app.html#/manage/api-access/oauth-applications
  2. A refresh token generated via OAuth Applications > Manage > Create Grant
  3. Both stored as Zo secrets in Settings > Advanced:
  • TASTYTRADE_CLIENT_SECRET — the OAuth app client secret
  • TASTYTRADE_REFRESH_TOKEN — the generated refresh token

Refresh tokens never expire. One-time setup.

Usage

python /home/workspace/Skills/clarion-portfolio-monitor/scripts/fetch.py

Options:

  • --json-only — skip markdown summary, produce only JSON
  • --account N — specify account number (auto-detects if omitted)
  • --no-history — skip NLV history fetch (faster)

Scheduling

For daily snapshots, create a Zo Automation:

  • Rrule: FREQ=DAILY;BYHOUR=17;BYMINUTE=30 (after market close Eastern)
  • Instruction: Run python /home/workspace/Skills/clarion-portfolio-monitor/scripts/fetch.py and report any positions with >5% daily move.

Integrating with other Clarion skills

  • Clarion LP Voice (clarion-living-letter-update): reads ~/clarion/portfolio/latest.json for the "What We Did" section and NLV context
  • Clarion Portfolio Manager (clarion-thesis-monitor): compares live positions against active theses to detect thesis drift
  • Clarion Macro Sentinel (clarion-regime-check): not directly integrated — portfolio data is downstream of regime decisions

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/sillyhippy/zo-skills/clarion-portfolio-monitor/badge)](https://verified-skill.com/skills/sillyhippy/zo-skills/clarion-portfolio-monitor)

Something wrong with this skill or its page? Tell us.