Querying A-Share Listed Company News: Retrieving the Last 7 Days of Information by Stock Code

Preface

When performing analysis or writing articles related to A-shares, it is often necessary to review the recent public information of a specific stock first. Manually browsing announcements and news across multiple sites and organizing them into readable summaries is time-consuming and prone to missing entries within the time window. If you are already working in an environment that supports Agent Skills, such as Cursor or Claude Code, you can delegate the task of “querying news from the last week via code” to a Skill. This can be triggered via conversation, eliminating the need to open a browser and search from scratch every time.

The following section introduces what the SkillHub community skill A-share Listed Company News Query (coordinate @user_6d261cd7/a-stock-news) can do, how to install it, and the boundaries you need to accept when using it.

What is This

A-share Listed Company News Query is a community skill on SkillHub categorized as data-analysis (Publisher: user_6d261cd7, Current Version: 1.0.0). The official description states: Query the news of the past 7 days for a listed company based on the provided stock code.

The skill tag is requires_api_key=false, meaning that according to the SkillHub page description, installation and usage do not depend on additional API Key configuration. It solves the single problem of “given an A-share code, quickly obtaining news-type information from the past week,” rather than replacing market terminals or complete investment research databases.

Core Functions

Based on SkillHub and crawled metadata, the verifiable capabilities are as follows:

  1. Input: The stock code of the listed company (both the page and metadata refer to it as “stock code”; the official description does not explicitly state support for company name or abbreviation parsing. It is recommended to provide the standard code directly when using, e.g., Shanghai market 600519, Shenzhen market 000858).
  2. Time Range: News from the last 7 days.
  3. Output Form: Determined by the SKILL.md and execution logic within the skill; the public page does not list specific column names such as “Announcements / Research Reports / Hot Discussions” item by item, and the text will not expand on data source lists not appearing in official materials.

On SkillHub, this skill has a rating of 100000 and 7416 downloads (statistics are based on page display and will change over time).

Installation and Activation

SkillHub provides two common installation paths: using the CLI to install to the current Agent’s skills directory, or sending the installation prompt to the AI to execute according to the documentation.

1. Install SkillHub CLI (if not already installed)

First, check if skillhub exists:

command -v skillhub && skillhub --version

If not installed, you can follow the SkillHub installation documentation to perform a complete installation (including CLI and default Skills):

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

If only the CLI is needed:

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

2. Install this skill to the Agent’s skills directory

When installing the skill, you must use --dir to point to the skills directory actually read by the current Agent; installing to the default ./skills/ might not be recognized. Common paths provided in SkillHub documentation include:

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

In Cursor, you can install the skill to the user-level directory, for example:

skillhub install user_6d261cd7/a-stock-news --dir ~/.cursor/skills/

You can also let the AI handle it according to the official installation instructions during a conversation. The prompt provided on the SkillHub skill page is:

Please install `@user_6d261cd7/a-stock-news` according to https://skillhub.cn/install/skillhub.md.

After the above steps, restart or refresh the Agent’s loading of skills (strategies vary by client, please refer to the documentation of the product you are using), and then reference the skill in your conversation.

Typical Usage

The official page does not include fixed CLI subcommand examples. The typical usage is to include the stock code and specify that you want to query recent news in a conversation with an Agent where the Skill is enabled. The following expressions are reproducible conversation examples only; actual parsing is subject to the SKILL.md within the skill:

Use the A-share Listed Company News Query skill to check the news for 600519 from the last 7 days.
Stock code 000858, help me summarize the news for this company from the last week.

If the Agent does not automatically select this Skill, you can explicitly mention the coordinate @user_6d261cd7/a-stock-news or the full skill name “A-share Listed Company News Query” to reduce the probability of misusing other financial plugins.

Use Cases and Notes

Who is it for

  • Developers or analysts who need to quickly pull news from the past 7 days for a single A-share stock before writing reports, taking minutes, or answering colleague questions.
  • Users already using environments that support SkillHub skill directories, such as Cursor, Claude Code, or Codex.

Limitations and Notes

  1. Time window is fixed at 7 days: Earlier history requires finding other data sources or tools.
  2. Input is stock code: The official description does not promise fuzzy matching for company names; entering the wrong code will result in querying the wrong target.
  3. News is not investment advice: Crawl results are for information organization only and do not constitute trading advice; major decisions should still be based on exchange disclosures and authoritative channels.
  4. Community Source: source is community, version 1.0.0; upgrades and behavior changes are subject to the new version description of this coordinate on SkillHub.
  5. Statistics and page differences: Ratings and download counts may differ between different entry points (lead summary vs. SkillHub detail page); refer to the SkillHub page you opened during installation.

Conclusion

A-share Listed Company News Query encapsulates “Given an A-share code → News from the last 7 days” into an installable Agent Skill. It requires no API Key (according to SkillHub tags) and is suitable for lightweight information summarization in existing AI coding environments. For installation and details, see SkillHub:

  • Skill Page: https://www.skillhub.cn/skills/user_6d261cd7/a-stock-news
  • Coordinate Entry: https://api.skillhub.cn/user_6d261cd7/a-stock-news
  • Installation Guide: https://skillhub.cn/install/skillhub.md
羽毛球分组比赛记分
小程序二维码

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

Xiaoye