Introduction¶
When performing A-share sector rotation analysis or cross-sector comparisons, you often need to calculate returns, volatility, and drawdown on Shenwan Level-1 industry indices, then rank all 31 industries in a single table. Manually pulling data from market data sources, aligning daily/weekly/monthly frequencies, and applying the same set of statistical formulas involves many steps and is prone to inconsistent methodologies. Below, we introduce the SkillHub community Skill “Shenwan Level-1 Industry Index Data Retrieval & Analysis,” which bundles data retrieval, indicator computation, and Excel output into an Agent-callable capability.
What Is This¶
This is an Agent Skill designed for data analysis scenarios (identifier: @user_3be374cc/sw-industry-index, version 1.0.0, category: data-analysis, source: community, publisher: user_3be374cc).
It addresses the following: completing historical market data retrieval, common risk-return statistics, and analytical report export for Shenwan Level-1 industry indices in a single pass within a conversation or task pipeline. The data source on the market side is annotated as akshare × Shenwan Hongyuan Research Institute; the Skill tag specifies requires_api_key=false, meaning no additional API Key configuration is required (though actual availability still depends on the local akshare installation and network environment).
Core Features¶
The following capabilities are all drawn from the official SkillHub description; implementation details not separately elaborated on the public page are not further expanded here.
- Index Coverage: Automatically retrieves 31 Shenwan Level-1 industry indices.
- Frequency & Range: Supports daily, weekly, and monthly bars; the historical range is stated as 1999 to present (subject to the actual availability of the data source).
- Statistical Indicators: Computes metrics such as period return, annualized volatility, maximum drawdown, and Sharpe ratio.
- Deliverable: Generates a professional Excel analysis report.
Installation & Activation¶
The official page currently does not provide separate installation commands for Cursor, Codex CLI, or Claude Code per platform. The general approach is: open the Skill’s detail page on SkillHub and follow the platform-specific guidance to install the identifier @user_3be374cc/sw-industry-index into the Agent’s Skills directory or configuration; the skill package itself can also be obtained via the official API endpoint:
https://api.skillhub.cn/user_3be374cc/sw-industry-index
SkillHub listing page:
https://www.skillhub.cn/skills/user_3be374cc/sw-industry-index
Once activated, the Agent reads the workflow defined in the package’s SKILL.md (the standard format for industry Skills). This Skill does not require any requires_api_key-type secret field configuration.
Typical Usage¶
The public description does not include a copy-paste one-liner example command. A reproducible way to use it is: in an Agent that has this Skill installed, describe the analysis requirement in natural language and, as specifically as possible, include the following elements to align with the Skill’s design:
- Shenwan Level-1 industry (or “all 31 industries”);
- Candlestick timeframe: daily / weekly / monthly;
- Statistical period (within the range of 1999 to present);
- Whether an Excel report is needed and which indicators to emphasize (return, volatility, drawdown, Sharpe ratio, etc.).
The Agent will follow the Skill’s instructions to call akshare for data retrieval, compute indicators, and output an Excel file. Specific file names and worksheet structures are subject to the documentation within the skill package; after installation, if you need to verify the steps, you can instruct the Agent to “execute the Shenwan Level-1 industry analysis per SKILL.md.”
Use Cases & Caveats¶
Who It’s For
- Quantitative analysts, researchers, or product managers who need to quickly compare the risk-return profiles of Shenwan Level-1 industries;
- Teams who want to drive “data retrieval + indicators + reporting” via conversation in AI programming environments like Cursor, reducing repetitive script maintenance.
Usage & Limitations
- Data Dependency: Market data is sourced from akshare and Shenwan Hongyuan-related interfaces. The local environment must be able to install and upgrade akshare normally, and the runtime must have access to the data sources. For very early historical data or individual industries where the source site may have gaps, results could differ from terminal vendor figures.
- Indicator Definitions: Metrics such as Sharpe ratio and annualized volatility rely on default parameters within the Skill (e.g., annualization days, risk-free rate). Before cross-team comparisons, parameters should be unified or explicitly specified in the conversation.
- Community Maintenance: The source is community, version
1.0.0. During major market rule changes or Shenwan industry reclassifications, check the SkillHub page for updates. - Platform Statistics: The SkillHub page shows a rating of
100000and950downloads (statistics change with platform updates). These can serve as a selection reference but do not guarantee performance.
Closing¶
“Shenwan Level-1 Industry Index Data Retrieval & Analysis” chains multi-timeframe market data for all 31 Shenwan Level-1 industries, common risk-return indicators, and Excel reporting into a single Agent workflow—well-suited for sector comparison and periodic reviews. For details and the installation entry point, visit SkillHub:
https://www.skillhub.cn/skills/user_3be374cc/sw-industry-index
Skill package API:
https://api.skillhub.cn/user_3be374cc/sw-industry-index