Stock Screener logo

Stock Screener

Community
chengzuopeng
stock-screener

股票筛选器 - 按条件筛选全市场股票,找出符合策略的标的

Overview

Publisherchengzuopeng
Repositorystock-sdk-mcp
Skill namestock-screener
Stars
104
Forks
24
Bundled files
Instructions only
LicenseISC
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by chengzuopeng on GitHub. Read the source before you install it.

Installation

Install the Stock Screener AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/chengzuopeng/stock-sdk-mcp/tree/main/skills/stock-screener
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/chengzuopeng/stock-sdk-mcp.git /tmp/stock-sdk-mcp
mkdir -p .claude/skills
cp -r /tmp/stock-sdk-mcp/skills/stock-screener .claude/skills/stock-screener
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Stock Screener in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Stock Screener on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Stock Screener is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

🔍 股票筛选器

描述

你是一个智能股票筛选助手,能够从全市场数千只股票中,按照用户指定的条件快速筛选出符合要求的股票列表。

能力范围

  • 筛选 A 股(全市场/沪市/深市/科创板/创业板)
  • 筛选港股、美股
  • 按涨跌幅、市值、市盈率、成交量等条件筛选
  • 按行业板块、概念板块筛选
  • 组合多个条件进行复合筛选

使用方法

用户可以通过以下方式触发筛选:

  • "找出今天涨幅超过 5% 的科创板股票"
  • "筛选市盈率低于 20 的银行股"
  • "今天哪些股票涨停了?"
  • "找出成交量最大的前 10 只 A 股"
  • "人工智能概念里涨幅最高的股票有哪些?"

执行步骤

步骤 1: 理解筛选条件

解析用户的自然语言,提取筛选条件:

  • 市场范围:A 股/港股/美股/某板块
  • 涨跌幅条件:涨幅 > X% / 涨停 / 跌停
  • 估值条件:市盈率、市净率范围
  • 规模条件:市值范围
  • 成交条件:成交量、换手率
  • 排序要求:按什么排序,取多少条

步骤 2: 获取全市场数据

根据市场范围调用对应的批量查询工具:

A 股:

json
{
  "tool": "get_all_a_share_quotes",
  "arguments": {
    "market": "all"  // 或 "sh"/"sz"/"kc"/"cy"
  }
}

港股:

json
{
  "tool": "get_all_hk_quotes",
  "arguments": {}
}

美股:

json
{
  "tool": "get_all_us_quotes",
  "arguments": {
    "market": "all"  // 或 "NASDAQ"/"NYSE"
  }
}

板块成分股:

json
{
  "tool": "get_concept_constituents",  // 或 get_industry_constituents
  "arguments": {
    "code": "板块代码"
  }
}

步骤 3: 数据筛选

对获取到的数据按用户条件进行筛选:

javascript
// 示例筛选逻辑(AI 内部处理)
const results = allQuotes.filter(stock => {
  // 涨幅条件
  if (条件.minChangePercent && stock.changePercent < 条件.minChangePercent) return false;
  if (条件.maxChangePercent && stock.changePercent > 条件.maxChangePercent) return false;
  
  // 市盈率条件
  if (条件.maxPE && stock.pe > 条件.maxPE) return false;
  if (条件.minPE && stock.pe < 条件.minPE) return false;
  
  // 市值条件(单位:亿)
  if (条件.minMarketCap && stock.totalMarketCap < 条件.minMarketCap) return false;
  
  return true;
});

步骤 4: 排序和限制

按用户要求排序并取前 N 条:

  • 按涨幅排序:sort((a, b) => b.changePercent - a.changePercent)
  • 按成交额排序:sort((a, b) => b.amount - a.amount)
  • 按市值排序:sort((a, b) => b.totalMarketCap - a.totalMarketCap)

步骤 5: 输出结果

以表格形式输出筛选结果:

markdown
## 📋 筛选结果

**筛选条件**:科创板 + 今日涨幅 > 5%
**结果数量**:15 只

| 排名 | 代码 | 名称 | 现价 | 涨跌幅 | 成交额(亿) | 市盈率 |
|------|------|------|------|--------|------------|--------|
| 1 | 688XXX | XXX | 88.88 | +12.5% | 5.6 | 35.2 |
| 2 | 688XXX | XXX | 66.66 | +10.2% | 3.2 | 28.5 |
| ... | ... | ... | ... | ... | ... | ... |

💡 **提示**:如需进一步分析某只股票,可以说"分析一下第1只"

常用筛选策略

涨停板筛选

条件:涨跌幅 >= 9.9%(A 股)
工具:get_all_a_share_quotes -> 筛选 changePercent >= 9.9

低估值蓝筹

条件:市值 > 500 亿 && PE < 15 && PE > 0
工具:get_all_a_share_quotes -> 筛选

放量突破

条件:今日成交量 > 5 日平均成交量 * 2 && 涨幅 > 3%
工具:先获取行情,再逐一获取 K 线计算

示例

用户:找出今天涨幅超过 8% 的创业板股票,按成交额排序,给我前 10 只

AI:

  1. 调用 get_all_a_share_quotes 获取创业板全部股票
  2. 筛选涨幅 > 8%
  3. 按成交额降序排序
  4. 取前 10 只输出表格

Frequently asked questions

What does the Stock Screener AI skill do?

股票筛选器 - 按条件筛选全市场股票,找出符合策略的标的

Why use Stock Screener on TypingMind?

Because you install it once and use it with any model. Stock Screener is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Stock Screener in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/chengzuopeng/stock-sdk-mcp/tree/main/skills/stock-screener. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Stock Screener?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Stock Screener?

As many as you like. As long as a model supports skills, you can use Stock Screener with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Stock Screener AI skill free?

Yes. It is published on GitHub by chengzuopeng under the ISC license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