A-Share Market Analysis & Investment Advisory: Read-Only Query and Analysis of A-Shares/HK Stocks within the Agent

Introduction

When doing A-share or Hong Kong stock Q&A in environments like Cursor or Claude Code, the common practice is to temporarily write scripts to fetch market data or copy web content into conversations. This leads to inconsistent data specifications, lack of structured output, and inconvenient reuse. This article introduces the community skill “A-Stocks Analysis and Investment Advisor” on SkillHub, which packages capabilities such as market data, fundamentals, indices, and text retrieval into an Agent-callable Skill, enabling natural language-driven query and analysis workflows.

What Is This

“A-Stocks Analysis and Investment Advisor” is a read-only data query and analysis Skill for Chinese A-shares and Hong Kong stocks. Its coordinate is @user_38ebd01e/a-stocks-analysis, current version 0.2.2, source is community, category is professional, published by SkillHub user user_38ebd01e; the SkillHub page lists the author as roamerxv.

The official description states: it supports retrieval within market data, fundamentals, indices, and text data, and provides multiple professional analysis methods and recommendations. The SkillHub metadata tag requires_api_key=true indicates that an API Key must be configured before enabling. This skill does not provide trading order placement capabilities; when using it, the boundary should be public, read-only historical and market data.

Core Features

Based on the publicly available SkillHub documentation, the verifiable capabilities include:

  1. Multi-type data retrieval: Market data, fundamentals, indices, and retrieval within text-based data.
  2. Analysis assistance: Provides various professional analysis approaches and advisory outputs on top of data retrieval (specific methods are subject to the SKILL.md within the skill package and runtime instructions).
  3. Read-only positioning: Designed for querying and analysis, does not handle securities trading or account operations.

SkillHub statistics (shown on page): Rating 100000, Downloads 10282, Installs 540.

Installation and Activation

Before installation, the SkillHub CLI is required. If not yet installed, you can first check the version:

command -v skillhub && skillhub --version

If not installed, follow the SkillHub official installation documentation to perform a full installation (CLI + default Skill):

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 this skill, you must use --dir to point to the current Agent’s skills directory; otherwise it will be installed to ./skills/ by default, and the Agent may not be able to recognize it. Common paths given in SkillHub documentation are as follows:

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

Installation command example (replace <skills 目录> with the actual path):

skillhub install @user_38ebd01e/a-stocks-analysis --dir <skills 目录>

You can also ask the AI in conversation to install it following the official prompt: first read https://skillhub.cn/install/skillhub.md, then install @user_38ebd01e/a-stocks-analysis.

After the above steps, the skill will be placed in the corresponding skills directory. Since requires_api_key=true, after installation you must also configure the API Key in the environment specified by the skill instructions or publisher requirements; otherwise data API calls will fail authentication. The specific variable name and how to obtain it are subject to the documentation within the skill package.

Typical Usage

The official page does not provide a fixed list of CLI subcommands. The typical usage is to describe the target and analysis requirements in natural language within a conversation in an Agent that has enabled this Skill, and the Agent will call the data interfaces encapsulated by the skill according to SKILL.md and organize the results. The following expressions are consistent with the capability scope described in the official introduction, facilitating reproduction of intent (actual return fields are subject to the interface and skill version):

  1. Query recent market data and key price level context for a specific A-share or Hong Kong stock.
  2. Pull fundamental indicators for a specified code, and request comparison or summary.
  3. Retrieve information related to a certain index’s constituents, trends, or related text descriptions.
  4. Based on the above data, request structured analysis (e.g., output in sections such as “Data Summary / Indicator Interpretation / Points of Attention”).

If the behavior after installation does not match expectations, prioritize checking the SKILL.md and accompanying documentation under @user_38ebd01e/a-stocks-analysis in the skills directory to confirm API Key, available markets, and interface scope.

Applicable Scenarios and Notes

Who It’s For

  • Developers who need to quickly query A-share/Hong Kong stock public data, create research drafts, or add code annotations within an IDE or CLI Agent.
  • Those who want to use a unified Skill to constrain data retrieval and analysis output formats, reducing the need to write custom crawlers or temporary scripts every time.

Limitations and Notes

  • Data and functionality are subject to the skill package and backend interfaces; community source means that update pace and SLA should be monitored through version 0.2.2 and subsequent changes.
  • The API Key must be correctly configured (requires_api_key=true), and the usage terms of the interface provider must be observed.
  • The skill is positioned as read-only query and analysis assistance, and cannot replace compliant investment advisory services; any “advisory” output should be manually reviewed and should not be directly used as trading basis.

Conclusion

“A-Stocks Analysis and Investment Advisor” consolidates A-share/Hong Kong stock market data, fundamentals, indices, and text retrieval into a single Skill coordinate, suitable for building reusable read-only analysis workflows in environments like Cursor. Installation and priority source configuration are subject to SkillHub documentation; the skill homepage and API entry are as follows:

  • SkillHub Page: https://www.skillhub.cn/skills/user_38ebd01e/a-stocks-analysis
  • Official URL: https://api.skillhub.cn/user_38ebd01e/a-stocks-analysis
羽毛球分组比赛记分
小程序二维码

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

Xiaoye