Factor Analysis — Development skill for Claude Code
Decompose portfolio returns by factor exposures and identify unintended bets.
How to install Factor Analysis
Installs to ~/.claude/skills/brainbytes-dev-everything-claude-trading-factor-analysis/SKILL.md
mkdir -p ~/.claude/skills/brainbytes-dev-everything-claude-trading-factor-analysis && curl -fsSL https://raw.githubusercontent.com/brainbytes-dev/everything-claude-trading/HEAD/commands/factor-analysis.md -o ~/.claude/skills/brainbytes-dev-everything-claude-trading-factor-analysis/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Factor Analysis does
description: Decompose portfolio returns by factor exposures and identify unintended bets
/factor-analysis
What This Command Does
Performs factor exposure analysis on a portfolio, decomposing returns and risk into systematic factor contributions (market, size, value, momentum, quality, volatility, and custom factors). The quant-researcher and portfolio-manager agents collaborate to identify intended and unintended factor bets.
When to Use
- You want to understand what factor
Alternatives in Development
- Returns — 组合收益归因 — 拆解总收益为各持仓贡献 + 行业/流派归因 + Top 贡献/拖累 + vs 基准 6.6k ★
- Reddit Fetch — Fetches Reddit content via Gemini CLI when WebFetch is blocked or returns 403 errors 6.5k ★
- Flow Parallel — Decompose and execute large changes, migrations, or multi-issue fixes in parallel with quality gates 2.8k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Correlation Check
Analyze portfolio correlations, detect regime breaks, and identify hidden exposures
Index Funds
Monthly analysis of your index fund portfolio in a tax-advantaged account (Swedish ISK by default, per investo
Portfolio Optimize
Optimize portfolio allocation using mean-variance, risk parity, or factor-based methods
Constraint Shift Analysis Pivot Point Identificati 20260709
Quickly assess a domain by identifying the true limiting factor, shifting focus from physical scarcity to info
Weighted Decision Simulation
A Claude Code skill for modeling weighted, multi-factor decisions under uncertainty (e.g. buy-vs-rent, stocks,
Returns Analysis
🛒 Returns Analysis
Related Agents
Fg Quant Analyst
Finance Guru Quantitative Analysis Specialist (Dr. Priya Desai). Statistical modeling, risk metrics, portfolio
Kalshi Bettor
Specialized agent for scanning, analyzing, and placing bets on Kalshi prediction markets. Use when the user wa
Skill
Professional finance research toolkit — backtesting (10 engines + benchmark comparison panel), factor analysis