Equity Investment Value Scoring: A-Share Portfolio Diagnosis and Offline HTML Reports Within an Agent

Foreword

When conducting A-share analysis in environments like Cursor and Claude Code, the common practice is to repeatedly ask the model to check market data, review announcements, and then manually compile them into review notes. The process is lengthy, and the criteria are inconsistent, making it easy to mix “reasoning conclusions” with “verifiable data.” If you wish to perform a diagnosis of your watchlist and holdings, value scoring, and configuration reference directly within the conversation, and obtain a locally openable HTML report, the following introduces the community Skill “Stock Investment Value Scoring” on SkillHub (coordinates @user_f734bc4b/stock-portfolio-advisor, current version 2.4.0).

What is this

“Stock Investment Value Scoring” is a professional community Skill maintained by SkillHub publisher user_f734bc4b, classified as an SKILL.md capability package callable by large language models. It targets Chinese A-share watchlists and holdings: it pulls market data, financial reports, risk, and news as inputs, routes by industry to calculate value scores, and provides an independent “trading environment score”; on this basis, it outputs fundamental scenario valuations, explicitly reports data gaps, and provides asset allocation references under user risk policy constraints, finally rendering an HTML report that can be opened offline. The Skill states that it does not automatically place orders and does not constitute investment advice; it is implemented using the pure Python standard library and comes with 77 unit tests. The tag requires_api_key=false indicates, per the instructions on the SkillHub page, that no separate API Key configuration is required.

Official entry points:

  • SkillHub page: https://www.skillhub.cn/skills/user_f734bc4b/stock-portfolio-advisor
  • API metadata: https://api.skillhub.cn/user_f734bc4b/stock-portfolio-advisor

Core Capabilities

The following capabilities are derived from the SkillHub page and the captured introduction; capability names not appearing in the official copy are not expanded upon.

  1. Scope: A-share watchlist and holdings (watchlist / holdings).
  2. Data Dimensions: Market data, financial reports, risk, and news, etc., for subsequent scoring and valuation.
  3. Scoring System: Value scoring routed by industry; a “trading environment score” separated from the value score.
  4. Valuation and Gaps: Fundamental scenario valuation; explicit reporting of “data gaps” for missing data to avoid implicit filling.
  5. Allocation Reference: Asset allocation reference (not automatic trading instructions) under user risk policy constraints.
  6. Deliverables: Generate an HTML report that can be opened offline.
  7. Typical Trigger Scenarios: Stock diagnosis, holding review, investment value scoring, portfolio configuration requests.

The Skill emphasizes “Deterministic value scoring and allocation,” suitable for developers or individual investors who need reproducible, archivable analysis chains, rather than replacing broker terminals or advisory systems.

Installation and Enablement

1. Install SkillHub CLI

If skillhub is not yet present on your local machine, first check or install according to the official installation documentation:

command -v skillhub && skillhub --version

For CLI-only installation:

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

Full installation documentation: https://skillhub.cn/install/skillhub.md

2. Install this Skill to the current Agent’s skills directory

SkillHub requires the use of --dir to point to the skills directory identified by the current Agent during installation; otherwise, it defaults to ./skills/, which the Agent may not load. Common paths are as follows (refer to the official installation documentation):

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

In Cursor, you can execute:

skillhub install @user_f734bc4b/stock-portfolio-advisor --dir ~/.cursor/skills/

In Claude Code, replace --dir with ~/.claude/skills/; in Codex, replace with ~/.codex/skills/ or the .agents/skills/ agreed upon in your project. Before installing, you can also use search to confirm the package name:

skillhub search stock-portfolio-advisor

After installation, restart or refresh the Skill list as required by your client to ensure SKILL.md is loaded.

You can also ask the Agent to install according to the official instructions in the conversation, for example by referencing the installation documentation and providing the coordinates @user_f734bc4b/stock-portfolio-advisor (the phrasing follows https://skillhub.cn/install/skillhub.md).

Typical Usage

This Skill has no independent REST interface; usage involves describing the target and intent in a conversation where the Skill is already enabled, and the analysis process is executed after the Skill description is matched with trigger words. The following examples are consistent with the scenarios listed by the official website and can be reproduced after installation (the specific output depends on the data available at the time and the internal Skill instructions and does not constitute real trading advice).

Holdings Review and HTML Report

请用股票投资价值评分 Skill,对我当前 A 股持仓做复盘:列出各标的的价值评分与交易环境分,说明数据缺口,并生成可离线打开的 HTML 报告。

Single Stock Diagnosis

诊断 A 股 600519:按行业路由做价值评分,给出基本面情景估值,并标明缺少哪些财报或行情字段。

Watchlist Scoring

我的自选是 000001、300750、601318,请做投资价值评分对比,并在用户风险政策为「稳健、单票上限 15%」的前提下给配置参考。

Portfolio Configuration Request (Read-only)

在不动仓的前提下,根据上述评分与约束给一份资产配置参考说明,不要下单。

Through the steps above, you should be able to obtain structured scores, valuation scenarios, gap explanations, and the path or content of the HTML report in the conversation (subject to the actual return of the Skill).

Applicable Scenarios and Notes

Who is it suitable for

  • Developers or heavy users already managing A-share watchlists/holdings within Agent workflows who need one-time diagnosis and archivable reports.
  • Those who wish to view the value score and trading environment score separately and explicitly require reporting of data gaps.
  • Scenarios that require an offline HTML for forwarding or local archiving.

Limitations and Notes

  1. Market Scope: The introduction explicitly states the context is A-shares; it does not claim to cover Hong Kong stocks or US stocks.
  2. Non-advisory, non-ordering: It is officially stated that it does not constitute investment advice and does not automatically place orders.
  3. Data and Determinism: Analysis quality depends on the market data and financial reports available at the time; the Skill will report gaps but does not guarantee filling all fields.
  4. Community Source: source: community, version 2.4.0; before upgrading, you can view the changelog on SkillHub or reinstall.
  5. Statistics: As displayed on the SkillHub page (downloads and ratings will change over time).
  6. Environment: requires_api_key=false only indicates the SkillHub tag-level Key requirement; if the script inside the Skill accesses external data sources, it is still subject to local network and compliance policy restrictions.

Conclusion

“Stock Investment Value Scoring” consolidates the analysis of A-share watchlists and holdings, industry-routed value scores, trading environment scores, scenario valuations, and configuration references under constraints into a single Skill, and outputs an offline HTML report. It is suitable for read-only diagnosis and review within an Agent. Please follow https://skillhub.cn/install/skillhub.md for installation and directory configuration; see https://www.skillhub.cn/skills/user_f734bc4b/stock-portfolio-advisor for Skill details.

羽毛球分组比赛记分
小程序二维码

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

Xiaoye