US Stock Analysis
Overview
Perform comprehensive analysis of US stocks covering fundamental analysis (financials, business quality, valuation), technical analysis (indicators, trends, patterns), peer comparisons, and generate detailed investment reports. Fetch market data and fundamentals from the FMP MCP connector and apply structured analytical frameworks.
Data Sources
All numbers come from the FMP MCP connector. Invoke the market-data skill for exact
endpoint names, parameters, and the metric-to-field mapping. WebSearch is a supplement for
narrative context only — management commentary, competitive dynamics, breaking events — and
is never a substitute for a figure FMP can provide. Where a web source is used, cite it.
Standard opening calls (make these for every analysis, before any interpretation):
company(endpoint="profile-symbol", symbol=<TICKER>) # sector, industry, description, beta
quote(endpoint="quote", symbol=<TICKER>) # price, 52w range, volume, mkt cap, P/E
statements(endpoint="income-statement", symbol=<TICKER>, period="annual", limit=5)
statements(endpoint="balance-sheet-statement", symbol=<TICKER>, period="annual", limit=5)
statements(endpoint="cashflow-statement", symbol=<TICKER>, period="annual", limit=5)
statements(endpoint="metrics-ratios", symbol=<TICKER>, period="annual", limit=5)
Add per analysis type:
| Need |
Call |
| Analyst view |
analyst(endpoint="ratings-snapshot" | "price-target-consensus" | "grades-summary", symbol=…) |
| Forward estimates |
analyst(endpoint="financial-estimates", symbol=…, period="annual") |
| Peer set for comparison |
company(endpoint="peers", symbol=…) |
| Quality/distress screens |
statements(endpoint="financial-scores", symbol=…) → Piotroski, Altman Z |
| Growth rates |
statements(endpoint="income-statement-growth", symbol=…, period="annual", limit=5) |
| Recent developments |
news(endpoint="search-stock-news", symbols=[…], limit=20), news(endpoint="search-press-releases", symbols=[…]) |
| Earnings history & surprises |
calendar(endpoint="earnings-company", symbol=…, limit=8) |
| Dividends |
calendar(endpoint="dividends-company", symbol=…) |
| Price history |
chart(endpoint="historical-price-eod-light", symbol=…, from_date=…, to_date=…) |
| Moving averages, RSI, ADX |
technicalIndicators(endpoint=…, symbol=…, periodLength=…, timeframe="1day") |
| Sector valuation context |
marketPerformance(endpoint="sector-PE-snapshot", date=…) |
| Filings for detail |
secFilings(...), earningsTranscript(...) |
IBKR connector (optional, when connected): use search_contracts → get_company_themes
to place the company in its thematic peer group, and get_price_snapshot for a live
bid/ask when timing an entry. If the user holds the stock,
get_account_positions() gives their cost basis and unrealised P&L — fold that into the
recommendation rather than analysing in a vacuum.
Data hygiene:
- Ratios from FMP are fractions (
0.147 = 14.7%). Convert before display.
metrics-ratios is as of the fiscal period end; quote is live. Never put both in one
column without labelling which is which.
- Always state the fiscal years covered and the quote timestamp in the report.
technicalIndicators needs a paid FMP plan. If it errors, derive moving averages and
volatility from chart closes and say the indicator was computed locally.
- MACD and Bollinger Bands are not FMP endpoints — derive them from
chart data or omit
them and say so. Do not report an indicator you did not actually compute.
- If a call returns empty, retry once with adjusted parameters, then mark the field
N/A
and note the gap. Never interpolate.
Analysis Types
This skill supports four types of analysis. Determine which type(s) the user needs:
- Basic Stock Info - Quick overview with key metrics
- Fundamental Analysis - Deep dive into business, financials, valuation
- Technical Analysis - Chart patterns, indicators, trend analysis
- Comprehensive Report - Complete analysis combining all approaches
Analysis Workflows
1. Basic Stock Information
When to Use: User asks for quick overview or basic info
Steps:
- Search for current stock data (price, volume, market cap)
- Gather key metrics (P/E, EPS, revenue growth, margins)
- Get 52-week range and year-to-date performance
- Find recent news or major developments
- Present in concise summary format
Output Format:
- Company description (1-2 sentences)
- Current price and trading metrics
- Key valuation metrics (table)
- Recent performance
- Notable recent news (if any)
2. Fundamental Analysis
When to Use: User wants financial analysis, valuation assessment, or business evaluation
Steps:
Gather comprehensive financial data:
- Revenue, earnings, cash flow (3-5 year trends)
- Balance sheet metrics (debt, cash, working capital)
- Profitability metrics (margins, ROE, ROIC)
Read references/fundamental-analysis.md for analytical framework
Read references/financial-metrics.md for metric definitions and calculations
Analyze business quality:
- Competitive advantages
- Management track record
- Industry position
Perform valuation analysis:
- Calculate key ratios (P/E, PEG, P/B, EV/EBITDA)
- Compare to historical averages
- Compare to peer group
- Estimate fair value range
Identify risks:
- Company-specific risks
- Market/macro risks
- Red flags from financial data
Generate output following references/report-template.md structure
Critical Analyses:
- Profitability trends (improving/declining margins)
- Cash flow quality (FCF vs earnings)
- Balance sheet strength (debt levels, liquidity)
- Growth sustainability
- Valuation vs peers and historical average
3. Technical Analysis
When to Use: User asks for technical analysis, chart patterns, or trading signals
Steps:
Gather technical data:
chart(endpoint="historical-price-eod-light", symbol=…, from_date=…) — at least 250
sessions so a 200-day average is computable
quote(endpoint="quote", symbol=…) — current price, volume vs average volume, 52-week range
technicalIndicators(endpoint="simple-moving-average", periodLength=20|50|200, timeframe="1day")
technicalIndicators(endpoint="relative-strength-index", periodLength=14, timeframe="1day")
technicalIndicators(endpoint="average-directional-index", periodLength=14, timeframe="1day") — trend strength
- MACD and Bollinger Bands: derive from the
chart closes, or omit and say so
Read references/technical-analysis.md for indicator definitions and patterns
Identify trend:
- Uptrend, downtrend, or sideways
- Strength of trend
Locate support and resistance levels:
- Recent highs and lows
- Moving average levels
- Round numbers
Analyze indicators:
- RSI: Overbought (>70) or oversold (<30)
- ADX: Trend strength (>25 trending, <20 rangebound)
- MACD: Crossovers and divergences (if derived)
- Volume: Confirmation or divergence
- Bollinger Bands: Squeeze or expansion (if derived)
Identify chart patterns:
- Reversal patterns (head and shoulders, double top/bottom)
- Continuation patterns (flags, triangles)
Generate technical outlook:
- Current trend assessment
- Key levels to watch
- Risk/reward analysis
- Short and medium-term outlook
Interpretation Guidelines:
- Confirm signals with multiple indicators
- Consider volume for validation
- Note divergences between price and indicators
- Always identify risk levels (stop-loss)
4. Comprehensive Investment Report
When to Use: User asks for detailed report, investment recommendation, or complete analysis
Steps:
Perform data gathering (as in Basic Info)
Execute fundamental analysis (follow workflow above)
Execute technical analysis (follow workflow above)
Read references/report-template.md for complete report structure
Synthesize findings:
- Integrate fundamental and technical insights
- Develop bull and bear cases
- Assess risk/reward
Generate recommendation:
- Buy/Hold/Sell rating
- Target price with timeframe
- Conviction level
- Entry strategy
Create formatted report following template structure
Report Must Include:
- Executive summary with recommendation
- Company overview
- Investment thesis (bull and bear cases)
- Fundamental analysis section
- Technical analysis section
- Valuation analysis
- Risk assessment
- Catalysts and timeline
- Conclusion
Stock Comparison Analysis
When to Use: User asks to compare two or more stocks (e.g., "compare AAPL vs MSFT")
Steps:
Gather data for all stocks:
- Run the standard opening calls for each ticker
- Use
quote(endpoint="batch-quote", symbols=[…]) for a single-call price comparison
- If the user names only one stock, get its peer set with
company(endpoint="peers", symbol=…)
- Ensure comparable fiscal periods — companies with different fiscal year ends are not
directly comparable; say so if they differ
Read references/fundamental-analysis.md and references/financial-metrics.md
Create side-by-side comparison:
- Business models comparison
- Financial metrics table (all key ratios)
- Valuation metrics table
- Growth rates comparison
- Profitability comparison
- Balance sheet strength
Identify relative strengths:
- Where each company excels
- Quantified advantages
Technical comparison:
- Relative strength
- Momentum comparison
- Which is in better technical position
Generate recommendation:
- Which stock is more attractive and why
- Consider both fundamental and technical factors
- Portfolio allocation suggestion
- Risk-adjusted return assessment
Output Format: Follow "Comparison Report Structure" in references/report-template.md
Output
Write the result to ./Shortlist/<TICKER>.md in the current working directory. Use the template below. Fill every field — use N/A or UNKNOWN when data is genuinely missing.
General Principles:
- Use tables for financial data and comparisons (easy to scan)
- Bold key metrics and findings
- Include data sources and dates
- Quantify whenever possible
- Present both bull and bear perspectives
- Be clear about assumptions and uncertainties
Formatting:
- Headers for clear section separation
- Tables for metrics, comparisons, historical data
- Bullet points for lists, factors, risks
- Bold text for key findings, important metrics
- Percentages for growth rates, returns, margins
- Currency formatted consistently ($B for billions, $M for millions)
Tone:
- Objective and balanced
- Acknowledge uncertainty
- Support claims with data
- Avoid hyperbole
- Present risks clearly
Reference Files
Load these references as needed during analysis:
market-data skill (separate skill, not a file here)
- When: Constructing any FMP or IBKR connector call, or unsure which endpoint yields a metric
- Contains: Endpoint catalogue, parameter shapes, metric-to-field mapping, connector fallbacks
references/technical-analysis.md
- When: Performing technical analysis or interpreting indicators
- Contains: Indicator definitions, chart patterns, support/resistance concepts, analysis workflow
references/fundamental-analysis.md
- When: Performing fundamental analysis or business evaluation
- Contains: Business quality assessment, financial health analysis, valuation frameworks, risk assessment, red flags
references/financial-metrics.md
- When: Need definitions or calculation methods for financial ratios
- Contains: All key metrics with formulas (profitability, valuation, growth, liquidity, leverage, efficiency, cash flow)
references/report-template.md
- When: Creating comprehensive report or comparison
- Contains: Complete report structure, formatting guidelines, section templates, comparison format
Example Queries
Basic Info:
- "What's the current price of AAPL?"
- "Give me key metrics for Tesla"
- "Quick overview of Microsoft stock"
Fundamental:
- "Analyze NVDA's financials"
- "Is Amazon overvalued?"
- "Evaluate Apple's business quality"
- "What's Google's debt situation?"
Technical:
- "Technical analysis of TSLA"
- "Is Netflix oversold?"
- "Show me support levels for AAPL"
- "What's the trend for AMD?"
Comprehensive:
- "Complete analysis of Microsoft"
- "Give me a full report on AAPL"
- "Should I invest in Tesla? Give me detailed analysis"
Comparison:
- "Compare AAPL vs MSFT"
- "Tesla vs Nvidia - which is better?"
- "Analyze Meta vs Google"
1---2name: full-stock-analysis3description: Comprehensive US stock analysis including fundamental analysis (financial metrics, business quality, valuation), technical analysis (indicators, chart patterns, support/resistance), stock comparisons, and investment report generation. Use when user requests analysis of US stock tickers (e.g., "analyze AAPL", "compare TSLA vs NVDA", "give me a report on Microsoft"), evaluation of financial metrics, technical chart analysis, or investment recommendations for American stocks.4---56# US Stock Analysis78## Overview910Perform comprehensive analysis of US stocks covering fundamental analysis (financials, business quality, valuation), technical analysis (indicators, trends, patterns), peer comparisons, and generate detailed investment reports. Fetch market data and fundamentals from the FMP MCP connector and apply structured analytical frameworks.1112## Data Sources1314**All numbers come from the FMP MCP connector.** Invoke the `market-data` skill for exact15endpoint names, parameters, and the metric-to-field mapping. WebSearch is a supplement for16narrative context only — management commentary, competitive dynamics, breaking events — and17is never a substitute for a figure FMP can provide. Where a web source is used, cite it.1819**Standard opening calls** (make these for every analysis, before any interpretation):2021```22company(endpoint="profile-symbol", symbol=<TICKER>) # sector, industry, description, beta23quote(endpoint="quote", symbol=<TICKER>) # price, 52w range, volume, mkt cap, P/E24statements(endpoint="income-statement", symbol=<TICKER>, period="annual", limit=5)25statements(endpoint="balance-sheet-statement", symbol=<TICKER>, period="annual", limit=5)26statements(endpoint="cashflow-statement", symbol=<TICKER>, period="annual", limit=5)27statements(endpoint="metrics-ratios", symbol=<TICKER>, period="annual", limit=5)28```2930**Add per analysis type:**3132| Need | Call |33| --- | --- |34| Analyst view | `analyst(endpoint="ratings-snapshot" \| "price-target-consensus" \| "grades-summary", symbol=…)` |35| Forward estimates | `analyst(endpoint="financial-estimates", symbol=…, period="annual")` |36| Peer set for comparison | `company(endpoint="peers", symbol=…)` |37| Quality/distress screens | `statements(endpoint="financial-scores", symbol=…)` → Piotroski, Altman Z |38| Growth rates | `statements(endpoint="income-statement-growth", symbol=…, period="annual", limit=5)` |39| Recent developments | `news(endpoint="search-stock-news", symbols=[…], limit=20)`, `news(endpoint="search-press-releases", symbols=[…])` |40| Earnings history & surprises | `calendar(endpoint="earnings-company", symbol=…, limit=8)` |41| Dividends | `calendar(endpoint="dividends-company", symbol=…)` |42| Price history | `chart(endpoint="historical-price-eod-light", symbol=…, from_date=…, to_date=…)` |43| Moving averages, RSI, ADX | `technicalIndicators(endpoint=…, symbol=…, periodLength=…, timeframe="1day")` |44| Sector valuation context | `marketPerformance(endpoint="sector-PE-snapshot", date=…)` |45| Filings for detail | `secFilings(...)`, `earningsTranscript(...)` |4647**IBKR connector (optional, when connected):** use `search_contracts` → `get_company_themes`48to place the company in its thematic peer group, and `get_price_snapshot` for a live49bid/ask when timing an entry. If the user holds the stock,50`get_account_positions()` gives their cost basis and unrealised P&L — fold that into the51recommendation rather than analysing in a vacuum.5253**Data hygiene:**5455- Ratios from FMP are **fractions** (`0.147` = 14.7%). Convert before display.56- `metrics-ratios` is as of the fiscal period end; `quote` is live. Never put both in one57 column without labelling which is which.58- Always state the fiscal years covered and the quote timestamp in the report.59- `technicalIndicators` needs a paid FMP plan. If it errors, derive moving averages and60 volatility from `chart` closes and say the indicator was computed locally.61- MACD and Bollinger Bands are not FMP endpoints — derive them from `chart` data or omit62 them and say so. Do not report an indicator you did not actually compute.63- If a call returns empty, retry once with adjusted parameters, then mark the field `N/A`64 and note the gap. Never interpolate.6566## Analysis Types6768This skill supports four types of analysis. Determine which type(s) the user needs:69701. **Basic Stock Info** - Quick overview with key metrics712. **Fundamental Analysis** - Deep dive into business, financials, valuation723. **Technical Analysis** - Chart patterns, indicators, trend analysis734. **Comprehensive Report** - Complete analysis combining all approaches7475## Analysis Workflows7677### 1. Basic Stock Information7879**When to Use:** User asks for quick overview or basic info8081**Steps:**82831. Search for current stock data (price, volume, market cap)842. Gather key metrics (P/E, EPS, revenue growth, margins)853. Get 52-week range and year-to-date performance864. Find recent news or major developments875. Present in concise summary format8889**Output Format:**9091- Company description (1-2 sentences)92- Current price and trading metrics93- Key valuation metrics (table)94- Recent performance95- Notable recent news (if any)9697### 2. Fundamental Analysis9899**When to Use:** User wants financial analysis, valuation assessment, or business evaluation100101**Steps:**1021031. **Gather comprehensive financial data:**104 - Revenue, earnings, cash flow (3-5 year trends)105 - Balance sheet metrics (debt, cash, working capital)106 - Profitability metrics (margins, ROE, ROIC)1071082. **Read references/fundamental-analysis.md** for analytical framework1091103. **Read references/financial-metrics.md** for metric definitions and calculations1111124. **Analyze business quality:**113 - Competitive advantages114 - Management track record115 - Industry position1161175. **Perform valuation analysis:**118 - Calculate key ratios (P/E, PEG, P/B, EV/EBITDA)119 - Compare to historical averages120 - Compare to peer group121 - Estimate fair value range1221236. **Identify risks:**124 - Company-specific risks125 - Market/macro risks126 - Red flags from financial data1271287. **Generate output** following references/report-template.md structure129130**Critical Analyses:**131132- Profitability trends (improving/declining margins)133- Cash flow quality (FCF vs earnings)134- Balance sheet strength (debt levels, liquidity)135- Growth sustainability136- Valuation vs peers and historical average137138### 3. Technical Analysis139140**When to Use:** User asks for technical analysis, chart patterns, or trading signals141142**Steps:**1431441. **Gather technical data:**145 - `chart(endpoint="historical-price-eod-light", symbol=…, from_date=…)` — at least 250146 sessions so a 200-day average is computable147 - `quote(endpoint="quote", symbol=…)` — current price, volume vs average volume, 52-week range148 - `technicalIndicators(endpoint="simple-moving-average", periodLength=20|50|200, timeframe="1day")`149 - `technicalIndicators(endpoint="relative-strength-index", periodLength=14, timeframe="1day")`150 - `technicalIndicators(endpoint="average-directional-index", periodLength=14, timeframe="1day")` — trend strength151 - MACD and Bollinger Bands: derive from the `chart` closes, or omit and say so1521532. **Read references/technical-analysis.md** for indicator definitions and patterns1541553. **Identify trend:**156 - Uptrend, downtrend, or sideways157 - Strength of trend1581594. **Locate support and resistance levels:**160 - Recent highs and lows161 - Moving average levels162 - Round numbers1631645. **Analyze indicators:**165 - RSI: Overbought (>70) or oversold (<30)166 - ADX: Trend strength (>25 trending, <20 rangebound)167 - MACD: Crossovers and divergences (if derived)168 - Volume: Confirmation or divergence169 - Bollinger Bands: Squeeze or expansion (if derived)1701716. **Identify chart patterns:**172 - Reversal patterns (head and shoulders, double top/bottom)173 - Continuation patterns (flags, triangles)1741757. **Generate technical outlook:**176 - Current trend assessment177 - Key levels to watch178 - Risk/reward analysis179 - Short and medium-term outlook180181**Interpretation Guidelines:**182183- Confirm signals with multiple indicators184- Consider volume for validation185- Note divergences between price and indicators186- Always identify risk levels (stop-loss)187188### 4. Comprehensive Investment Report189190**When to Use:** User asks for detailed report, investment recommendation, or complete analysis191192**Steps:**1931941. **Perform data gathering** (as in Basic Info)1951962. **Execute fundamental analysis** (follow workflow above)1971983. **Execute technical analysis** (follow workflow above)1992004. **Read references/report-template.md** for complete report structure2012025. **Synthesize findings:**203 - Integrate fundamental and technical insights204 - Develop bull and bear cases205 - Assess risk/reward2062076. **Generate recommendation:**208 - Buy/Hold/Sell rating209 - Target price with timeframe210 - Conviction level211 - Entry strategy2122137. **Create formatted report** following template structure214215**Report Must Include:**216217- Executive summary with recommendation218- Company overview219- Investment thesis (bull and bear cases)220- Fundamental analysis section221- Technical analysis section222- Valuation analysis223- Risk assessment224- Catalysts and timeline225- Conclusion226227## Stock Comparison Analysis228229**When to Use:** User asks to compare two or more stocks (e.g., "compare AAPL vs MSFT")230231**Steps:**2322331. **Gather data for all stocks:**234 - Run the standard opening calls for each ticker235 - Use `quote(endpoint="batch-quote", symbols=[…])` for a single-call price comparison236 - If the user names only one stock, get its peer set with `company(endpoint="peers", symbol=…)`237 - Ensure comparable fiscal periods — companies with different fiscal year ends are not238 directly comparable; say so if they differ2392402. **Read references/fundamental-analysis.md** and references/financial-metrics.md2412423. **Create side-by-side comparison:**243 - Business models comparison244 - Financial metrics table (all key ratios)245 - Valuation metrics table246 - Growth rates comparison247 - Profitability comparison248 - Balance sheet strength2492504. **Identify relative strengths:**251 - Where each company excels252 - Quantified advantages2532545. **Technical comparison:**255 - Relative strength256 - Momentum comparison257 - Which is in better technical position2582596. **Generate recommendation:**260 - Which stock is more attractive and why261 - Consider both fundamental and technical factors262 - Portfolio allocation suggestion263 - Risk-adjusted return assessment264265**Output Format:** Follow "Comparison Report Structure" in references/report-template.md266267## Output268269Write the result to `./Shortlist/<TICKER>.md` in the current working directory. Use the template below. Fill every field — use `N/A` or `UNKNOWN` when data is genuinely missing.270271**General Principles:**272273- Use tables for financial data and comparisons (easy to scan)274- Bold key metrics and findings275- Include data sources and dates276- Quantify whenever possible277- Present both bull and bear perspectives278- Be clear about assumptions and uncertainties279280**Formatting:**281282- **Headers** for clear section separation283- **Tables** for metrics, comparisons, historical data284- **Bullet points** for lists, factors, risks285- **Bold text** for key findings, important metrics286- **Percentages** for growth rates, returns, margins287- **Currency** formatted consistently ($B for billions, $M for millions)288289**Tone:**290291- Objective and balanced292- Acknowledge uncertainty293- Support claims with data294- Avoid hyperbole295- Present risks clearly296297## Reference Files298299Load these references as needed during analysis:300301**`market-data` skill** (separate skill, not a file here)302303- When: Constructing any FMP or IBKR connector call, or unsure which endpoint yields a metric304- Contains: Endpoint catalogue, parameter shapes, metric-to-field mapping, connector fallbacks305306**references/technical-analysis.md**307308- When: Performing technical analysis or interpreting indicators309- Contains: Indicator definitions, chart patterns, support/resistance concepts, analysis workflow310311**references/fundamental-analysis.md**312313- When: Performing fundamental analysis or business evaluation314- Contains: Business quality assessment, financial health analysis, valuation frameworks, risk assessment, red flags315316**references/financial-metrics.md**317318- When: Need definitions or calculation methods for financial ratios319- Contains: All key metrics with formulas (profitability, valuation, growth, liquidity, leverage, efficiency, cash flow)320321**references/report-template.md**322323- When: Creating comprehensive report or comparison324- Contains: Complete report structure, formatting guidelines, section templates, comparison format325326## Example Queries327328**Basic Info:**329330- "What's the current price of AAPL?"331- "Give me key metrics for Tesla"332- "Quick overview of Microsoft stock"333334**Fundamental:**335336- "Analyze NVDA's financials"337- "Is Amazon overvalued?"338- "Evaluate Apple's business quality"339- "What's Google's debt situation?"340341**Technical:**342343- "Technical analysis of TSLA"344- "Is Netflix oversold?"345- "Show me support levels for AAPL"346- "What's the trend for AMD?"347348**Comprehensive:**349350- "Complete analysis of Microsoft"351- "Give me a full report on AAPL"352- "Should I invest in Tesla? Give me detailed analysis"353354**Comparison:**355356- "Compare AAPL vs MSFT"357- "Tesla vs Nvidia - which is better?"358- "Analyze Meta vs Google"