Unified Discovery: Retrieving Securities, Metrics, and SkillHub Skills via Natural Language

Introduction

A common issue when developing Agents for quantitative trading or investment research is “entity resolution mismatch”: the user mentions a company abbreviation, but you need the stock code; to write an XS expression, you first need to confirm the vfunc name, domain library, and call_spec; and there is a series of wm-* skills in the ecosystem where it is unclear which one to use. If relying on manual documentation lookups or trying skills one by one, the context window easily becomes cluttered with irrelevant instructions.

Below is an introduction to Unified Discovery (@user_d83d7c97/wm-discover, current version 1.4.3) on SkillHub. It consolidates company/stock codes, industry indices, indicator definitions, XS functions and domain libraries, stock screening fields, and SkillHub skill retrieval into a single “Natural Language Discovery” entry point. Its description also outlines how it interfaces with skills like wm.sh run and wm-report-extract.

What is this

Unified Discovery is a community-sourced (community) Skill categorized under knowledge-management, maintained by the publisher user_d83d7c97 (displayed as Eliaszhou on the SkillHub page).

In a nutshell: It uses natural language to look up company/security codes, industries and indices, SkillHub skills, indicator definitions, and XS functions (vfunc, including example_call_xs / call_spec and domain libraries like kline, notice, filings, etc.; stable domain libraries are preloaded via init), as well as test examples and stock screening fields.

The tag requires_api_key=false indicates that, according to the SkillHub page, it does not rely on additional API Key configuration.

Official Access:

  • API Page: https://api.skillhub.cn/user_d83d7c97/wm-discover
  • SkillHub Page: https://www.skillhub.cn/skills/user_d83d7c97/wm-discover

Core Features

The following capabilities are derived from the official description and SkillHub page content, and can be used in combination as needed.

Security & Industry Retrieval

Parses entities such as company/security codes and industries & indices using natural language, reducing the need for manual cross-referencing across multiple data sources or tables.

Indicators & Screening Fields

Queries indicator definitions and stock screening fields, facilitating the alignment of field meanings and available scopes before writing strategies, backtesting, or conducting conversational analysis.

XS Functions (vfunc) & Domain Libraries

Provides discovery capabilities at the vfunc level for XS functions, associating them with:

  • Call specifications such as example_call_xs and call_spec;
  • Domain libraries: kline, notice, filings, etc. (the description notes that “stable domain libraries are preloaded via init”);
  • Test examples, facilitating usage verification before implementing expressions.

SkillHub Skill Discovery

When unsure which wm- skill to use, the official recommended workflow is: first discover (domain=skill), then execute the specific skill via wm.sh run*. This separates “finding the skill” from “running the skill,” avoiding the execution of incorrect skills before selection is finalized.

Integration with Annual Report Extraction

The description specifies: when extracting original text, page numbers, and quotes from annual report PDFs, one should use wm-report-extract. This creates a clear division of responsibilities compared to the retrieval duties of Unified Discovery.

Installation & Activation

Installation follows the official SkillHub installation documentation: https://skillhub.cn/install/skillhub.md. The installation prompt on the SkillHub page suggests installing the coordinate @user_d83d7c97/wm-discover according to that document.

1. Check or Install SkillHub CLI

First, confirm if skillhub is already on your machine:

command -v skillhub && skillhub --version

If not installed, use the official installation script (full installation includes CLI and default Skills):

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

2. Install to the current Agent’s skills directory

Official Requirement: When installing, you must use --dir to point to the actual skills directory used by your current Agent. Otherwise, it defaults to ./skills/ which may not be recognized.

skillhub install @user_d83d7c97/wm-discover --dir <your skills directory>

Common client skills paths (excerpted from official installation docs; choose one based on your environment):

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

After installation, restart or refresh the Agent according to your client’s conventions to ensure the Skill is loaded.

The differences between Cursor, Codex CLI, and Claude Code mainly lie in the skills directory path; the installation command itself is always skillhub install … --dir …. No additional platform-specific configuration items were found for this Skill.

Typical Usage

The official description does not provide complete copy-pasteable CLI samples, but it provides reproducible workflows and parameter semantics. You can follow the steps below after enabling this Skill in your Agent conversation.

1. Entity & Indicator Queries

Describe the target in natural language within the conversation, for example: the security code for a company, its industry or related index, the definition of a specific indicator, or available stock screening field names. The Agent will complete the retrieval and alignment based on the Unified Discovery SKILL instructions.

2. XS Functions & Domain Libraries

When needing to write or modify XS expressions, first locate the vfunc via the discovery capability, and check if the example_call_xs, call_spec, and domain libraries (such as kline, notice, filings) match the scenario. Stable domain libraries are preloaded during the init phase, reducing the need for repetitive initialization instructions.

3. When unsure about wm-* skills

  1. Use discover and specify domain=skill to narrow down candidate skills in the SkillHub / wm ecosystem.
  2. After selecting a skill, use wm.sh run to execute the specific capability.

4. Annual Report Text & Quotes

If the goal is to obtain original text fragments, page numbers, and quotes from annual report PDFs, switch to wm-report-extract as described, rather than forcing the extraction within Unified Discovery.

Use Cases & Notes

Who is it for

  • Developers building A-share/securities related Agents or analysis tools who frequently need to look up codes, industries, indicators, and XS function documentation.
  • Teams using multiple wm-* skills who want to unify the flow of “discover first, then execute.”
  • Users who wish to integrate SkillHub skill retrieval with local quantitative knowledge (indicators, domain libraries, vfunc) into a single conversational workflow.

Limitations & Notes

  • This Skill focuses on discovery and alignment; simulation backtesting, in-depth XS documentation, and annual report extraction should use their respective wm skills (the description explicitly mentions wm.sh run and wm-report-extract).
  • Incorrect installation paths are a common pitfall: ensure to use skillhub install … --dir <correct directory>.
  • SkillHub Statistics (as of the page and scraped data): Rating 100000, Downloads 1614; if inconsistent with third-party summaries, refer to the SkillHub / API page.
  • The version is based on the current release 1.4.3. Updates can be performed using skillhub with the same --dir (following section 3 of skillhub.md).

Conclusion

Unified Discovery places security entities, indicators & XS domain libraries, screening fields, and SkillHub wm skill retrieval into a single natural language entry point, while clarifying the division of labor with wm.sh run and wm-report-extract. If you are building an Agent within the wm ecosystem, you can start by installing @user_d83d7c97/wm-discover and then select other skills using the domain=skill discovery workflow.

  • SkillHub: https://www.skillhub.cn/skills/user_d83d7c97/wm-discover
  • Installation Guide: https://skillhub.cn/install/skillhub.md
羽毛球分组比赛记分
小程序二维码

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

Xiaoye