Skip to content
Finance
Skill

/sector-analysis

Analyze US market sectors and identify rotation opportunities

From plugin
investskill
29039 skills

Claude Code

$ npx -y skills add yennanliu/investskill --skill sector-analysis --agent claude-code

SKILL.md

sector-analysis.SKILL.md
description: Analyze US market sectors and identify rotation opportunities

Sector Analysis

โš ๏ธ Data Verification โ€” Do This Before Any Analysis

Before running any analysis, always retrieve the latest market data for the sectors you compare:

1. **Fetch current levels** โ€” use web search or ask the user for the current price and 3-, 6- and 12-month performance of each sector ETF (XLK, XLF, โ€ฆ) and the S&P 500. Never assume a level from training data. 2. **Confirm key figures** โ€” each sector's forward P/E and earnings-revision trend, as applicable to this skill. 3. **State your data source** โ€” fill in the `Data & Sources` header (next section) so the origin, as-of date, retrieval path, and confidence of every figure are explicit at the top of the output. 4. **Flag stale data explicitly** โ€” if live data is unavailable, display this warning before proceeding:

> โš ๏ธ **Live data unavailable.** The following analysis uses training-data estimates which may be significantly out of date. Verify all prices and metrics before making any decisions.

Never silently substitute training-data estimates for current prices. When in doubt, ask the user to paste the latest quote.

---

๐Ÿ“‹ Data & Sources Header โ€” Open Every Output With It

