원클릭으로
portfolio-balancercollect-portfolio-data
Gather current portfolio positions, values, and prices from Robinhood using bin/robinhood CLI
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Gather current portfolio positions, values, and prices from Robinhood using bin/robinhood CLI
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Calculate current allocation percentages, identify drift from targets, analyze margin efficiency
Create specific rebalancing recommendations based on drift analysis
Compile comprehensive human-readable daily report with all analysis and recommendations
Daily Permanent Portfolio analysis with allocation drift and rebalancing recommendations
Creates a job.yml specification by gathering workflow requirements through structured questions. Use when starting a new multi-step workflow.
Generates step instruction files and syncs slash commands from the job.yml specification. Use after job spec review passes.
SOC 직업 분류 기준
| name | portfolio_balancer.collect_portfolio_data |
| description | Gather current portfolio positions, values, and prices from Robinhood using bin/robinhood CLI |
| user-invocable | false |
Step 1/4 in portfolio_balancer workflow
Daily Permanent Portfolio analysis with allocation drift and rebalancing recommendations
Goal: Gather current portfolio positions, values, and prices from Robinhood using bin/robinhood CLI
Gather current portfolio positions, values, and prices from Robinhood to create a complete snapshot for Permanent Portfolio analysis.
Collect all portfolio data needed to analyze the Permanent Portfolio allocation using the bin/robinhood CLI.
Ask structured questions to gather user inputs Use the AskUserQuestion tool to collect:
drift_threshold: Percentage that triggers rebalancing (e.g., 5 or 10)satellite_enabled: Whether to track satellite stock picks separatelyCollect portfolio data using the Robinhood CLI
Run the positions command to save today's snapshot:
bin/robinhood positions --save
This command is idempotent - it will skip if today's snapshot already exists.
Use --force to overwrite an existing snapshot.
If not authenticated, prompt user to run bin/robinhood auth first.
Snapshot location: portfolio_balancer/data/snapshots/YYYY-MM-DD.json
Fallback: Manual Upload If the CLI is unavailable, ask for a Robinhood export file (CSV or PDF).
Note: Chrome extension browser automation is NOT supported - Robinhood blocks automated access.
Categorize holdings into Permanent Portfolio asset classes
Identify satellite positions (if enabled)
If satellite_enabled is true, identify individual stock picks within the Stocks allocation that are not broad index funds.
Capture margin information
Create portfolio snapshot Output all collected data in structured YAML format.
A YAML file containing the complete portfolio snapshot.
Structure:
snapshot_date: "YYYY-MM-DD"
snapshot_time: "HH:MM:SS"
data_source: "chrome" | "upload"
drift_threshold: 5 # user-specified percentage
total_portfolio_value: 100000.00
# Permanent Portfolio asset classes
asset_classes:
stocks:
total_value: 28000.00
positions:
- symbol: "VTI"
name: "Vanguard Total Stock Market ETF"
shares: 100
price: 250.00
value: 25000.00
type: "core_index"
- symbol: "AAPL"
name: "Apple Inc."
shares: 10
price: 300.00
value: 3000.00
type: "satellite" # if satellite_enabled
core_value: 25000.00
satellite_value: 3000.00 # if satellite_enabled
long_term_bonds:
total_value: 24000.00
positions:
- symbol: "TLT"
name: "iShares 20+ Year Treasury Bond ETF"
shares: 200
price: 120.00
value: 24000.00
gold:
total_value: 23000.00
positions:
- symbol: "GLD"
name: "SPDR Gold Shares"
shares: 100
price: 230.00
value: 23000.00
cash_treasuries:
total_value: 25000.00
positions:
- symbol: "CASH"
name: "Cash Balance"
value: 15000.00
- symbol: "SHV"
name: "iShares Short Treasury Bond ETF"
shares: 90
price: 111.11
value: 10000.00
# Margin information
margin:
enabled: true
current_balance: 5000.00
monthly_fee: 50.00
interest_rate: 0.06 # 6% annual
available_margin: 15000.00
# Satellite tracking (if enabled)
satellite_tracking:
enabled: true
target_percentage: 15 # 15% of stock allocation
positions:
- symbol: "AAPL"
value: 3000.00
<promise>✓ Quality Criteria Met</promise> in your responseThis is the data collection foundation for Permanent Portfolio analysis. The quality and completeness of this snapshot directly impacts the accuracy of allocation analysis and rebalancing recommendations. Harry Browne's Permanent Portfolio requires equal 25% allocations across stocks, long-term bonds, gold, and cash/treasuries - this step must capture all holdings to enable that analysis.
Important: This system is READ-ONLY. We are only collecting data for analysis, not executing any trades.
Automated daily portfolio analysis implementing Harry Browne's Permanent Portfolio strategy.
The Permanent Portfolio maintains equal 25% allocations across four asset classes designed to perform in different economic conditions:
This workflow:
bin/robinhood positions --save CLIIMPORTANT: This system is read-only. No trades are executed automatically. All recommendations require manual review and execution.
User Parameters - Gather from user before starting:
Use branch format: deepwork/portfolio_balancer-[instance]-YYYYMMDD
git checkout -b deepwork/portfolio_balancer-[instance]-$(date +%Y%m%d)Required outputs:
portfolio_balancer/data/snapshots/[DATE].jsonportfolio_balancer/data/portfolio_snapshot.yml/portfolio_balancer.analyze_allocationReference files: .deepwork/jobs/portfolio_balancer/job.yml, .deepwork/jobs/portfolio_balancer/steps/collect_portfolio_data.md