Introduction
Quick Start
Getting Started with InvestSkill
Install
One command for any AI agent
Pick your tool, copy the command, run it. The script drops the 26 frameworks into your project and wires up that tool's config file.
.claude/skills/
curl -fsSL https://raw.githubusercontent.com/yennanliu/InvestSkill/main/install.sh | bash -s -- -a claude
Installs all skills as Claude Code skills — slash commands work out of the box.
Then run/stock-eval AAPL
.cursor/rules/investskill.mdc
curl -fsSL https://raw.githubusercontent.com/yennanliu/InvestSkill/main/install.sh | bash -s -- -a cursor
Adds a Cursor rule that points the agent at the frameworks.
Then run@.investskill/prompts/stock-eval.md Evaluate Apple
.github/copilot-instructions.md
curl -fsSL https://raw.githubusercontent.com/yennanliu/InvestSkill/main/install.sh | bash -s -- -a copilot
Appends an instructions block — your existing file is preserved.
Then run#file:.investskill/prompts/stock-eval.md Evaluate Apple
GEMINI.md
curl -fsSL https://raw.githubusercontent.com/yennanliu/InvestSkill/main/install.sh | bash -s -- -a gemini
Gemini CLI loads GEMINI.md automatically on start.
Then run@.investskill/prompts/stock-eval.md Evaluate Apple
AGENTS.md
curl -fsSL https://raw.githubusercontent.com/yennanliu/InvestSkill/main/install.sh | bash -s -- -a codex
Uses the AGENTS.md convention — read by Codex on every run.
Then runEvaluate AAPL using the stock-eval framework
AGENTS.md
curl -fsSL https://raw.githubusercontent.com/yennanliu/InvestSkill/main/install.sh | bash -s -- -a opencode
Same AGENTS.md block — works with any agent that reads it.
Then runEvaluate AAPL using the stock-eval framework
.investskill/prompts/
curl -fsSL https://raw.githubusercontent.com/yennanliu/InvestSkill/main/install.sh | bash -s -- -a any
Just the markdown — paste a framework into ChatGPT, Claude.ai, or a local model.
Then runcat .investskill/prompts/stock-eval.md
InvestSkill
Professional investment analysis frameworks for US stocks — works on every AI platform
No API keys · No subscriptions · 100% free
What is InvestSkill?
InvestSkill is a collection of 26 structured analysis frameworks that turn any AI assistant into an institutional-quality investment analyst. There is no runtime — every skill is a prompt that works in Claude Code, Cursor, Gemini CLI, GitHub Copilot, ChatGPT, or any other LLM.
Nothing to sign up for, nothing to pay for. No API key, no data-vendor subscription, no billing setup — you bring the AI assistant you already use (a free tier or a local model works too) and InvestSkill is just markdown. See No API keys, no cost.
Ask your AI: "Evaluate AAPL using the stock-eval framework"
Get back: Piotroski score · ROIC · moat rating · buy/hold/sell signal
A six-lesson field guide to the concepts behind every skill — from reading a balance sheet to valuing a business to holding a portfolio — in plain English and Traditional Chinese. No finance degree required.
Quick Start
One command, any AI agent — pick yours on the website:
# Claude Code
curl -fsSL https://raw.githubusercontent.com/yennanliu/InvestSkill/main/install.sh | bash -s -- -a claude
# Swap the agent: cursor · copilot · gemini · codex · opencode · any
curl -fsSL https://raw.githubusercontent.com/yennanliu/InvestSkill/main/install.sh | bash -s -- -a cursor
The installer copies every framework into .investskill/prompts/ and wires up your agent’s own entry point — nothing else runs on your machine:
-a |
Agent | Wires up |
|---|---|---|
claude |
Claude Code | .claude/skills/<skill>/SKILL.md (slash commands) |
cursor |
Cursor | .cursor/rules/investskill.mdc |
copilot |
GitHub Copilot | .github/copilot-instructions.md |
gemini |
Gemini CLI | GEMINI.md |
codex |
Codex | AGENTS.md |
opencode |
OpenCode | AGENTS.md |
any |
ChatGPT, Claude.ai, Ollama, … | .investskill/prompts/ only — paste and go |
Add -g to install for your user instead of one project, -d DIR to target another directory, or -h for all options. Existing instruction files are appended to, never overwritten, and re-running is a no-op. Read it first if you’d rather not pipe to bash: install.sh.
Claude Code via the plugin marketplace — full slash-command support:
claude
/plugin marketplace add yennanliu/InvestSkill
/plugin install us-stock-analysis
/us-stock-analysis:stock-eval AAPL
Or clone the repo — every framework in prompts/, use it anywhere:
git clone https://github.com/yennanliu/InvestSkill.git
cd InvestSkill
# Cursor
cursor .
# → @prompts/stock-eval.md Evaluate Apple
# Gemini CLI
gemini
# → @prompts/stock-eval.md Evaluate Apple
# Any LLM — paste the prompt file directly
cat prompts/stock-eval.md | pbcopy
Full platform guides: Claude Code · Cursor · Gemini CLI · Ollama
No API Keys, No Cost
InvestSkill is completely free to use — there is nothing to buy, register, or configure.
| API keys | None. No OpenAI / Anthropic / Alpha Vantage / Polygon key. The plugin never calls an endpoint — there is no code to call one with. |
| Subscriptions | None. No paid tier, no seats, no usage metering, no account. |
| Market-data fees | None. No Bloomberg, no paid data feed. The AI reads public filings and free sources — or you paste the numbers in yourself. |
| Install / runtime | None. Every skill is a plain markdown prompt. Nothing runs on your machine, so nothing phones home. |
| License | MIT. Free to use, fork, and modify — for personal or commercial work. |
The only thing you need is an AI assistant you already have. That can be a paid plan (Claude Code, Cursor, Copilot), a free tier (ChatGPT, Gemini, Claude.ai), or a fully offline local model via Ollama — in which case the total cost of running every framework is literally zero.
Because there’s no API, there’s also no telemetry: InvestSkill never sees your tickers, your holdings, or your analysis. See Data & Accuracy for where the numbers actually come from.
The 26 Frameworks
Core Stock Analysis
| Skill | What it produces |
|---|---|
stock-eval |
Piotroski F-Score, ROIC, quality rating, go/no-go signal |
fundamental-analysis |
Income statement, balance sheet, cash flow deep dive |
technical-analysis |
MA chart (30/60/90/200/365d) with trade entry/target/stop, chart patterns, RSI/MACD, MTF alignment, Ichimoku |
dcf-valuation |
DCF intrinsic value, WACC sensitivity, bear/base/bull scenarios |
stock-valuation |
P/E · P/S · EV/EBITDA · comparable company multiples |
economics-analysis |
Macro indicators, recession probability, rate sensitivity |
Financial Reports
| Skill | What it produces |
|---|---|
financial-report-analyst |
10-K / 10-Q key findings, red flags, accounting quality |
10k-digest |
Structured markdown digest — abstract, section summaries, metrics table, refs (EN / 繁中) |
earnings-call-analysis |
Management tone, guidance delta, hidden risks |
Market Monitoring
| Skill | What it produces |
|---|---|
insider-trading |
SEC Form 4 patterns, net buy/sell sentiment |
institutional-ownership |
13F holdings changes, smart money flows |
dividend-analysis |
Payout safety score, yield trap detection |
short-interest |
Short ratio, days-to-cover, squeeze probability |
Advanced Research
| Skill | What it produces |
|---|---|
competitor-analysis |
Moat score, Porter’s Five Forces, market share |
industry-map |
Supply/value-chain graph (upstream→downstream), chokepoints, margin-pool migration, second-order ideas |
options-analysis |
Greeks, IV rank, earnings play strategy selection |
portfolio-review |
Allocation health, concentration risk scoring, correlation analysis, tax-loss harvesting, rebalancing plan |
sector-analysis |
Sector rotation signals, valuation tables, seasonality calendar, momentum scoring |
stock-screener |
Multi-ticker ranking across valuation, quality, momentum, sentiment, and growth; leaderboard + top picks + avoid list |
catalyst-calendar |
Forward-looking 90-day event calendar: earnings, macro events, catalysts, impact scoring, event-driven strategies |
bear-case |
Deliberate short-seller red-team: bear thesis, accounting red flags, downside target, thesis-killers (counterevidence for any bull thesis) |
position-ladder |
Staged entry ladder + trim/re-add cycle for a single holding: share-count floor/ceiling, blended cost basis, wash-sale flags, total-return-vs-buy-and-hold check, thesis-break gate |
Meta & Output
| Skill | What it produces |
|---|---|
research-bundle |
Chains all frameworks into one unified investment thesis |
full-report |
Runs all 15 modules and saves a standalone HTML report |
report-generator |
Converts any analysis into a professional HTML/PDF report |
chart-master |
Mermaid · ASCII · Chart.js visualizations from financial data |
result-validator |
Scores any analysis on data quality, methodology, and signal consistency |
Example Workflows
5-minute stock screen
/stock-eval NVDA
/stock-eval AMD
→ Piotroski scores + quality rating for quick go/no-go
Complete due diligence
/stock-eval AAPL
/fundamental-analysis AAPL
/stock-valuation AAPL --methods all
/competitor-analysis AAPL
/financial-report-analyst AAPL 10-K
→ Full investment thesis in one session
Earnings season playbook
/fundamental-analysis TICKER ← pre-earnings baseline
/earnings-call-analysis TICKER ← post-earnings [paste transcript]
/options-analysis TICKER --earnings ← vol expectations + strategy
→ Complete earnings thesis
Export a professional report
/full-report AAPL
→ Saves output/AAPL_report_2026-05-12.html
(hero header · metric cards · interactive Chart.js · signal block)
Output Format
Every skill ends with a standardized Investment Signal Block:
╔══════════════════════════════════════════════╗
║ INVESTMENT SIGNAL ║
╠══════════════════════════════════════════════╣
║ Signal: BULLISH / NEUTRAL / BEARISH ║
║ Confidence: HIGH / MEDIUM / LOW ║
║ Horizon: SHORT / MEDIUM / LONG-TERM ║
║ Score: X.X / 10 ║
╠══════════════════════════════════════════════╣
║ Action: BUY / HOLD / SELL ║
║ Conviction: STRONG / MODERATE / WEAK ║
╚══════════════════════════════════════════════╝
HTML reports render this as a styled dark panel with a score progress bar, ghost watermark text, and a teal/sky gradient accent — see report-generator for the full design system.
Platform Support
| Platform | Setup | How it works |
|---|---|---|
| Claude Code | Marketplace install | 23 native slash commands |
| Cursor IDE | Clone repo, open folder | Auto-loads .cursor/rules/ |
| Gemini CLI | Clone repo, cd into it |
Auto-loads GEMINI.md |
| GitHub Copilot | Clone repo, open in VS Code | Auto-loads .github/copilot-instructions.md |
| Ollama (local models) | Clone repo, run a local model | Offline open-source models, no API key — guide |
| ChatGPT / Claude.ai | Paste any prompts/*.md file |
Works in any chat interface |
| Any other LLM | Reference or paste prompt files | Platform-agnostic markdown |
Learn the Frameworks
New to investing, or unsure which skill to reach for? Start here:
| Guide | What it gives you |
|---|---|
| Concepts | The mental models behind the metrics — quality vs. value vs. growth, intrinsic value, moats, risk, and the signal block |
| Glossary | Plain-English definitions, formulas, and good/bad ranges for every metric the skills emit |
| Choose a Skill | Map your goal to the right framework, plus comparisons of the ones that overlap |
| Use Cases | End-to-end journeys by investor type — income, first-timer, earnings, macro, skeptic |
| Data & Accuracy | Where the numbers come from, how to spot hallucinations, and how to validate output |
Documentation
| Resource | Description |
|---|---|
| Live Docs Site | Full documentation with dark-theme UI |
| Cookbook | Walkthrough examples and use cases |
| Skill Reference | All 26 frameworks, one browsable page each |
| Claude Code Guide | Plugin install + all slash commands |
| Cursor Guide | Auto-loading rules + @prompts/ usage |
| Gemini CLI Guide | File references + multi-framework chains |
| Ollama Guide | Local open-source models, offline & no API key |
| Adding Skills | 12-step contributor walkthrough |
| FAQ | 50+ answers covering all platforms |
| Changelog | Version history |
Contributing
See ADDING-NEW-SKILLS.md for the full process. The short version:
- Create
plugins/us-stock-analysis/skills/<name>/SKILL.mdwith YAML frontmatter - Create
prompts/<name>.md— same content, no frontmatter, AI-agnostic syntax - Add to
plugin.jsonskills array and bump version in both manifest files - Run
npm test— all 288+ tests must pass
Open an issue to report bugs · Start a discussion to propose features.
Version: 1.11.0 · Skills: 26 · Platforms: 7 · License: MIT · Tests: 294+ passing
For educational and research purposes only. Not financial advice.
Always consult a qualified financial advisor before making investment decisions.