Preface¶
When building quantitative scripts, investment-research assistants, or internal Q&A systems, market data often requires hooking up separate data sources or maintaining crawlers. If queries are delegated to an Agent without a trustworthy market-data Skill, the model tends to produce generic answers or rely on outdated information. Below we introduce an enterprise-grade Skill released by Guosen Securities on SkillHub, which consolidates real-time and historical quotes, capital flow, and sector performance for A-shares, Hong Kong stocks, and major indices into a skill package callable by Agents.
What Is This¶
Guosen Securities – Market Data (identifier @guosen-securities/guosen-stock-market, version 1.0.0) is developed by Guosen Securities Co., Ltd., and is tagged on SkillHub as an enterprise source under the professional category.
Official description: provides market-data query capabilities for A-shares, Hong Kong stocks, and major indices, supporting multi-dimensional data retrieval including real-time and historical quotes, capital flow, and sector performance.
The SkillHub page marks requires_api_key=true; before use you must prepare an API key provided by Guosen (the specific application process is subject to Guosen Securities and SkillHub documentation; this article does not elaborate on configuration field names that have not been disclosed).
Core Capabilities¶
All capabilities below come from the official description; interface names or fields not appearing in the materials are not extrapolated:
- Instrument coverage: A-shares, Hong Kong stocks, major indices.
- Quote dimensions: real-time quotes, historical quotes.
- Extended dimensions: capital flow, sector performance.
Installation and Activation¶
SkillHub recommends two methods: let the Agent follow the installation documentation, or install via the skillhub CLI on your machine. During installation, you must use --dir to point to the current Agent’s skills directory; otherwise it may land in the default ./skills/ and not be recognized.
Method 1: Installation via Prompt¶
Send the following intent to an AI that supports Skills (original text from the SkillHub skill page):
请根据 https://skillhub.cn/install/skillhub.md,安装 `@guosen-securities/guosen-stock-market`。
Method 2: CLI Installation¶
First confirm whether the SkillHub CLI is already installed:
command -v skillhub && skillhub --version
If it is not installed, you can run the full installation (including the CLI and default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
CLI only:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
When installing this skill, replace <skills 目录> with the path of your current environment. Common directories listed in the SkillHub installation documentation include:
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
Example installation command:
skillhub install guosen-securities/guosen-stock-market --dir <skills 目录>
You can also search first, then install:
skillhub search guosen-stock-market
skillhub install guosen-securities/guosen-stock-market --dir <skills 目录>
After installation, configure the API Key as required by the Agent you are using (the skill tag indicates a key is required), and restart or reload the skills directory to activate the skill.
Typical Usage¶
The public materials do not include fixed code examples; in practice, once the skill is enabled, you can have the Agent specify the instrument, time range, and dimensions in natural language, for example:
- Query real-time or historical quotes for a specific A-share or Hong Kong stock;
- View trends of major indices;
- Learn about capital flow or the performance of a particular sector.
The Agent should access the Guosen quote service through the flow defined inside the skill, rather than fabricating price levels or trading volume out of thin air. If an authentication failure is returned, first check whether the API Key has been configured as required by the publisher.
Applicable Scenarios and Notes¶
Suitable for: teams or individuals who need investment-research assistance, quote verification, sector- and capital-flow-related Q&A or automated orchestration in environments supporting SkillHub skills such as Cursor, Claude Code, and Codex, and who can accept enterprise data sources and key management.
Notes:
- Data and compliance boundaries are subject to Guosen Securities’ terms of service and your account permissions; the Skill is a query entry point and does not replace compliance review.
- SkillHub statistics (as of page capture): rating 100000, 1923 downloads, install count 0; these may differ from download counts in third-party summaries due to differences in statistical caliber or timing — refer to the SkillHub skill page for the latest information.
- Skill metadata URL:
https://api.skillhub.cn/guosen-securities/guosen-stock-market(some clients may receive a 405 for GET requests to this URL; this does not affect installation and use through SkillHub).
Wrapping Up¶
Guosen Securities – Market Data encapsulates broker-side quote, capital-flow, and sector capabilities into @guosen-securities/guosen-stock-market, facilitating unified data retrieval within Agent workflows. See the SkillHub installation documentation for installation and preferred-source instructions, and the SkillHub skill page for skill details.