一键导入
portfolio-balancergenerate-report
Compile comprehensive human-readable daily report with all analysis and recommendations
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Compile comprehensive human-readable daily report with all analysis and recommendations
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Calculate current allocation percentages, identify drift from targets, analyze margin efficiency
Gather current portfolio positions, values, and prices from Robinhood using bin/robinhood CLI
Create specific rebalancing recommendations based on drift analysis
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.
| name | portfolio_balancer.generate_report |
| description | Compile comprehensive human-readable daily report with all analysis and recommendations |
| user-invocable | false |
Step 4/4 in portfolio_balancer workflow
Daily Permanent Portfolio analysis with allocation drift and rebalancing recommendations
Before proceeding, confirm these steps are complete:
/portfolio_balancer.collect_portfolio_data/portfolio_balancer.analyze_allocation/portfolio_balancer.generate_recommendationsGoal: Compile comprehensive human-readable daily report with all analysis and recommendations
Compile a comprehensive, human-readable daily report that presents the portfolio snapshot, allocation analysis, and rebalancing recommendations in a clear format for manual review.
Combine all data from previous steps into a well-formatted markdown report following the doc spec quality criteria. The report should be immediately actionable while providing sufficient context for informed decision-making.
Read all input files Load the following from previous steps:
portfolio_balancer/data/portfolio_snapshot.yml (from collect_portfolio_data)portfolio_balancer/data/allocation_analysis.yml (from analyze_allocation)portfolio_balancer/data/recommendations.yml (from generate_recommendations)Generate report header Include:
Create allocation table Format the allocation data into a clear table showing:
Add stock allocation detail (if satellites enabled) Break down the stock allocation:
Write drift analysis section Explain:
Include margin analysis Present:
Format rebalancing recommendations Present recommendations clearly:
Add notes section Include any additional observations or context from the analysis.
Save report with date-stamped filename
Output to portfolio_balancer/reports/YYYY-MM-DD.md using the current date.
A markdown report following the doc spec at .deepwork/doc_specs/daily_portfolio_report.md.
Structure:
# Daily Portfolio Report: 2024-01-15
## Portfolio Summary
| Metric | Value |
|--------|-------|
| **Total Portfolio Value** | $100,000.00 |
| **Data Source** | Claude Chrome Extension |
| **Snapshot Time** | 2024-01-15 09:30:00 |
| **Drift Threshold** | 5% |
## Current Allocation
| Asset Class | Target | Current | Value | Drift |
|-------------|--------|---------|-------|-------|
| Stocks | 25% | 28% | $28,000 | +3% |
| Long-Term Bonds | 25% | 24% | $24,000 | -1% |
| Gold | 25% | 23% | $23,000 | -2% |
| Cash/Treasuries | 25% | 25% | $25,000 | 0% |
## Stock Allocation Detail
**Core Index Holdings**: $25,000 (89.3% of stocks)
- VTI: 100 shares @ $250.00 = $25,000
**Satellite Positions**: $3,000 (10.7% of stocks)
- AAPL: 10 shares @ $300.00 = $3,000
*Satellite target: 15% | Current: 10.7% | Underweight by 4.3%*
## Drift Analysis
**Status**: All allocations within threshold - no immediate rebalancing required.
| Asset | Drift | Threshold | Status |
|-------|-------|-----------|--------|
| Stocks | +3% | 5% | Within threshold |
| Long-Term Bonds | -1% | 5% | Within threshold |
| Gold | -2% | 5% | Within threshold |
| Cash/Treasuries | 0% | 5% | On target |
### Four Seasons Context
Current portfolio positioning:
- **Overweight Stocks (+3%)**: Positioned for prosperity/growth conditions
- **Underweight Gold (-2%)**: Reduced protection against inflation
- **Underweight Bonds (-1%)**: Reduced protection against deflation
*Interpretation: Portfolio slightly favors growth scenarios; consider rebalancing if economic conditions shift toward inflation.*
## Margin Analysis
| Metric | Value |
|--------|-------|
| Margin Balance | $5,000 |
| Monthly Fees Paid | $50.00 |
| Expected Monthly Cost | $25.00 |
| Annual Overpayment | $300.00 |
**Assessment**: POOR efficiency - paying 2x expected margin cost.
**Recommendation**: Review margin account structure. Consider reducing margin balance or negotiating fees with broker.
## Rebalancing Recommendations
### Summary
No immediate rebalancing required - all asset classes within the 5% drift threshold.
### Satellite Adjustment (Optional)
Consider increasing satellite allocation from 10.7% to 15% of stock holdings:
- Add ~$1,200 to satellite positions
- Options: Add to AAPL or select new satellite pick
### Next Actions
1. Continue monitoring - next review in 30 days
2. Review margin fee structure
3. Consider satellite allocation adjustment
## Notes
- Portfolio is well-balanced for current economic conditions
- Minor drift toward growth positioning is acceptable
- Margin costs warrant attention separate from rebalancing
---
*This report is for informational purposes only. No trades are executed automatically. Review recommendations and execute manually if you agree.*
The report must satisfy the doc spec criteria at .deepwork/doc_specs/daily_portfolio_report.md:
Additional criteria:
YYYY-MM-DD.md<promise>✓ Quality Criteria Met</promise> in your responseThis report is the primary deliverable of the portfolio_balancer workflow. It should be comprehensive enough for the user to make informed decisions, yet concise enough to review quickly. The Permanent Portfolio philosophy values simplicity - the report should reflect that by being clear and actionable rather than overwhelming.
Critical Reminder: Always include the disclaimer that this is a read-only system and no trades are executed automatically. The user must manually review and execute any recommendations.
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.
Files from Previous Steps - Read these first:
portfolio_balancer/data/portfolio_snapshot.yml (from collect_portfolio_data)portfolio_balancer/data/allocation_analysis.yml (from analyze_allocation)portfolio_balancer/data/recommendations.yml (from generate_recommendations)Use branch format: deepwork/portfolio_balancer-[instance]-YYYYMMDD
git checkout -b deepwork/portfolio_balancer-[instance]-$(date +%Y%m%d)Required outputs:
portfolio_balancer/reports/[DATE].md
Doc Spec: Daily Portfolio Report
Human-readable daily analysis of Permanent Portfolio allocation, drift, and rebalancing recommendations Definition:
.deepwork/doc_specs/daily_portfolio_report.mdTarget Audience: Portfolio owner for manual review before executing any trades Quality Criteria:
# Daily Portfolio Report: [DATE]
## Portfolio Summary
- Total portfolio value
- Data source (Chrome extension / manual upload)
- As-of timestamp
## Current Allocation
| Asset Class | Target | Current | Value | Drift |
|-------------|--------|---------|-------|-------|
| Stocks | 25% | X% | $X | +/-X% |
| Long-Term Bonds | 25% | X% | $X | +/-X% |
| Gold | 25% | X% | $X | +/-X% |
| Cash/Treasuries | 25% | X% | $X | +/-X% |
## Stock Allocation Detail
If satellites are configured:
- Core Index: X% of stocks ($X)
- Satellite Picks: X% of stocks ($X)
- Individual satellite positions listed
## Drift Analysis
- Assets exceeding threshold
- Direction of drift (over/underweight)
- Economic conditions that favor current positioning (Four Seasons context)
## Margin Analysis
- Current margin usage
- Monthly margin fees
- Cost/benefit assessment
- Recommendation on margin efficiency
## Rebalancing Recommendations
Specific actions needed (or statement that no rebalancing required):
- Buy/sell amounts per asset class
- Order of operations if relevant
- Notes on tax implications or timing considerations
## Notes
Any additional context or observations
Reference files: .deepwork/jobs/portfolio_balancer/job.yml, .deepwork/jobs/portfolio_balancer/steps/generate_report.md