Xingyao Shuzhi Factor Analysis Skill: Agent Workflow for Single-Factor Testing and Multi-Factor Composite

Introduction

When conducting quantitative research, the journey of a factor from “calculation” to “tradability” often involves stringing together preprocessing, IC analysis, regression, layering (quantile analysis), and crowding metrics, followed by multi-factor collinearity checks, orthogonalization, weighting, and scoring. These steps are typically scattered across notebooks and internal scripts, meaning that changing personnel or datasets requires re-assembling the entire workflow. Below, we introduce the Xingyao Data-Intelligence Factor Analysis Skill released by China Galaxy Securities on SkillHub. This Skill encapsulates the Xingyao Data-Intelligence factor analysis framework into an Agent-executable format and outputs a visualized HTML report upon completion.

What is This

The Xingyao Data-Intelligence Factor Analysis Skill (Coordinate @org-rwhv0nty/ad-factor-analysis, current version v1.0.9) is a factor analysis framework Skill provided by the Xingyao Data-Intelligence team of China Galaxy Securities. Its source is marked as enterprise, and its SkillHub category is professional.

It targets two types of tasks:

  1. Single Factor Analysis: Preprocessing, along with three types of tests—IC, regression, and layering—including crowding-related analysis.
  2. Multi-Factor Composition: Collinearity detection, orthogonalization, eight weighting methods, and scoring, with automatic generation of a visualized HTML report.

The applicable keywords listed in the official description include: Factor Testing, Factor Validity, Factor Composition, Factor Weighting, Factor Orthogonalization, Factor Scoring, IC Analysis, Layered Backtesting, Factor Crowding, Multi-Factor Stock Selection, Factor Portfolio, Factor Collinearity, Factor Dimensionality Reduction, etc.

Core Functions

The following capabilities are derived from the SkillHub page and crawled metadata; interfaces or parameters not present in the provided materials will not be detailed.

Single Factor Analysis

  • Preprocessing: Performs framework-defined processing on factors before testing (specific steps are subject to the installed SKILL.md).
  • Three Major Test Methods: IC, Regression, and Layering.
  • Crowding: The single-factor pipeline includes crowding-related analysis.

Multi-Factor Composition

  • Collinearity Detection: Identifies collinearity issues among factors before multi-factor combination.
  • Orthogonalization: Performs orthogonalization on factors.
  • Eight Weighting Methods: Official documentation supports 8 weighting methods (specific names and formulas are subject to the Skill’s internal documentation).
  • Scoring: Outputs factor scoring results after weighting and composition.

Report Output

Upon completion of the analysis, a visualized HTML report is automatically generated. This facilitates viewing charts and results in a browser, eliminating the need to paste numerical values segment-by-segment in the conversation.

Platform and Dependencies

  • The SkillHub tags include requires_api_key=true. Before use, the API Key must be configured according to the Skill’s instructions (specific key fields and acquisition methods are subject to the publisher’s documentation).
  • The page displays a rating of 100000 and 8588 downloads (statistics are from a SkillHub crawl snapshot and may change as the platform updates).

Installation and Activation

The Skill is based on the universal SKILL.md format. During installation, the Skill must be placed into the skills directory recognizable by the current Agent; otherwise, it may not be loaded from the default path.

Method 1: Let AI Install via Official Instructions

The installation prompt provided on the SkillHub page is:

Please install `@org-rwhv0nty/ad-factor-analysis` according to https://skillhub.cn/install/skillhub.md.

Send the above content to a client supporting Skills, such as Cursor or Claude Code. The Agent will read the SkillHub Installation Documentation and complete the installation.

Method 2: SkillHub CLI

First, check if skillhub is already on your machine:

command -v skillhub && skillhub --version

If not installed, you can execute the full installation (including CLI and default Skills) via the official documentation:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

When installing this Skill, you must use --dir to point to the skills directory of the current environment. Common path examples (excerpted from official installation docs):

Client skills Directory
Cursor ~/.cursor/skills/
Claude Code ~/.claude/skills/
Codex ~/.codex/skills/ or .agents/skills/ under the project

The installation command takes the following form (replace <skills directory> with the actual path):

skillhub install org-rwhv0nty/ad-factor-analysis --dir <skills directory>

The coordinate is also written as @org-rwhv0nty/ad-factor-analysis in the documentation, which is consistent with the package name used by skillhub search / skillhub install.

After installation, configure the API Key according to the Skill’s SKILL.md (requires_api_key=true), and restart or refresh the Agent’s skill list to enable the Skill.

Typical Usage

The official page does not attach an independent long-form example code repository; typical usage involves describing the data and goals in natural language (provided the Skill is installed and the key is configured) and letting the Agent call this Skill to complete the analysis pipeline.

Requests can be organized by task type, for example:

  1. Single Factor: Specify the factor name, returns, and stock pool time range; request preprocessing, output of IC, regression, layering results, and crowding analysis, and generate an HTML report.
  2. Multi-Factor: Provide multiple factors or a factor matrix; request collinearity detection first, followed by orthogonalization, selection of one of the eight weighting methods (or let the Agent list available weighting options based on Skill rules), and finally composite scoring and HTML report output.

Specific input fields, data formats, and default parameters are subject to the SKILL.md within the package and the Xingyao Data-Intelligence framework conventions; this article does not fabricate configuration items or sample data paths not present in the materials.

Use Cases and Notes

Who is it for

  • Teams already conducting A-share or multi-factor stock selection research in the Xingyao Data-Intelligence or Galaxy Securities environment who need to solidify “Testing + Composition + Reporting” into a repeatable conversational workflow.
  • Developers who want to drive factor analysis with Agents inside IDEs like Cursor / Claude Code, rather than hand-writing a full set of notebook scripts every time.

Things to Note

  • API Key: The tag indicates a key is required; without configuration, the Skill may not be able to access backend capabilities.
  • Compliance and Data: The source is a securities company’s enterprise class Skill. Actual data access and compliance boundaries are subject to internal institutional regulations.
  • Version: The version verified at the time of writing is 1.0.9; features after upgrading are subject to the SkillHub page.
  • Installation Path: Be sure to use --dir to point to the current Agent’s skills directory to avoid installation into the default ./skills/ which may lead to recognition failure.

Conclusion

The Xingyao Data-Intelligence Factor Analysis Skill strings together single-factor (preprocessing, IC/regression/layering, crowding) and multi-factor (collinearity, orthogonalization, eight weightings, scoring) workflows into an Agent-executable pipeline, and outputs an HTML visualization report. If your work involves factor validity testing or multi-factor composition, you can view details and install it on SkillHub.

  • SkillHub Page: https://www.skillhub.cn/skills/org-rwhv0nty/ad-factor-analysis
  • API Coordinate Page: https://api.skillhub.cn/org-rwhv0nty/ad-factor-analysis
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye