Foreword¶
When developing quantitative strategies on the Qirui Strategy Center, a common bottleneck is not “lack of ideas,” but rather translating investment logic into code that the platform can recognize, backtest, and deploy. Hand-writing code requires familiarity with the Strategy Center’s APIs and coding standards, and the journey from documentation to a first draft is often time-consuming. If you are using an IDE or CLI that supports Agent Skills, you can split the process of “describing your idea” and “producing standard-compliant strategy code” into two steps: first, clearly explain the logic in natural language, then let the LLM generate the code under the constraints of the Skill. Below is an introduction to the Qirui Strategy Writing Assistant on SkillHub (Coordinate: @org-0ueytgdu/deepquant-strategy-builder, often referred to in the industry as Qirui strategy building capabilities), which is designed for the China Galaxy Securities Qirui Strategy Center to lower the barrier to strategy development.
What is this¶
The Qirui Strategy Writing Assistant is an enterprise-sourced Skill released by China Galaxy Securities. The current version is 7.0.1, and its SkillHub category is dev-programming. According to the official description: users describe their investment ideas in natural language, and the LLM, combined with the Skill provided by the Strategy Center, generates quantitative strategy code that complies with platform standards.
The maintainer and publisher is China Galaxy Securities. The Skill tags indicate requires_api_key=false, meaning that installing and enabling the Skill itself does not require a separate API Key configuration (the LLM you use is still configured according to the rules of your specific client).
Core Features¶
Based on the SkillHub page and captured metadata, the verifiable capabilities are as follows:
- Natural Language to Strategy Code: Input investment ideas via natural language, and the Agent generates code under the guidance of the Skill.
- Alignment with Qirui Strategy Center Standards: The output is designed to be quantitative strategy code compliant with the Qirui Strategy Center platform standards, rather than generic script snippets.
- Collaboration with Strategy Center Skills: The LLM integrates Skill context provided by the Strategy Center during generation, reducing the manual effort required to bridge the gap with platform documentation.
The page does not provide specific strategy templates, function lists, or copyable dialogue examples. The typical interaction form is “Describe Idea → Generate/Iterate Strategy Code.” Specific fields and APIs should be based on the current documentation of the Qirui Strategy Center.
Installation and Activation¶
Install via SkillHub CLI (Recommended)¶
First, confirm if skillhub is already on your machine:
command -v skillhub && skillhub --version
If not installed, you can follow the official SkillHub installation instructions to perform a full installation (CLI + Default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
To install only the CLI:
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, it defaults to ./skills/, which may not be loaded by the client. The command to install this Skill looks like:
skillhub install org-0ueytgdu/deepquant-strategy-builder --dir <your skills directory>
Common skills directories for various clients (excerpted from SkillHub installation docs):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
After installation, restart or refresh the Agent according to your client’s requirements to enable the new Skill.
Install via Natural Language (AI-driven)¶
The prompt provided on the SkillHub page is: Please install @org-0ueytgdu/deepquant-strategy-builder according to https://skillhub.cn/install/skillhub.md. Send the above instruction to your current Agent, and it will complete the CLI check and --dir installation following the documentation.
Official API Address (Skill Metadata): https://api.skillhub.cn/org-0ueytgdu/deepquant-strategy-builder
SkillHub Display Page: https://www.skillhub.cn/skills/org-0ueytgdu/deepquant-strategy-builder
Typical Usage¶
The official release does not include fixed one-click example dialogues or example repositories; the reproducible workflow is as follows:
- In an Agent with the Skill enabled, explain the strategy logic in natural language (target assets, signals, positions, risk control, etc.).
- Request the generation of strategy code that is compliant with Qirui Strategy Center standards, and specify the modules that need to be checked against platform documentation (such as entry points, parameters, backtesting interfaces, etc.).
- Import the generated code into the Qirui Strategy Center or validate/backtest it according to the Center’s workflow. If it is not compliant, feed the platform errors or documentation clauses back to the Agent for iteration.
Through these steps, the value of the Skill lies in bringing “standard constraints” forward to the generation phase, rather than requiring extensive rewriting afterwards.
Applicable Scenarios and Notes¶
Who is it for
- Quantitative practitioners who are using or plan to use the Qirui Strategy Center and want to draft strategy code quickly using natural language.
- Developers who are familiar with investment logic but not with platform APIs and coding standards, and need the Agent to generate a first draft under Skill constraints.
Limitations and Caveats
- Whether the generated code can go live directly still depends on the current standards of the Qirui Strategy Center and your backtesting/compliance workflow; the Skill cannot replace platform-side validation.
- SkillHub metadata shows the source as enterprise. Download counts and ratings change over time; please refer to the SkillHub page for the latest info (At the time of capture: version 7.0.1, ~650 downloads).
- No specialized configuration items differentiated for Cursor, Codex, or Claude Code were found in official materials; the differences between the three lie mainly in the skills directory path and their respective LLM configurations. The installation command is the same, only the
--dirdiffers.
Conclusion¶
The Qirui Strategy Writing Assistant bridges the gap between “describing investment ideas in natural language” and “standardized code for the Qirui Strategy Center,” making it a suitable supplementary Agent Skill for Strategy Center users. To view the brief, version, and installation tips, please open the SkillHub page: https://www.skillhub.cn/skills/org-0ueytgdu/deepquant-strategy-builder