Introduction¶
When conducting A-share asset allocation, the relative strength between large-cap and small-cap, as well as value and growth styles, shifts periodically. Relying solely on subjective impressions or scattered market screenshots makes it difficult to stably determine “whether the current market leans more towards large-cap or small-cap” and when a style rotation might occur. By incorporating the relative strength difference between the CSI 2000 and the CSI 300 into a conversational analysis workflow, agents can use fixed phrases to trigger conclusions regarding style bias and rotation signals. This aids in allocation decisions between large-cap and small-cap assets—this is exactly the capability that the “Xiapi Style Rotation Analysis” on SkillHub aims to provide.
What is this¶
“Xiapi Style Rotation Analysis” is an Agent Skill from the SkillHub community (community), categorized as professional. Its coordinate is @user_506878eb/xiapi-style-rotation, currently at version 1.0.2, maintained by the publisher user_506878eb.
In one sentence: It analyzes the rotation of A-share large-cap and small-cap styles, utilizing the relative strength difference between the CSI 2000 and the CSI 300 to determine style bias and rotation signals. The Skill tags indicate requires_api_key=true; an API Key must be configured according to the instructions within the Skill before use (specific fields are subject to the SKILL.md file post-installation).
Official Entry Points:
- SkillHub Page: https://www.skillhub.cn/skills/user_506878eb/xiapi-style-rotation
- API Coordinate: https://api.skillhub.cn/user_506878eb/xiapi-style-rotation
Core Functions¶
The following capabilities are derived from the official introduction; details not present in the provided materials are not elaborated upon:
- Style Bias: Provides judgment on the bias towards large-cap or small-cap styles based on the relative strength relationship between the CSI 2000 and the CSI 300.
- Rotation Signals: Identifies signals related to style switching by combining the aforementioned relative strength differences (intended for decision-making reference, not as buy/sell points for individual stocks).
- Conversational Trigger: Supports invoking the Skill using trigger words in natural language, eliminating the need to memorize fixed command-line parameters.
The official trigger words include: 大小盘风格 (Large/Small-cap style), 风格轮动 (Style rotation), 大盘股小盘股 (Large-cap/Small-cap stocks), 风格切换 (Style switch), 沪深300 (CSI 300), 中证2000 (CSI 2000), 微盘股投资策略 (Micro-cap investment strategy).
Installation and Activation¶
The installation method provided on the SkillHub page is: Instruct the AI to follow the official installation documentation to execute the installation of the specified coordinate Skill.
1. Install SkillHub CLI (if not already installed)¶
First, check if it is already installed:
command -v skillhub && skillhub --version
If not installed, you can follow the SkillHub installation documentation to perform a complete installation (CLI + default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
If only the CLI is needed:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install this Skill¶
When installing, you must use --dir to point to the current Agent’s skills directory. Otherwise, installing to the default ./skills/ might not be recognized. Client paths vary; common examples are as follows (subject to your actual environment):
| Environment | skills Directory (Example) |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under the project |
Installation command format (replace <skills directory> with the corresponding path from the table above):
skillhub install @user_506878eb/xiapi-style-rotation --dir <skills directory>
Alternatively, you can send the following prompt to an AI that has integrated SkillHub installation capabilities to complete the installation according to the documentation:
Please install `@user_506878eb/xiapi-style-rotation` according to https://skillhub.cn/install/skillhub.md.
3. API Key¶
The Skill is marked with requires_api_key=true. After installation, read the SKILL.md and relevant configuration instructions within the Skill package to fill in the required API Key; without configuration, data retrieval or analysis steps may fail.
Typical Usage¶
This Skill is primarily conversational-triggered. In an Agent where it is installed and the API Key is configured, you can use the official trigger words to initiate requests, for example:
- Ask whether the current market leans more towards large-cap or small-cap, mentioning “大小盘风格” (Large/Small-cap style) or “沪深300” (CSI 300), “中证2000” (CSI 2000).
- When interested in “风格轮动” (Style rotation) or “风格切换” (Style switch), ask the Agent to explain the bias and rotation signals based on the relative strength difference between the two indices.
- When making “大盘小盘配置决策” (Large/Small-cap allocation decisions), use phrases like “微盘股投资策略” (Micro-cap investment strategy) to limit the scope to the large/small-cap dimension, avoiding drift towards individual stocks or sectors.
Specific output formats, difference calculation windows, and signal definitions are subject to the SKILL.md within the Skill; this article does not fabricate example values or backtesting conclusions.
Use Cases and Notes¶
Applicable Scenarios (Official Description):
- Determining market style bias (Large-cap vs. Small-cap)
- Identifying style rotation signals
- Allocation decisions between large-cap and small-cap
Non-Applicable Scenarios (Official Description):
- Individual stock analysis
- Industry sector analysis
- Bond analysis
Other Notes:
- Conclusions depend on market data and API availability; if
requires_api_key=true, you must secure the key yourself. - The SkillHub page displays version v1.0.2; store statistics (based on fetched data) show a rating of 100000, 846 downloads, and 13 installs. These are for discovery reference only and do not represent backtesting or live trading results.
- Rotation and switching signals are auxiliary market analysis tools and cannot replace compliant investment advisory opinions or your own risk management.
Conclusion¶
If you wish to systematically discuss A-share large/small-cap styles and rotation rhythms within an Agent using the relative strength of the CSI 2000 and the CSI 300, “Xiapi Style Rotation Analysis” provides a community-maintained, standard Skill form installable via SkillHub. Installation and coordinates are subject to the official page: https://www.skillhub.cn/skills/user_506878eb/xiapi-style-rotation