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 skills add jamespud/yahoo-stock-mcp --skill sector-rotationgit clone --depth 1 https://github.com/jamespud/yahoo-stock-mcpWrote 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/jamespud/yahoo-stock-mcp/sector-rotation)<a href="https://agentmods.dev/skills/jamespud/yahoo-stock-mcp/sector-rotation"><img src="https://agentmods.dev/badge/skills/jamespud/yahoo-stock-mcp/sector-rotation/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/jamespud/yahoo-stock-mcp/sector-rotation"><img src="https://agentmods.dev/badge/skills/jamespud/yahoo-stock-mcp/sector-rotation.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00080 | $0.01068 |
| Opus 5.5 | $0.00032 | $0.00427 |
| Sonnet 5.5 | $0.00016 | $0.00214 |
| Haiku 4.5 | $0.00008 | $0.00107 |
Grade A, and why
sector-rotation 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 — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Sector rotation
Read relative sector performance out of the stored sector ETFs (XLC..XLU plus the SPY benchmark) and name the constituents that carry each sector. The value here is the benchmark-relative view and the constituent weights, which a per-stock read cannot give you.
Read references/data-policy.md first, then the rotation playbook for relative-performance maths and the reporting shape.
MCP tools used
list_sectors- the sector catalog: 11 GICS sectors plus SPY, each with its ETF symbol and last bar dateget_sector_performance- the rotation view: latest price and 1d/5d/20d return per sector ETF, ranked, with the benchmarkget_sector_members- a sector ETF's largest constituent holdings and their weightsget_bars- ETF or benchmark bars, for windows the rotation view does not coversync_sectors- when the catalog, the ETF bars, or the constituents are missing or stale (its per-sector components arebars/yahooSummary/members)
Workflow
- Check the catalog and its freshness. Call
list_sectorsand readlast_bar_datefor each row. If the dates are missing or old, go tostock-data-setup; a rotation table built on stale ETF bars is misleading regardless of how it is presented. - Pull the rotation view. Call
get_sector_performance. RecordasOf, thebenchmarkrow, and the rankedsectorsarray. - Compute the benchmark-relative numbers explicitly. The tool reports each sector's absolute
return only; the relative figure (
sector change - benchmark change, or the ratio) is yours to compute and label. Do not describe an absolute rise as "outperforming" without it. - Check every row's own
tradeDate.asOfis the newest bar date across the whole set. A sector whose owntradeDateis older is missing the latest session, so itschange1dis not comparable with the rest. Say so instead of ranking it silently. - Drill into the sectors that matter. Call
get_sector_membersfor the leaders, the laggards, or the sector the user named, with a boundedlimit. - Extend the window only when asked.
get_sector_performancecovers 1/5/20 trading days. For anything else, pull the ETF and SPY withget_barsyourself and state the window you used.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 Changed 5c3b1662efc1
- 13d ago Changed 9be35bd9437e
- 17d ago First seen · 67 lines · 80 tokens per session scan A f9618698891d
sector-rotation is a skill published in the GitHub repository jamespud/yahoo-stock-mcp (0 stars, last pushed 5d ago), licensed MIT. It adds 80 tokens to every session and 1,068 once invoked, about $0.0003 per session on Opus 5.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-09-28.
Other skills, from other repositories
sector-rotation
An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.
twitter-reader
Read Twitter/X for financial research through opencli: the user's home timeline, tweet search, trending topics, bookmarks, a user's recent tweets, threads, articles, profiles, followers and following, and notifications. Use this skill whenever the user wants to know what people are saying on Twitter/X or fintwit about…
strategy-pivot-designer
Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.
energy-procurement
Codified expertise for electricity and gas procurement, tariff optimization, demand charge management, renewable PPA evaluation, and multi-facility energy cost management. Informed by energy procurement managers with 15+ years experience at large commercial and industrial consumers. Includes market structure analysis…
china-portfolio-monitoring
A monitoring framework for tracking the financial results, operating measures, strategic milestones, and risks of companies held by China-focused private-equity funds. It uses measures such as revenue growth, margins, debt, cash flow, and return on equity.
airdrop-hunting-guide
Guide to finding and qualifying for crypto airdrops — eligibility criteria, farming strategies, on-chain activity requirements, Sybil detection avoidance, and tracking tools. Use when helping users understand airdrops, check eligibility, or plan participation strategies.