Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Analyze your portfolio to identify concentration risks, calculate Value at Risk, estimate drawdowns, beta, Sharpe ratio, income, run stress tests, and sugges...
Analyze your portfolio to identify concentration risks, calculate Value at Risk, estimate drawdowns, beta, Sharpe ratio, income, run stress tests, and sugges...
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
Complete investment portfolio risk management system. Analyze positions, calculate risk metrics, stress test scenarios, optimize allocations, and generate institutional-grade risk reports — all without external APIs.
When the user shares their portfolio (positions, tickers, amounts), structure it into this format: portfolio: name: "User Portfolio" currency: USD as_of: "2026-02-15" positions: - ticker: AAPL shares: 50 avg_cost: 185.00 current_price: 228.50 # Look up via web search asset_class: US_EQUITY sector: Technology - ticker: BTC units: 0.5 avg_cost: 42000 current_price: 97500 asset_class: CRYPTO sector: Digital Assets - ticker: VOO shares: 100 avg_cost: 410.00 current_price: 535.00 asset_class: US_EQUITY_ETF sector: Broad Market cash: amount: 15000 currency: USD
For each position, use web search to find current price: Search: [TICKER] stock price today For crypto: [COIN] price USD today Record source and timestamp
PositionSharesCost BasisCurrent ValueWeightP&LP&L %AAPL50$9,250$11,42518.2%+$2,175+23.5%.....................TOTAL$XX,XXX$XX,XXX100%±$X,XXX±X.X%
Calculate ALL of the following for every portfolio analysis:
Run these scenarios against the portfolio and report impact:
scenarios: market_crash_2008: name: "2008 Financial Crisis" impacts: US_EQUITY: -0.50 INTL_EQUITY: -0.55 EMERGING: -0.60 BONDS: +0.05 HIGH_YIELD: -0.30 REITS: -0.70 CRYPTO: -0.80 # projected based on risk profile GOLD: +0.10 CASH: 0 covid_crash_2020: name: "COVID-19 Crash (Feb-Mar 2020)" impacts: US_EQUITY: -0.34 INTL_EQUITY: -0.35 EMERGING: -0.35 BONDS: +0.03 HIGH_YIELD: -0.20 REITS: -0.40 CRYPTO: -0.50 GOLD: -0.05 CASH: 0 dot_com_2000: name: "Dot-Com Bust (2000-2002)" impacts: US_EQUITY: -0.45 TECH: -0.75 # Apply to technology sector specifically INTL_EQUITY: -0.40 BONDS: +0.15 CASH: 0 rate_hike_shock: name: "Rapid Rate Hike (+300bps)" impacts: US_EQUITY: -0.15 BONDS: -0.15 HIGH_YIELD: -0.10 REITS: -0.25 CRYPTO: -0.20 GOLD: -0.10 CASH: +0.01 # higher yields inflation_surge: name: "Stagflation (persistent 8%+ inflation)" impacts: US_EQUITY: -0.20 BONDS: -0.20 CRYPTO: -0.10 # debatable hedge GOLD: +0.15 REITS: -0.05 COMMODITIES: +0.20 CASH: -0.03 # real value erosion crypto_winter: name: "Crypto Winter (80% drawdown)" impacts: CRYPTO: -0.80 US_EQUITY: -0.05 # minor contagion
For each scenario: 📉 SCENARIO: [Name] | Position | Current Value | Stressed Value | Loss | |----------|--------------|----------------|------| | AAPL | $11,425 | $5,713 | -$5,712 | | ... | ... | ... | ... | | TOTAL | $XX,XXX | $XX,XXX | -$XX,XXX (-XX.X%) | Could you survive this? [YES/NO based on cash reserves and income needs] Recovery estimate: X-X months
If user describes a specific worry, build a custom scenario: User: "What if tech crashes 40% but bonds rally?" → Build custom impact map, apply to portfolio, report results
Compare current allocation to standard models: AGGRESSIVE (Age <35, high risk tolerance): Equities: 80-90%, Bonds: 5-10%, Alternatives: 5-10%, Cash: 2-5% GROWTH (Age 35-50): Equities: 60-75%, Bonds: 15-25%, Alternatives: 5-10%, Cash: 5% BALANCED (Age 50-60): Equities: 40-60%, Bonds: 30-40%, Alternatives: 5-10%, Cash: 5-10% CONSERVATIVE (Age 60+, income focus): Equities: 20-40%, Bonds: 40-50%, Alternatives: 5%, Cash: 10-20% Current allocation matches: [MODEL] profile Recommended adjustments: [specific moves]
Risk Parity Target: Each asset class contributes EQUAL risk to portfolio Steps: 1. Calculate each position's risk contribution: Risk Contribution = Weight × Volatility × Correlation_with_portfolio 2. For equal risk contribution: Target Weight_i = (1/Vol_i) / Σ(1/Vol_j) 3. Report: Current vs Risk-Parity weights Trades needed to rebalance Expected impact on Sharpe Ratio
Generate a single risk score: risk_scorecard: concentration_risk: weight: 20 score: X # 100 = well diversified, 0 = single stock details: "Top position is X%, X sectors represented" volatility_risk: weight: 20 score: X # 100 = low vol, 0 = extremely volatile details: "Portfolio annualized vol: X%" drawdown_risk: weight: 20 score: X # 100 = minimal drawdown exposure, 0 = could lose 50%+ details: "Max estimated drawdown: X%" liquidity_risk: weight: 15 score: X # 100 = all highly liquid, 0 = illiquid positions details: "X% in liquid large-cap, X% in illiquid" income_resilience: weight: 10 score: X # 100 = strong income, 0 = no yield details: "Portfolio yield: X%, X% from reliable dividend payers" market_sensitivity: weight: 15 score: X # 100 = low beta/defensive, 0 = highly aggressive details: "Portfolio beta: X.XX" overall_score: X/100 rating: "[CONSERVATIVE|MODERATE|AGGRESSIVE|SPECULATIVE]" recommendation: "[Key action item]"
80-100: FORTRESS — Well-protected, may be too conservative for growth 60-79: SOLID — Good risk management, minor improvements possible 40-59: MODERATE — Reasonable but has notable risk exposures 20-39: ELEVATED — Significant vulnerabilities, rebalancing recommended 0-19: DANGER ZONE — Extreme concentration or volatility, urgent action needed
For each position with unrealized losses: 1. Calculate unrealized loss: (Current Price - Avg Cost) × Shares 2. Check if loss >$500 (worth harvesting) 3. Identify tax-efficient replacement: - Same sector ETF (avoids wash sale) - Similar factor exposure - Hold replacement 31+ days before switching back Report: | Ticker | Unrealized Loss | Replacement | Wash Sale Clear Date | |--------|----------------|-------------|---------------------| | XYZ | -$2,500 | Similar ETF | [date + 31 days] | Estimated tax savings: $X,XXX (at X% marginal rate)
Additional crypto-specific metrics: Bitcoin dominance correlation Exchange risk (centralized vs self-custody) Protocol risk for DeFi positions Stablecoin exposure and depeg risk Tax implications of staking/yield
FFO yield vs dividend yield Interest rate sensitivity Geographic concentration Property type diversification (residential/commercial/industrial)
If portfolio includes options: Delta exposure (equivalent stock position) Theta decay (daily time value loss) Implied volatility vs historical Max loss calculation Breakeven prices
Generate a complete PDF-ready markdown report: # Portfolio Risk Report ## Prepared: [Date] ## Portfolio: [Name] ### Executive Summary [2-3 sentence overview: total value, risk rating, top recommendation] ### 1. Holdings Summary [Position table from Section 1] ### 2. Risk Metrics [All calculations from Section 2] ### 3. Stress Test Results [All scenarios from Section 3] ### 4. Optimization Recommendations [From Section 4] ### 5. Risk Scorecard [From Section 5] ### 6. Action Plan [Prioritized list of recommended changes] ### Disclaimer This analysis is for informational purposes only and does not constitute financial advice. Past performance and historical data do not guarantee future results. Consult a qualified financial advisor before making investment decisions.
Respond to these natural language requests: User SaysAction"Analyze my portfolio"Full Section 1-5 analysis"What's my risk?"Risk Scorecard (Section 5)"Stress test my portfolio"All scenarios (Section 3)"What if the market crashes?"2008 + COVID scenarios"How should I rebalance?"Section 4 optimization"Tax loss harvest"Section 7 scanner"Weekly review"Section 6 weekly template"Add [position]"Update portfolio YAML, recalculate"Remove [position]"Update portfolio YAML, recalculate"What's my VaR?"Value at Risk calculation (Section 2.2)"Compare to S&P 500"Benchmark comparison"How diversified am I?"Concentration + correlation analysis"What's my Sharpe ratio?"Section 2.5"Set alert for [ticker] at [price]"Add to monitoring (Section 6)
Skip VaR (not meaningful for small amounts) Focus on concentration risk and savings rate Recommend index-first approach
ALWAYS flag extreme concentration risk Model collar strategies (protective put + covered call) 10b5-1 plan reminder for insiders Calculate how much to diversify per quarter
Apply crypto winter scenario prominently Flag exchange counterparty risk Recommend cold storage percentage Note tax complexity of DeFi/staking
Currency risk calculation Country risk premium Withholding tax impact on dividends ADR vs local share considerations
Calculate margin call price Stress test at 2x normal drawdown Flag if margin utilization >50% Model forced liquidation scenarios
Different tax treatment (no tax-loss harvesting needed) RMD impact for traditional IRA Roth conversion opportunity analysis Sequence of returns risk for near-retirees
Data access, storage, extraction, analysis, reporting, and insight generation.
Largest current source with strong distribution and engagement signals.