Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/yennanliu/investskill/sector-analysisnpx skills add yennanliu/InvestSkill --skill sector-analysisgit clone --depth 1 https://github.com/yennanliu/InvestSkillWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/yennanliu/investskill/sector-analysis)<a href="https://agentmods.dev/skills/yennanliu/investskill/sector-analysis"><img src="https://agentmods.dev/badge/skills/yennanliu/investskill/sector-analysis.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00008 | $0.06093 |
| Opus 5 | $0.00004 | $0.03047 |
| Sonnet 5 | $0.00002 | $0.01219 |
| Haiku 4.5 | $0.00001 | $0.00609 |
Grade A, and why
sector-analysis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 408 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Sector Analysis
⚠️ Data Verification — Do This Before Any Analysis
Before running any analysis, always retrieve the latest market data for the ticker:
- Fetch current price — use web search or ask the user for the live price, 52-week range, and market cap. Never assume a price from training data.
- Confirm key figures — recent earnings, revenue, key ratios (P/E, P/S, etc.) as applicable to this skill.
- State your data source — note where the numbers came from (e.g., "Google Finance, June 19 2026") at the top of the output.
- 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.
Analyze US market sectors and identify sector rotation opportunities based on economic cycles.
Sector Overview
Analyze the 11 S&P 500 sectors:
- Information Technology
- Healthcare
- Financials
- Consumer Discretionary
- Communication Services
- Industrials
- Consumer Staples
- Energy
- Utilities
- Real Estate
- Materials
Analysis Framework
-
Sector Performance
- Relative performance vs. S&P 500
- Historical performance trends
- Momentum and trend strength
- Volatility analysis
-
Economic Cycle Positioning
- Early cycle: Financials, Technology, Industrials
- Mid cycle: Industrials, Materials, Energy
- Late cycle: Energy, Consumer Staples, Healthcare
- Recession: Utilities, Consumer Staples, Healthcare
-
Fundamental Metrics
- Sector valuation (P/E, P/B vs. historical)
- Earnings growth forecasts
- Profit margin trends
- Revenue growth outlook
-
Macro Drivers
- Interest rate sensitivity
- Commodity price exposure
- Economic growth correlation
- Currency impact
- Regulatory environment
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 408 lines · 8 tokens per session scan A 859725f65590
sector-analysis is a skill published in the GitHub repository yennanliu/InvestSkill (199 stars, last pushed today), licensed MIT. It adds 8 tokens to every session and 6,093 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
dcf-model
DCF valuation: free cash flow projections, WACC, terminal value, sensitivity analysis.
initiating-coverage
Full equity research initiation: company research, financial model, valuation, charts, 30-50 page report.
comps-analysis
Comparable company analysis: operating metrics, valuation multiples, peer benchmarking.
onboarding
First-time user onboarding to set up investment profile, watchlists, portfolio, and preferences.
ui-design
Design-quality reference for financial-research visual output: typography, color, composition, and avoiding generic AI aesthetics.
user-profile
Manage user profile including watchlists, portfolio, and preferences.