# financial-analysis-agent

Helps build agents for fundamental stock evaluation and risk calculation. Practical for developing robo-advisors or investment trackers.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1300 installs · ★ 46
- Author: qodex-ai
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/qodex-ai/ai-agent-skills/tree/HEAD/skills/financial-analysis-agent/SKILL.md
- Updated: 2026-01-05
- HTML: https://affpapa.org/en/nevibecode/skills/financial-analysis-agent

## What it does

The skill provides instructions for assembling automated investment research subagents. It structures Python workflows around `FinancialDataCollector` to fetch balances and income data via `yfinance`, alongside `FundamentalAnalyzer` for margins and P/E ratios.

Risk metrics rely on `RiskAnalyzer` to calculate volatility and Value at Risk. Signal aggregation happens in `InvestmentRecommender`, grading equities between Strong Buy and Strong Sell. Then `PortfolioManager` computes rebalancing actions. It handles target weight adjustments.

Running the technical routines will fail without local `pandas` and `TA-Lib` installations. Live market screening also depends on active API access to services like Alpha Vantage or Polygon.io.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add qodex-ai/ai-agent-skills --skill financial-analysis-agent -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/financial-analysis-agent/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/financial-analysis-agent/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add qodex-ai/ai-agent-skills --skill financial-analysis-agent -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/financial-analysis-agent/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add qodex-ai/ai-agent-skills --skill financial-analysis-agent -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/financial-analysis-agent/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install qodex-ai/ai-agent-skills financial-analysis-agent
```

2. **Manually: put the files in place**
- File: `.github/skills/financial-analysis-agent/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add qodex-ai/ai-agent-skills --skill financial-analysis-agent -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/qodex-ai/ai-agent-skills --path skills/financial-analysis-agent
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/financial-analysis-agent/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add qodex-ai/ai-agent-skills --skill financial-analysis-agent -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/qodex-ai/ai-agent-skills/tree/HEAD/skills/financial-analysis-agent/SKILL.md

## When to use it
- collect financial statements and stock ratios via `yfinance`
- calculate price volatility and Value at Risk (VaR)
- generate investment ratings with scores from Strong Buy to Strong Sell
- rebalance investment portfolios toward target asset allocations
- identify price support and resistance levels on market charts

## Example prompts
- Use `FundamentalAnalyzer` to calculate liquidity ratios and P/E for these stock tickers.
- Analyze portfolio risk using `RiskAnalyzer` and calculate the Value at Risk.
- Run a portfolio rebalancing via `PortfolioManager` according to target weight allocations.

## Similar
- [stock-liquidity](https://affpapa.org/en/nevibecode/skills/stock-liquidity.md) — skill · 3100 installs
- [alphaear-stock](https://affpapa.org/en/nevibecode/skills/alphaear-stock.md) — skill · 1200 installs
- [correlation-analysis](https://affpapa.org/en/nevibecode/skills/correlation-analysis.md) — skill · 464 installs
- [estimate-analysis](https://affpapa.org/en/nevibecode/skills/estimate-analysis.md) — skill · 3200 installs
- [financial-data-collector](https://affpapa.org/en/nevibecode/skills/financial-data-collector.md) — skill · 883 installs
- [portfolio-analytics](https://affpapa.org/en/nevibecode/skills/portfolio-analytics.md) — skill · 489 installs

From the same set: [qodex-ai/ai-agent-skills](https://affpapa.org/en/nevibecode/by/qodex-ai/ai-agent-skills.md) — 3 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
