portfolio_balancer.collect_portfolio_data

Collect Robinhood portfolio positions and prices into a structured YAML snapshot.

Updated Jan 27, 2026
One-click install
npx skills add https://github.com/ncrmro/deepwork-permanent-portfolio --skill portfolio-balancer-collect-portfolio-data
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: portfolio_balancer.collect_portfolio_data
Source: https://github.com/ncrmro/deepwork-permanent-portfolio/tree/main/.claude/skills/portfolio_balancer.collect_portfolio_data
Command: npx skills add https://github.com/ncrmro/deepwork-permanent-portfolio --skill portfolio-balancer-collect-portfolio-data

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill collects current Robinhood portfolio data (positions, values, and prices) to power Permanent Portfolio analysis and drift-driven rebalancing decisions.

Core Features & Use Cases

  • Collect portfolio snapshots using the bin/robinhood CLI (positions --save) to create reproducible data
  • Categorize holdings into Stocks, Long-Term Bonds, Gold, and Cash/Treasuries for allocation tracking
  • Produce a structured YAML snapshot at portfolio_balancer/data/portfolio_snapshot.yml to enable downstream analysis

Quick Start

Run the collect_portfolio_data workflow to initialize today’s Robinhood snapshot and save it to portfolio_balancer/data/snapshots/YYYY-MM-DD.json and portfolio_balancer/data/portfolio_snapshot.yml.

Frequently Asked Questions about portfolio_balancer.collect_portfolio_data

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I collect Robinhood portfolio data for allocation analysis?

Collect Robinhood portfolio data by running the collect_portfolio_data workflow, which uses the bin/robinhood CLI to capture positions, prices, and margins. It outputs a structured YAML snapshot for allocation tracking.

What is a portfolio snapshot and how does it support rebalancing decisions?

A portfolio snapshot is a structured YAML file recording current holdings categorized into stocks, bonds, gold, and cash. It enables accurate drift analysis to determine when rebalancing is needed based on threshold parameters.

Do I need the bin/robinhood CLI to save portfolio snapshots?

Yes, the bin/robinhood CLI is required to execute positions --save and gather current portfolio data. The workflow depends on this CLI to produce the structured YAML snapshot at the specified path.

Can I track Permanent Portfolio drift using Robinhood data?

Yes, you can track Permanent Portfolio drift by capturing Robinhood positions and categorizing them into stocks, long-term bonds, gold, and cash. The snapshot applies drift_threshold parameters to signal when allocations diverge.

What parameters are required to generate a YAML portfolio snapshot?

Generating a YAML portfolio snapshot requires a snapshot path, a drift_threshold value, and a satellite_enabled parameter. These configure the bin/robinhood CLI data collection and structure the output for downstream analysis.

How often should I capture Robinhood portfolio snapshots for drift analysis?

Capturing Robinhood portfolio snapshots for drift analysis should align with your rebalancing review schedule, saving dated JSON files to track allocation changes. Run the collection workflow whenever you need current data to evaluate drift thresholds.