# stock-analysis

stock-analysis is a Claude Code skill for analyzing stocks and crypto via Yahoo Finance, with portfolio tracking and periodic reports.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 163 installs · ★ 675 repo stars
- Author: sundial-org
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/sundial-org/awesome-openclaw-skills/tree/HEAD/skills/stock-analysis/SKILL.md
- Updated: 2026-03-07
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/sundial-org-stock-analysis

## What it does

stock-analysis fetches quotes and fundamentals from Yahoo Finance, scoring eight dimensions: earnings surprise, fundamentals, analyst consensus, historical patterns, market context, sector performance, momentum, and sentiment. For crypto, it rates market cap, category, and Bitcoin correlation. Output is BUY, HOLD, or SELL signals with confidence levels and risk flags.

Portfolio management is built in: create portfolios, add stocks and crypto with quantity and entry price, track current P&L and periodic returns (daily, weekly, monthly, quarterly, yearly). Data lives in `~/.clawdbot/skills/stock-analysis/portfolios.json`.

The skill flags high-risk scenarios: warns two weeks before earnings (converts BUY to HOLD), catches spikes above 15% in five days post-earnings, detects overbought conditions at RSI > 70, watches VIX and safe-haven flows (gold, Treasuries). Version 4.0.0 adds news scanning for crisis keywords (Taiwan, China, Russia, Middle East, banking) and applies a 30% confidence penalty to affected sectors.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add sundial-org/awesome-openclaw-skills --skill stock-analysis -a claude-code
```

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

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add sundial-org/awesome-openclaw-skills --skill stock-analysis -a codex
```

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

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add sundial-org/awesome-openclaw-skills --skill stock-analysis -a cursor
```

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install sundial-org/awesome-openclaw-skills skills/stock-analysis
```

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

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add sundial-org/awesome-openclaw-skills --skill stock-analysis -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/sundial-org/awesome-openclaw-skills --path skills/stock-analysis
```

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add sundial-org/awesome-openclaw-skills --skill stock-analysis -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/sundial-org/awesome-openclaw-skills/tree/HEAD/skills/stock-analysis/SKILL.md

## When to use it
- assess stock strengths and weaknesses before investing
- track portfolio with live gains and losses
- generate weekly or monthly performance reports for holdings
- spot price spikes after earnings or breaking news
- analyze top-20 cryptocurrencies by market cap

## Example prompts
- Analyze AAPL and MSFT, compare their signals
- Add 100 Apple shares at 150 dollars to My Portfolio
- Give me a weekly report for My Portfolio with P&L

## Similar
- [daily-stock-analysis](https://affpapa.org/en/nevibecode/skills/daily-stock-analysis.md) — skill · 2000 installs
- [HPSILab - Quant Finance MCP Server for Stock Analysis and Options Analytics](https://affpapa.org/en/nevibecode/mcp/hpsilab-quant-finance-mcp-server-for-stock-analysis-and-options-analytics.md) — MCP server · 796 installs
- [us-stock-analysis](https://affpapa.org/en/nevibecode/skills/us-stock-analysis.md) — skill · 6000 installs
- [stock-quote](https://affpapa.org/en/nevibecode/skills/staskh-stock-quote.md) — skill · 138 installs
- [pp-yahoo-finance](https://affpapa.org/en/nevibecode/skills/pp-yahoo-finance.md) — skill · 685 installs
- [estimate-analysis](https://affpapa.org/en/nevibecode/skills/estimate-analysis.md) — skill · 3600 installs

## Other versions with the same name
- [stock-analysis · claude-office-skills](https://affpapa.org/en/nevibecode/skills/claude-office-skills-stock-analysis.md) — 7200 installs
- [stock-analysis · alirezarezvani](https://affpapa.org/en/nevibecode/skills/stock-analysis.md) — 22 installs

From the same set: [sundial-org/awesome-openclaw-skills](https://affpapa.org/en/nevibecode/by/sundial-org/awesome-openclaw-skills.md) — 37 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
