Introduction¶
When conducting individual stock research, a common practice is to open market data software or research reports, manually pull up several stocks in the same industry, and then check their financial, valuation, and capital data separately. These steps are fragmented, the data standards are inconsistent, and it is difficult for an Agent to provide comparable structured results within a single conversation.
Below is an introduction to the “Stock Peer Comparison Analysis” Skill on SkillHub (ID @user_cc9425b3/jy-stock-peer-comparison, current version 1.0.1). By utilizing the Hundsun Gildata (恒生聚源) MCP financial database, it allows the Agent to automatically identify industries or concepts, define peer samples, and perform comparisons across dimensions such as finance, valuation, market performance, capital flow, and institutional sentiment. It is suitable for turning questions like “How does it compare to its peers?” into a reproducible workflow.
What is this¶
“Stock Peer Comparison Analysis” is an Agent Skill with a community source (source: community) and a classification of professional (SkillHub sub-category: “Financial Analysis”). The publication ID is @user_cc9425b3/jy-stock-peer-comparison; the SkillHub page displays the maintainer as “Hundsun Gildata WarrenQ” (handle user_cc9425b3).
The Skill is positioned as follows: Based on the MCP Gildata financial database, it performs peer comparisons for A-shares and Hong Kong stocks. It automatically identifies the industry or concept of the target stock, filters approximately 5–10 representative peer companies, and organizes the comparison output across five directions: financial indicators, valuation levels, market performance, capital flow, and institutional sentiment. Official use cases include stock selection decisions, position diagnosis, and valuation analysis.
SkillHub Statistics (based on page and store metadata): Approximately 5011 downloads. The tag requires_api_key=true indicates that a Gildata MCP access token must be configured by the user before use.
Core Features¶
The following capabilities are consistent with the SKILL.md (1.0.1 package) and the store description. We do not expand on promises not appearing in the documentation.
Peer Identification and Samples¶
- Identify the industry and concepts of the target stock and retrieve the list of constituent stocks.
- Select approximately 5–10 representative companies from the peer group as the comparison sample.
Five Comparison Dimensions¶
| Dimension | Main Content in Documentation |
|---|---|
| Financial Indicators | Core financial data for the last 3 years; Revenue, net profit attributable to parent, gross margin, net margin, ROE, etc., potentially with year-over-year growth rates. |
| Valuation Levels | PE(TTM), PB, PS, PEG, etc., including industry percentile output explanations. |
| Market Performance | Price change, volume, turnover rate, amplitude, etc. (documentation examples include last 5/20/60 days). |
| Capital Flow | Main capital net inflow, Northbound capital related data, etc. (including optional Shanghai-Hong Kong/Shenzhen-Hong Kong Stock Connect tools). |
| Institutional Sentiment | Research report rating distribution, target prices, research frequency, etc. |
Data and Tool Sources¶
Data is retrieved via mcporter calling the Hundsun Gildata MCP service jy-financedata-api (and the same-named toolset listed in the docs), such as StockBelongIndustry, IndustryConstituentStocks, FinancialStatement, StockValueAnalysis, InstitutionalRating, etc. For Hong Kong stock scenarios, the documentation lists additional tools like HKCompanyBasicInfo and HKFinancialStatement. The Skill requires tool names to be consistent with those actually exposed by the MCP, orchestrated by the Agent according to the SKILL.md workflow.
Installation and Activation¶
1. Install SkillHub CLI (if not already installed)¶
The store installation instructions point to the SkillHub Installation Documentation. You can first check the CLI:
command -v skillhub && skillhub --version
If not installed, the recommended method provided in the documentation is:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
2. Install the Skill to the current Agent’s skills directory¶
During installation, you must use --dir to point to the skills directory recognized by your current client. Taking Cursor as an example, the common path is ~/.cursor/skills/:
skillhub install @user_cc9425b3/jy-stock-peer-comparison --dir ~/.cursor/skills/
The SkillHub skill page also states: install the ID @user_cc9425b3/jy-stock-peer-comparison according to the installation documentation above. You can also download the 1.0.1 Zip package from the store (the download entry provided on the page corresponds to jy-stock-peer-comparison-1.0.1.zip).
For paths of other clients, refer to Section 4 of the Installation Documentation. For example, Claude Code uses ~/.claude/skills/, and Codex uses ~/.codex/skills/ or .agents/skills/ under the project. After installation, refresh or restart the Agent according to the client’s requirements to load the Skill.
3. Install mcporter and configure Gildata MCP¶
The Skill metadata declares dependencies on node, npm, and mcporter. Check before use:
mcporter --version
If not installed:
npm install -g mcporter
Apply for the JY_API_KEY for MCP use at the Hundsun Gildata Data Map (the 1.0.1 changelog notes an update to the MCP token application method). Configuration example:
mcporter config add jy-financedata-tool --url "https://api.gildata.com/mcp-servers/jy-financedata-tool?token=YOUR_JY_API_KEY"
mcporter config add jy-financedata-api --url "https://api.gildata.com/mcp-servers/jy-financedata-api?token=YOUR_JY_API_KEY"
mcporter list
requires_api_key=true means the aforementioned keys must be applied for and kept by the user; the Skill package does not contain credentials.
Typical Usage¶
After activating the Skill and completing MCP configuration, simply ask questions in natural language. The trigger phrases listed in the documentation include “Peer comparison,” “Industry comparison,” “Competitor comparison,” “Where does XX rank in the industry,” etc.
Examples from the official description and SKILL.md, which can be reproduced directly in an Agent conversation:
Kweichow Moutai peer comparisonCATL industry ranking/How does CATL compare to its competitorsTencent Holdings competitor analysis(See Skill documentation for HK stock toolchain)Baijiu industry valuation comparison/Same industry stock comparison: Baijiu industry
The Agent will follow the workflow inside the Skill to first identify the industry and concepts, pull constituent stocks, then concurrently call MCP tools to summarize the comparison table. The output structure can reference references/output-template.md inside the package.
Use Cases and Notes¶
Who is it for
- Research or development scenarios requiring a horizontal comparison of “Target Stock + Multiple Peers” within a single conversation.
- Readers who already possess or can apply for a Gildata MCP
JY_API_KEYand are willing to configuremcporterlocally.
Limitations and Notes
- The data scope and fields are subject to the returns of the Gildata MCP tools; the Skill provides orchestration and presentation guidelines and does not constitute investment advice.
- Depends on the Node ecosystem and
mcporter; the network must be able to access MCP endpoints such asapi.gildata.com. - The store metadata
installs(count) represents only the installation count in the statistics and does not affect local installation viaskillhub installor the Zip package. - The
versionfield in the header ofSKILL.mdinside the package is1.0.0. When coexisting with the SkillHub release version number1.0.1, the1.0.1in the store and_meta.jsonshall prevail.
Conclusion¶
“Stock Peer Comparison Analysis” integrates industry identification, peer sampling, and multi-dimensional indicator comparison into a unified Skill workflow. The data source is anchored to the Hundsun Gildata MCP, making it suitable for handing over stock selection, position diagnosis, and valuation questions to an Agent for structured processing. Once installation and token configuration are complete, you can simply ask questions using stock names or industry names.
- SkillHub Page: https://www.skillhub.cn/skills/user_cc9425b3/jy-stock-peer-comparison
- Official ID Address: https://api.skillhub.cn/user_cc9425b3/jy-stock-peer-comparison