Introduction¶
In quantitative trading or investment research, a common requirement is not just checking the fundamentals of a single company, but pulling a candidate pool from the entire market based on a set of criteria: P/E ratio, ROE, dividend yield, industry classification, etc. Writing custom scripts requires integrating fields, aligning cross-sectional data, and distinguishing between two paths—“indicator screening” and “full-text search”—which are easily conflated within Agent conversations.
Below is an introduction to the “Conditional Stock Screening” (wm-screen-index) Skill on SkillHub (Coordinate: @user_d83d7c97/wm-screen-index, current version 2.0.6). It encodes batch screening alongside the listing, execution, and saving of “My Strategies” into the Skill specification. This guides the model to follow a unified convention for invocation, rather than defaulting to a single stock query.
What is this¶
“Conditional Stock Screening” is a community-sourced (community) Skill categorized under data-analysis, maintained by the publisher user_d83d7c97. The SkillHub page lists the author as Eliaszhou. The tags indicate requires_api_key=false, meaning no additional API Key configuration is needed after installation.
One-sentence positioning: Screens a batch of stocks by conditions (P/E ratio, ROE, dividends, industry, etc.) and supports listing, running, and saving user-defined screening strategies. It is NOT a single company query Skill.
Core Functions¶
Based on the official description and SkillHub page details, the verified capabilities include:
- Multi-condition Batch Screening: Supports common dimensions such as P/E ratio, ROE, dividends, and industry, outputting a list of stocks that meet the criteria.
- Strategy Management: Supports listing, executing, and saving “My Strategies” to facilitate running the same set of conditions repeatedly.
- Field and Search Conventions (Encoded in Skill usage constraints):
- Prioritize using
indicatorsfor field alignment. Usesearch/discoveronly when content penetration is required. - Do not default to performing
discoveron the entire library. - Use
$PERCENT_LASTfor today’s or current day’s price change; do not use$CHG_1D_LAST(which implies EOD cross-sectional semantics).
- Prioritize using
On SkillHub, this Skill has a rating of 100000 and 2266 downloads (based on page and API metadata).
Installation and Enablement¶
Installation involves two steps: first, ensure SkillHub CLI is available, then install the Skill into the current Agent’s skills directory.
1. Check or Install SkillHub CLI¶
command -v skillhub && skillhub --version
If not installed, follow the official installation documentation to perform a full installation or install just the CLI:
# Full installation (CLI + Default Skills, recommended)
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
# CLI only installation
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install the “Conditional Stock Screening” Skill¶
The official page provides two equivalent entry points:
- Let the AI install
@user_d83d7c97/wm-screen-indexbased on the SkillHub Installation Instructions. - Install via CLI in the terminal (Must use
--dirto point to the current environment’s skills directory, otherwise it defaults to./skills/and the Agent may fail to load it):
skillhub install @user_d83d7c97/wm-screen-index --dir <skills directory>
Skills directories for common clients (from official installation documentation):
| Environment | 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 requirements to ensure the Skill is recognized.
Typical Usage¶
The Skill constrains Agent behavior via SKILL.md, primarily utilizing natural language tasks. The following examples align with the official description and can be described directly to the Agent after installation (specific underlying interfaces are subject to the documentation within the Skill):
-
Screen pools by indicators
Example: “Screen for a list of A-shares with ROE higher than a certain threshold, P/E ratio lower than a certain threshold, and belonging to specified industries.”
The Agent should prioritize usingindicatorsto align fields as agreed, rather than performing a full-librarydiscoverfirst. -
Conditions related to daily price changes
If conditions involve today’s or current day’s price change, use$PERCENT_LAST; do not use$CHG_1D_LAST. -
Strategy Reuse
- “List my saved stock screening strategies.”
- “Run a specific saved strategy again and save the results.”
When text penetration (e.g., research reports, announcements) is required, combine search / discover with indicators, avoiding unrestricted full-library discover.
Use Cases and Notes¶
Who is it for
- Users working on investment research or quantitative assistance in environments supporting Skills (e.g., Cursor, Claude Code, Codex) who need conversational batch stock screening rather than single-ticket details.
- Users who want to solidify screening logic and strategy saving within Skill rules to reduce the model arbitrarily changing fields or interfaces.
Limitations and Notes
- Positioning: It is for “batches of stocks + strategies.” For deep queries on a single company, switch to other Skills or tools.
- Price changes and cross-sectional fields: Must adhere to the
$PERCENT_LAST/$CHG_1D_LASTinstructions within the Skill to avoid EOD cross-section misuse. - Data and Compliance: The boundaries depend on the data sources connected by the Skill and your use case. This article only introduces Skill capabilities and installation methods and does not constitute investment advice.
Conclusion¶
“Conditional Stock Screening” integrates batch indicator screening, strategy management, and field/search conventions into a single Skill, making it suitable for stable screening tasks within Agent conversations. Official Skill page and installation coordinates:
- SkillHub: https://www.skillhub.cn/skills/user_d83d7c97/wm-screen-index
- Coordinate:
@user_d83d7c97/wm-screen-index(v2.0.6)