Preface¶
When engaging in short-term trading or tracking sector rotation, a common practice is to open market software, browse the gainers list, manually check sector affiliations, and filter out “spike-style” (pulse) rises. The rules are not difficult, but repeating this daily is time-consuming and prone to missing auxiliary conditions like IBS (Intraday Breadth Strength). If you are already using an AI coding assistant with Skills support, you can delegate the “daily gain + IBS double threshold + grouping by sector” task to a Skill, triggering it via natural language instead of manually constructing filter conditions every time.
What is this¶
Xiapi Top Stocks Analysis is a SkillHub community skill (Coordinate @user_506878eb/xiapi-top-stocks, current version 1.0.3, category professional, source community, publisher user_506878eb). Targeting A-shares, it pulls the day’s hot strong stocks according to predefined rules and groups them by sector, facilitating the identification of short-term hot themes.
Official page and installation entry:
- SkillHub: https://www.skillhub.cn/skills/user_506878eb/xiapi-top-stocks
- API Address: https://api.skillhub.cn/user_506878eb/xiapi-top-stocks
The page indicates requires_api_key=true. You need to prepare and configure an API Key before use (the specific field name is subject to the SKILL.md inside the skill package; this article does not expand on configuration items not listed on the public page).
Core Features¶
The following capabilities are derived from the public SkillHub description without extended interpretation:
- Strong Stock Screening: Analyzes hot strong A-share stocks, filtering for leading gainers with a daily gain greater than 7% and IBS greater than 50.
- Sector Grouping: Groups the filtered targets by sector to identify daily hot themes.
- Conversational Trigger: Supports activation via natural language. Trigger words listed officially include: hot stocks, leading stocks, strong stocks, gainers list, hot spot stocks, sector leaders.
Installation and Activation¶
SkillHub recommends two methods: handing the installation prompt to the AI, or using the skillhub CLI. The following is organized according to official documentation.
Method 1: Let AI execute based on SkillHub installation instructions¶
Send the following prompt to your current Agent (Cursor, Claude Code, Codex, etc., provided the Agent can read external installation documentation):
Please install `@user_506878eb/xiapi-top-stocks` according to https://skillhub.cn/install/skillhub.md.
Method 2: Use the skillhub CLI¶
First, confirm if the CLI is installed:
command -v skillhub && skillhub --version
If not installed, you can follow the SkillHub installation documentation to perform a full installation (including default Skills) or just the CLI:
# Full installation (CLI + default Skills, recommended)
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
# Install CLI only
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
When installing the skill, you must use --dir to point to the current Agent’s skills directory; otherwise, installing to the default ./skills/ might not be recognized. Common path examples (excerpted from SkillHub installation docs):
| Environment | skills directory |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under the project |
Installation command example (replace <skills directory> with the corresponding path from the table above):
skillhub install @user_506878eb/xiapi-top-stocks --dir <skills directory>
After installation, restart or refresh the Agent as required by your client, and configure the API Key as requested (label requires_api_key=true).
Typical Usage¶
Public materials do not provide fixed CLI subcommand examples; typical usage is via conversational triggers. You can directly use the official trigger words in a session where the Skill is enabled, for example:
Help me check the strong stocks in today's A-share gainers list, grouped by sector.
Or:
Filter today's leading stocks and hot stocks; the gains need to be strong enough, and IBS must meet the criteria.
The Agent will call the data source and return the grouped results according to the workflow in the skill’s SKILL.md; specific output formats are subject to the skill implementation.
Applicable Scenarios and Notes¶
Applicable Scenarios (Official description):
- Short-term hot spot tracking
- Strong stock mining
- Hot theme identification
Non-applicable Scenarios (Official description):
- In-depth analysis of individual stocks
- Long-term investment research
- Detailed explanation of technical indicators
Other Notes:
- The screening rule is fixed as “Gain > 7% and IBS > 50”, which is not suitable for research workflows requiring custom factors or backtesting.
- Relies on external API Keys and market data; keys and quotas must be managed independently.
- This is a community skill; please assess compliance and investment risks yourself before use; this article does not constitute investment advice.
Conclusion¶
Xiapi Top Stocks Analysis encapsulates “strong double conditions + sector classification” into a Skill that can be triggered via conversation. It is suitable for scenarios where you need to quickly scan daily hot spots without manually browsing lists every day. For installation and details, see the official SkillHub page: https://www.skillhub.cn/skills/user_506878eb/xiapi-top-stocks