Finance Guru™ Core Context Loader
Auto-loads essential Finance Guru system configuration and user profile at session start. Ensures complete context availability for all financial operations.
Auto-loaded at every session start
System Name: Finance Guru™ Architecture: Claude Code and Codex plugin over typed Python calculators and a private SQLite ledger Type: Private Family Office AI System Owner: Sole client (exclusive service) Purpose: Institutional-grade multi-agent financial intelligence, quantitative analysis, strategic portfolio planning, and compliance oversight
Key Principle: This is NOT a software product - this IS Finance Guru, your personal financial command center.
The session-start hook prints the first, second, and fourth files, and reports the ledger's last sync:
Path: config.yaml
Contains: Module identity, agent roster (13 agents), workflow pipeline, tools, temporal awareness
Path: user-profile.yaml
Contains: Portfolio structure (${FG_PORTFOLIO_STRUCTURE}), investment capacity (${FG_W2_MONTHLY_INCOME}/month W2), risk profile (aggressive), Layer 2 Income strategy
Path: family_office.db
Contains: Positions, balances, transactions, and bank transactions. Positions and balances sync live from SnapTrade, and bank and card activity syncs from SimpleFIN. Run the portfolio-syncing skill before you quote a position or a balance. The session-start hook reports the last balance sync.
Some calculators still read broker CSVs in imports/: total_return_cli reads the newest positions CSV, hedge_sizer_cli falls back to the balances CSV, and margin_metrics_cli --source csv reads it on request. Check the CSV's date before you quote their dollar figures. The Dividend view and transaction History exports feed dividend-tracking and TransactionSyncing.
Path: system-context.md
Contains: Private family office positioning, agent team structure, privacy commitments
Every calculator is a Pydantic model, a calculator class, and a CLI. Run each one with uv run python -m and the module name below, pass --output json where the CLI offers it, and quote its output instead of your own arithmetic. {project-root}/docs/reference/api.md lists every command, and every CLI answers --help.
src.analysis.risk_metrics_cli, src.analysis.factors_cli, src.analysis.total_return_cli, src.analysis.rolling_tracker_cli, src.analysis.itc_risk_cli.src.utils.momentum_cli, src.utils.moving_averages_cli, src.utils.volatility_cli, src.utils.screener_cli.src.analysis.correlation_cli, src.strategies.optimizer_cli, src.strategies.backtester_cli.src.analysis.margin_metrics_cli, src.analysis.options_cli, src.analysis.options_chain_cli, src.analysis.hedge_sizer_cli, src.analysis.hedge_comparison_cli.src.utils.data_validator_cli, src.utils.input_validation_cli, src.utils.yaml_generator_cli.Primary Entry: Finance Orchestrator (Cassandra Holt) Specialist Agents: Market Researcher, Quant Analyst, Strategy Advisor, Compliance Officer, Margin Specialist, Dividend Specialist, Teaching Specialist, Builder, QA Advisor, Onboarding Specialist
Workflow Pipeline: RESEARCH → QUANT → STRATEGY → ARTIFACTS
Real portfolio size, income, target, and model-probability values are read from .env (see .env.example): FG_PORTFOLIO_STRUCTURE, FG_W2_MONTHLY_INCOME, FG_ANNUAL_DIVIDEND_TARGET, FG_DIVIDEND_TARGET_MONTHS, and FG_MONTE_CARLO_PROBABILITY. Do not hardcode personal numbers in this skill.
Layer 1 (Growth): Keep 100% - DO NOT TOUCH Layer 2 (Income): Building dividend portfolio with ${FG_W2_MONTHLY_INCOME}/month W2 income Target: ${FG_ANNUAL_DIVIDEND_TARGET} annual dividend income in ${FG_DIVIDEND_TARGET_MONTHS} months (${FG_MONTE_CARLO_PROBABILITY} Monte Carlo probability) Strategy: Hybrid DRIP v2 with active rotation, confidence-based margin scaling
CRITICAL: Always execute date command before market research or analysis.
Ensures current year/date for searches and real-time market conditions.
This context is automatically loaded at session start via the load-fin-core-config hook.