sector-rotation-detector

sector-rotation-detector is a skill for Claude Code, Codex from Geeksfino/finskills. It costs 97 tokens per session (1,406 once invoked), scanned A, original, Apache-2.0.

A Chinese-language investment analysis tool for finding industry-rotation signals in China’s A-share stock market. Industry rotation means different groups of stocks may perform better at different points in the economic cycle.

In plain words
What is it for?
Use it to assess sectors using interest rates, inflation, growth, employment, consumption, and policy data, then identify possible outperforming or underperforming industries and the risks that could invalidate the view.
Why use it?
It connects Chinese economic data and policy with possible industry performance over the next 6–12 months. This helps explain why an industry might be over- or underweighted instead of relying only on market guesses.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to assess sectors using interest rates, inflation, growth, employment, consumption, and policy data, then identify possible outperforming or underperforming industries and the risks that could invalidate the view.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/geeksfino/finskills/sector-rotation-detector
Install

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.

Any agent
npx skills add Geeksfino/finskills --skill sector-rotation-detector
Clone the repo
git clone --depth 1 https://github.com/Geeksfino/finskills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for sector-rotation-detector

README.md
[![agentmods](https://agentmods.dev/badge/skills/geeksfino/finskills/sector-rotation-detector/github.svg)](https://agentmods.dev/skills/geeksfino/finskills/sector-rotation-detector)
Your own site
<a href="https://agentmods.dev/skills/geeksfino/finskills/sector-rotation-detector"><img src="https://agentmods.dev/badge/skills/geeksfino/finskills/sector-rotation-detector/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.

agentmods 80×15 button for sector-rotation-detector

Your own site · 80×15
<a href="https://agentmods.dev/skills/geeksfino/finskills/sector-rotation-detector"><img src="https://agentmods.dev/badge/skills/geeksfino/finskills/sector-rotation-detector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,406 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00097 $0.01406
Opus 5 $0.00048 $0.00703
Sonnet 5 $0.00019 $0.00281
Haiku 4.5 $0.00010 $0.00141

Measured 12d ago against content hash 2a3c217bf079, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

sector-rotation-detector 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 12d 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.

China-market/sector-rotation-detector/SKILL.md · 95 lines

How it starts

The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.

行业轮动信号探测器

扮演宏观投资策略师。分析中国宏观经济指标,识别A股行业轮动机会 — 未来6–12个月哪些行业有望跑赢、哪些可能跑输 — 并解释背后的经济逻辑。

工作流程

第一步:确定分析框架

与用户确认:

  1. 市场范围 — 仅A股、含港股通、或含海外中概
  2. 时间维度 — 默认:未来6–12个月
  3. 行业分类 — 申万一级行业(31个,默认)、或更细的二级/三级行业
  4. 现有持仓 — 用户是否有需要评估的现有行业配置
  5. 风险偏好 — 保守(小幅偏离)、稳健(显著超配/低配)、激进(集中行业押注)

第二步:评估宏观指标

分析五大宏观支柱的当前状态和趋势。详细指标参见 references/macro-sector-framework.md

支柱 核心指标
货币政策 LPR(1Y/5Y)、MLF利率、存款准备金率、公开市场操作、社融增速
通胀 CPI、PPI、CPI-PPI剪刀差、大宗商品价格、猪肉价格周期
经济增长 GDP增速、官方PMI(制造业/非制造业)、财新PMI、工业增加值、固定资产投资、社零
就业与消费 城镇调查失业率、PMI就业分项、居民收入增速、消费者信心指数
政策导向 中央经济工作会议定调、国务院政策、产业政策方向、监管态度

对每个支柱判断:当前水平方向(加速/减速)、未来6–12个月预期轨迹

第三步:判断经济周期阶段

将当前条件映射到经济周期的四个阶段:

阶段 特征
复苏期 GDP企稳回升,货币宽松,通胀低位,社融放量
扩张期 GDP稳健增长,政策中性偏紧,通胀温和上行
滞胀/过热期 GDP增速放缓,通胀上行,政策收紧
衰退期 GDP下行,通胀回落,政策转向宽松

详细周期判断框架和行业轮动图谱参见 references/macro-sector-framework.md

第四步:生成行业信号

对每个申万一级行业,给出配置建议:

信号 定义
超配 预期未来6–12个月跑赢沪深300 ≥ 5%
标配 预期与大盘基本持平
低配 预期未来6–12个月跑输沪深300 ≥ 5%

提供每个判断的经济逻辑。

第五步:风险识别与失效条件

对每个观点明确:

  • 基准概率 — 判断的置信度
  • 核心风险 — 可能导致判断错误的因素
  • 失效触发 — 一个具体的、可观测的数据点,出现后将反转该判断

第六步:呈现结果

以结构化报告呈现,格式参见 references/output-template.md

  1. 宏观仪表盘 — 五大支柱当前状态及方向
  2. 经济周期判断 — 当前阶段及位置
  3. 行业信号表 — 全部行业的信号、逻辑、置信度
  4. 看好行业深度分析 — 3–5个超配行业的详细逻辑
  5. 看空行业深度分析 — 3–5个低配行业的详细逻辑
  6. 情景分析 — 失效触发条件与风险矩阵
  7. 风险提示

数据增强

如需实时市场数据支撑分析,请使用金融数据工具包技能(findata-toolkit-cn)。该工具包提供A股实时行情、财务指标、董监高增减持、北向资金、宏观数据等功能,所有数据源免费,无需API密钥。

重要注意事项

  • 对宏观预测保持谦逊:宏观预测难度极高,所有观点以概率形式表达,不做确定性判断。
  • 政策权重极高:中国经济的政策驱动性远强于西方市场。中央经济工作会议、国务院常务会议、行业监管政策对行业轮动的影响往往大于经济数据本身。
  • 社融是领先指标之王:社会融资规模增速是A股最重要的领先指标,通常领先经济和股市3–6个月。
  • 信用脉冲:信用脉冲(社融增量的变化率)是判断拐点的核心工具。
  • 房地产周期的连锁效应:地产链(地产→建材→家居→家电→银行)是A股最重要的行业联动体系。
  • 主题投资与行业轮动并存:A股行业轮动经常被政策主题(新能源、AI、国企改革、信创等)打断或叠加。
  • 北向资金的边际影响:外资通过陆股通的行业配置变化对A股行业表现有显著边际影响。

Read the full file on GitHub · 95 lines

Files

What ships with it

3 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.

Changes

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.

  1. 12d ago First seen · 95 lines · 97 tokens per session scan A 2a3c217bf079

Subscribe to this mod's changes

sector-rotation-detector is a skill published in the GitHub repository Geeksfino/finskills (279 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 97 tokens to every session and 1,406 once invoked, about $0.0005 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.

Related

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.

HKUDS/Vibe-Trading · 39 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

chenhao-limit-up

A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.

questflowai/investorskills · 44 tokens

furusato

A Japanese hometown-tax donation manager for furusato nozei, a system where donations to municipalities can qualify for an income-tax or local-tax deduction. It reads donation receipts, stores donation records, and calculates deduction limits.

kazukinagata/shinkoku · 102 tokens

reading-receipt

An image-reading workflow for extracting structured information from receipts, invoices, and hometown-tax donation certificates. It can first extract text from PDFs and otherwise read their images.

kazukinagata/shinkoku · 64 tokens