The first thing in the output is this provenance block, filled in โ€” never left as placeholders. It is the standard documented on the [Data & Accuracy](https://yennanliu.github.io/InvestSkill/data-and-accuracy.html) page and the first thing `result-validator` looks for:

Data & Sources
  As of:      <date the figures represent, e.g. 2026-06-30>
  Source:     <primary docs โ€” SEC EDGAR 10-K/10-Q, company IR, FRED, exchange data โ€ฆ>
  Retrieval:  <pasted by user | web/tool retrieval | model memory>
  Confidence: <HIGH | MEDIUM | LOW>
  • `Retrieval: model memory` must be paired with `Confidence: LOW` โ€” memory is a placeholder until confirmed against a primary source.
  • Mixed sources: list each with its own as-of date rather than blending them.
  • Sources disagree on the same figure (a closing price, a deal term): prefer the primary source (SEC filing, company release, exchange data) over an aggregator, then the most recent dated one. Show both values with their sources and dates, say which you used and why, and never average them.
  • Data the user pasted is reported as `pasted by user`; do not upgrade its confidence beyond what the user's own source supports.

---

๐ŸŒ Output Language โ€” `--lang zh-TW`

English is the default. With `--lang zh-TW` โ€” or when the user writes in Traditional Chinese and asks for a Chinese answer โ€” write the whole analysis in Traditional Chinese (็น้ซ”ไธญๆ–‡, Taiwan usage), keeping it machine-checkable:

  • **Translate** every heading, narrative paragraph, table header and bullet. Give each metric's English name in brackets the first time it appears โ€” ่‡ช็”ฑ็พ้‡‘ๆต๏ผˆFree Cash Flow, FCF๏ผ‰ โ€” so the reader can match it to the glossary and to English analyses.
  • **Keep in English** tickers, figures and units, SEC form and item names (10-K Item 7, Form 4), the four `Data & Sources` field labels (`As of`, `Source`, `Retrieval`, `Confidence` โ€” the Retrieval value may be written in Chinese, e.g. ไฝฟ็”จ่€…ๆไพ›), and the Investment Signal box and JSON footer exactly as specified โ€” field names and the BULLISH / NEUTRAL / BEARISH, HIGH / MEDIUM / LOW, BUY / HOLD / SELL, STRONG / MODERATE / WEAK values. Tools parse them.
  • Title the invalidation section **่ซ–้ปžๅคฑๆ•ˆๆขไปถ๏ผˆThesis Invalidation๏ผ‰**, and close with the disclaimer in Chinese: **ๅ…่ฒฌ่ฒๆ˜Ž๏ผš** ๅƒ…ไพ›ๆ•™่‚ฒ็”จ้€”๏ผŒ้žๆŠ•่ณ‡ๅปบ่ญฐใ€‚
  • Use Taiwan financial terms: ๆฎ–ๅˆฉ็އใ€ๆœฌ็›Šๆฏ”ใ€็‡Ÿๆฅญๅˆฉ็›Š็އใ€่‡ช็”ฑ็พ้‡‘ๆตใ€่ฏๆบ–ๆœƒใ€้ธๆ“‡ๆฌŠใ€่ฒทๆฌŠ๏ผ่ณฃๆฌŠใ€้™คๆฏๆ—ฅใ€้ ๆ‰ฃ็จ….

---

Analyze US market sectors and identify sector rotation opportunities based on economic cycles.

Sector Overview

Analyze the 11 S&P 500 sectors: 1. Information Technology 2. Healthcare 3. Financials 4. Consumer Discretionary 5. Communication Services 6. Industrials 7. Consumer Staples 8. Energy 9. Utilities 10. Real Estate 11. Materials

Analysis Framework

1. **Sector Performance**

  • Relative performance vs. S&P 500
  • Historical performance trends
  • Momentum and trend strength
  • Volatility analysis

2. **Economic Cycle Positioning**

  • Early cycle: Financials, Technology, Industrials
  • Mid cycle: Industrials, Materials, Energy
  • Late cycle: Energy, Consumer Staples, Healthcare
  • Recession: Utilities, Consumer Staples, Healthcare

3. **Fundamental Metrics**

  • Sector valuation (P/E, P/B vs. historical)
  • Earnings growth forecasts
  • Profit margin trends
  • Revenue growth outlook

4. **Macro Drivers**

  • Interest rate sensitivity
  • Commodity price exposure
  • Economic growth correlation
  • Currency impact
  • Regulatory environment

5. **Technical Picture**

  • Sector ETF chart patterns
  • Relative strength analysis
  • Support/resistance levels
  • Volume trends

Sector Rotation Strategy

  • Identify current economic cycle phase
  • Determine leading and lagging sectors
  • Assess rotation timing signals
  • Evaluate defensive vs. cyclical positioning
  • Consider factor tilts (value, growth, quality)

Top Holdings Analysis

  • Identify sector leaders and laggards
  • Analyze top 5-10 stocks per sector
  • Evaluate sector concentration risks
  • Find emerging opportunities

---

Sector Valuation Comparison Table

Use these ranges as historical context benchmarks. Always verify current figures against live data sources. Ranges reflect long-run averages across full market cycles; individual readings may deviate significantly in extremes.

| Sector | Typical P/E Range | Typical P/S Range | EV/EBITDA Range | Dividend Yield Range | Historical EPS Growth (10Y CAGR) | |---|---|---|---|---|---| | Information Technology | 22โ€“40x | 4โ€“10x | 15โ€“30x | 0.5โ€“1.5% | 12โ€“18% | | Healthcare | 16โ€“28x | 1.5โ€“4x | 12โ€“20x | 1.5โ€“2.5% | 8โ€“12% | | Financials | 10โ€“16x | 2โ€“4x (Price/Book 1โ€“2x) | 8โ€“14x | 2.0โ€“3.5% | 7โ€“11% | | Consumer Discretionary | 18โ€“35x | 0.8โ€“2.5x | 10โ€“20x | 0.5โ€“1.5% | 10โ€“15% | | Communication Services | 15โ€“28x

Read more
@yennanliu
Ships withinvestskill

Professional investment analysis frameworks for US stocks โ€” works on every AI platform

Stars on GitHub

Momentum

stars in total
290
Star history of yennanliu/investskill on GitHub, a chart by star-history.com

Other skills on investskill.

10k-digest

10k-digest

Deep-read a 10-K annual report and output a structured markdown digest โ€” abstract, section summaries, key metrics, and sourcedโ€ฆ

basket-report

basket-report

Run a 2โ€“5 stock basket as one linked deliverable โ€” a hub page that states the question and argues the pick, one report perโ€ฆ

bear-case

bear-case

Build the strongest possible bear case against a stock โ€” a deliberate short-seller red-team that argues why NOT to hold,โ€ฆ

chart-master

chart-master

Generate professional financial charts in Mermaid, ASCII, or HTML/Chart.js โ€” MA lines, histograms, candlestick, volume, RSI/MACD,โ€ฆ

compare

compare

Compare 2โ€“5 stocks head to head on one table โ€” business quality, growth, valuation, balance sheet, momentum, risks and catalystsโ€ฆ

More skills from other plugins.

analyze-issue

analyze-issue

ๅˆ†ๆž GitHub Issue๏ผŒๅˆคๆ–ญๅ…ถ็œŸๅฎžๆ€งใ€ไผ˜ๅ…ˆ็บงใ€ไป“ๅบ“่ดฃไปป่พน็•ŒไธŽๅปบ่ฎฎๅŠจไฝœใ€‚

ccxt-cli

ccxt-cli

CCXT command-line interface (ccxt-cli) for interacting with 100+ cryptocurrency exchanges directly from the terminal โ€” no codeโ€ฆ

ccxt11d45k
@ccxt@ccxtInstall Skill

Questions about sector-analysis.

Which coding agents can use sector-analysis?
sector-analysis installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.