Agent skill

A Share Screener

by nicepkg in nicepkg/ai-workflow

Screen and filter A-share stocks based on fundamental metrics, technical indicators, capital flow, and custom criteria.

MITAuto-check passedBusiness, Finance & HR

Install A Share Screener

skills CLI
$ npx skills add nicepkg/ai-workflow --skill a-share-screener -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install nicepkg/ai-workflow a-share-screener --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/nicepkg/ai-workflow.git skills-src && mkdir -p .claude/skills && cp -r skills-src/workflows/stock-trader-workflow/.claude/skills/a-share-screener .claude/skills/a-share-screener && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
a-share-screener
GitHub stars
285
Token cost
~1.5k tokens
SKILL.md length
409 words
Files
1
Skills in repo
75
Repo updated
First seen
Licence
MIT

At a glance

Screen and filter A-share stocks based on fundamental metrics, technical indicators, capital flow, and custom criteria.

  • Works in 4 steps: Fundamental Screening (基本面选股) → Technical Screening (技术面选股) → Capital Flow Screening (资金面选股) → …
  • User wants to find stocks meeting specific criteria like 低PE高ROE股票
  • SKILL.md covers Overview, Screening Categories, Preset Screening Strategies and Output Format, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

A Share Screener is an agent skill from nicepkg/ai-workflow. Screen and filter A-share stocks based on fundamental metrics, technical indicators, capital flow, and custom criteria. Support multiple screening strategies including value investing, growth investing, momentum trading, and dividend hunting. Use when user wants to find stocks meeting specific criteria like "低PE高ROE股票", "北向资金加仓股", "突破年线的股票".

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Business, Finance & HR, covering Trading and backtesting and Stock and market analysis. The repository describes itself as: 🚀 170+ pre-built skills for Claude Code, Cursor, Codex & 14+ AI tools. Stop re-teaching your AI the same things. One command → instant domain expertise. Marketing, SEO, Trading… The licence is MIT.

When your agent uses it

  • User wants to find stocks meeting specific criteria like 低PE高ROE股票
  • Tasks that involve Trading and backtesting
  • Tasks that involve Stock and market analysis

Example prompts

  • “低PE高ROE股票”
  • “北向资金加仓股”
  • “突破年线的股票”
  • “/a-share-screener”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Fundamental Screening (基本面选股)
  2. Technical Screening (技术面选股)
  3. Capital Flow Screening (资金面选股)
  4. Market Segment Screening (板块筛选)

What it can do on your machine

Read from SKILL.md and the folder at commit d167b41. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

A Share Screener loads about 1.5k tokens when it runs. Until then it costs about 90 tokens; SKILL.md has 409 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~90
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from nicepkg/ai-workflow at commit d167b41, republished under its MIT licence (© nicepkg). 409 words, ~1,481 tokens.

Download SKILL.mdSave it as .claude/skills/a-share-screener/SKILL.md (or your agent's skills folder).
name
a-share-screener
description
Screen and filter A-share stocks based on fundamental metrics, technical indicators, capital flow, and custom criteria. Support multiple screening strategies including value investing, growth investing, momentum trading, and dividend hunting. Use when user wants to find stocks meeting specific criteria like "低PE高ROE股票", "北向资金加仓股", "突破年线的股票".

A股选股器 (A-Share Stock Screener)

Overview

Screen A-share stocks using various criteria including fundamental metrics, technical indicators, capital flow patterns, and combined strategies. Support preset screening strategies and custom filter combinations.

Screening Categories

1. Fundamental Screening (基本面选股)

Value Metrics (价值指标):

MetricChineseTypical Criteria
P/E Ratio市盈率< 15 (value), < 行业均值
P/B Ratio市净率< 1.5, < 行业均值
P/S Ratio市销率< 2
PEG RatioPEG< 1 (被低估)
Dividend Yield股息率> 3%
EV/EBITDA< 10

Quality Metrics (质量指标):

MetricChineseTypical Criteria
ROE净资产收益率> 15%
ROA总资产收益率> 5%
Gross Margin毛利率> 30%
Net Margin净利率> 10%
Operating Cash Flow经营现金流> 净利润

Growth Metrics (成长指标):

MetricChineseTypical Criteria
Revenue Growth营收增速> 20% YoY
Profit Growth利润增速> 20% YoY
EPS Growth每股收益增速> 15%
3Y CAGR三年复合增长率> 15%

Financial Health (财务健康):

MetricChineseTypical Criteria
Debt Ratio资产负债率< 60%
Current Ratio流动比率> 1.5
Quick Ratio速动比率> 1
Interest Coverage利息保障倍数> 3
Cash/Debt货币资金/有息负债> 1
2. Technical Screening (技术面选股)

Trend Filters (趋势筛选):

CriteriaChineseDescription
Above MA200站上年线价格 > 200日均线
Above MA60站上季线价格 > 60日均线
Golden Cross金叉短期均线上穿长期均线
Death Cross死叉短期均线下穿长期均线
New High创新高52周/历史新高
Breakout突破突破关键阻力位

Momentum Filters (动量筛选):

CriteriaChineseDescription
RSIRSI指标RSI > 50 (上涨趋势)
MACDMACDMACD > 0 或金叉
Volume Surge放量成交量 > 5日均量 x 2
Price Range振幅近期振幅筛选

Pattern Filters (形态筛选):

  • 连续涨停
  • 涨停后缩量整理
  • 底部放量
  • W底形态
  • 头肩底形态
Show full SKILL.md (193 more words)Show less
3. Capital Flow Screening (资金面选股)

Northbound Capital (北向资金):

CriteriaChineseDescription
NB Holdings北向持仓北向持股比例 > X%
NB Increasing北向加仓近N日北向净买入
NB Heavy北向重仓北向持股市值前100

Institutional Flow (主力资金):

CriteriaChineseDescription
Main Inflow主力净流入近N日主力净流入 > X亿
Big Order Net大单净买大单净买入额 > X亿
Dragon Tiger龙虎榜近期上榜

Shareholder Analysis (股东分析):

CriteriaChineseDescription
Holder Decrease股东户数减少筹码集中
Institution Increase机构增持机构持仓增加
Buyback回购公司回购股票
4. Market Segment Screening (板块筛选)

By Board (按板块):

  • 沪市主板 (60开头)
  • 深市主板 (00开头)
  • 创业板 (30开头)
  • 科创板 (688开头)
  • 北交所 (8开头)

By Index (按指数):

  • 沪深300成分股
  • 中证500成分股
  • 创业板50成分股
  • 科创50成分股
  • MSCI中国成分股

By Industry (按行业):

  • 申万一级/二级/三级行业
  • 同花顺行业分类
  • Wind行业分类

By Concept (按概念):

  • 热门概念板块
  • 政策受益概念
  • 国企改革、专精特新等

Preset Screening Strategies

Strategy 1: 价值投资选股
筛选条件:
- PE < 15 AND PE > 0
- PB < 2
- ROE > 12%
- 资产负债率 < 60%
- 股息率 > 2%
- 市值 > 100亿
Strategy 2: 成长股选股
筛选条件:
- 营收增速 > 20%
- 净利润增速 > 25%
- ROE > 15%
- 毛利率 > 30%
- PEG < 1.5
- 经营现金流 > 0
Strategy 3: 白马股选股
筛选条件:
- 沪深300成分股
- ROE > 15% (连续3年)
- 净利润增速 > 10%
- 资产负债率 < 70%
- 北向持股比例 > 2%
Strategy 4: 高股息选股
筛选条件:
- 股息率 > 4%
- 连续分红年数 > 5年
- 分红率 > 30%
- ROE > 10%
- 资产负债率 < 60%
Strategy 5: 北向资金重仓
筛选条件:
- 北向持股比例 > 5%
- 近20日北向净买入 > 0
- 市值 > 200亿
- PE < 30
Strategy 6: 技术突破选股
筛选条件:
- 今日收盘 > 20日均线
- 今日收盘 > 60日均线
- 5日均线 > 20日均线
- 成交量 > 5日均量
- MACD > 0
Strategy 7: 超跌反弹选股
筛选条件:
- 近20日跌幅 > 15%
- RSI < 30
- 市净率 < 行业平均
- ROE > 8%
- 股东户数近期减少
Strategy 8: 涨停板战法
筛选条件:
- 今日涨停或近3日有涨停
- 换手率 < 15%
- 市值 < 200亿
- 非ST股票
- 成交额 > 1亿

Output Format

Screening Results Template
markdown
# 选股结果: [策略名称]

## 筛选条件
| 条件 | 设置值 |
|-----|-------|
| [条件1] | [值] |
| [条件2] | [值] |
| ... | ... |

## 筛选结果 (共X只)

| 代码 | 名称 | 行业 | 市值 | PE | PB | ROE | 股息率 | 涨跌幅 |
|-----|------|-----|------|----|----|-----|-------|-------|
| 600519 | 贵州茅台 | 白酒 | XXXX亿 | XX | XX | XX% | X.X% | X.XX% |
| ... | | | | | | | | |

## 重点关注 (Top 5)

### 1. [股票名称] ([代码])
- **入选理由:** [符合条件的关键指标]
- **亮点:** [投资亮点]
- **风险:** [主要风险点]

### 2. [股票名称] ([代码])
...

## 筛选说明
[对本次筛选结果的整体评价和投资建议]
Comparison Template
markdown
# 选股对比: [股票列表]

## 基本面对比
| 指标 | [股票1] | [股票2] | [股票3] | 优选 |
|-----|---------|---------|---------|------|
| PE | | | | |
| PB | | | | |
| ROE | | | | |
| 增速 | | | | |
| 股息率 | | | | |

## 技术面对比
| 指标 | [股票1] | [股票2] | [股票3] | 优选 |
|-----|---------|---------|---------|------|
| 趋势 | | | | |
| 位置 | | | | |
| 动量 | | | | |

## 综合评分
| 股票 | 基本面 | 技术面 | 资金面 | 综合 |
|-----|-------|-------|-------|------|
| | X/10 | X/10 | X/10 | X/10 |

## 投资建议
[综合分析后的投资建议]

Data Sources

Use web search to query:

  • 东方财富选股器: "东方财富 选股 [条件]"
  • 同花顺i问财: "i问财 [自然语言条件]"
  • 雪球选股: "雪球 筛选 [条件]"

Natural Language Queries:

  • "PE低于15 ROE大于15的股票"
  • "北向资金连续5日加仓的股票"
  • "创业板 近期突破年线的股票"
  • "高股息 低估值 的银行股"

Example Queries

基本面选股:

  • "帮我找低估值高分红的股票"
  • "ROE大于20%的消费股有哪些"
  • "筛选PEG小于1的成长股"
  • "资产负债率低于50%的科技股"

技术面选股:

  • "找出突破年线的股票"
  • "最近金叉的蓝筹股"
  • "创新高的股票有哪些"
  • "超跌反弹的候选股票"

资金面选股:

  • "北向资金重仓的股票"
  • "主力连续流入的股票"
  • "股东户数持续减少的股票"
  • "近期龙虎榜机构买入的股票"

组合筛选:

  • "给我一个价值投资选股结果"
  • "用白马股策略筛选"
  • "找高股息低波动的股票做防守"
  • "用CANSLIM方法选股"

自定义筛选:

  • "PE<20, ROE>15%, 市值>100亿, 北向持股>3%"
  • "创业板, 近一年涨幅<-30%, PB<3"

© nicepkg, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in workflows/stock-trader-workflow/.claude/skills/a-share-screener of nicepkg/ai-workflow.

Open the folder on GitHubat commit d167b41

Compare with similar skills

A Share Screener next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

A Share Screener compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
A Share Screener this skillnicepkg/ai-workflow285—~1.5kAutomated safety check: PassMIT
Tushare Datazillionare/zillionare3222 repos~2.3kAutomated safety check: PassNone
Tradingview MCPatilaahmettaner/tradingview-mcp5k—~1.3kAutomated safety check: PassMIT
Digital Oraclekomako-workshop/digital-oracle878—~5.9kAutomated safety check: PassMIT
Worth Buy Stocksstarriv/worth-buy-stocks175—~4.5kAutomated safety check: NotesNone
Regimejackson-video-resources/markov-hedge-fund-method484—~1.6kAutomated safety check: PassCustom licence

Similar skills

  • Tushare Data

    zillionare/zillionare

    面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。

    322 GitHub starsUsed in 2 repos~2.3k tokens
    Business, Finance & HRAuto-check passed
  • Tradingview MCP

    atilaahmettaner/tradingview-mcp

    AI Trading Intelligence — live prices, 30+ technical indicators, backtesting (6 strategies), walk-forward overfitting detection, trade logs, equity curves, licensed news sentiment (Marketaux), and…

    5k GitHub stars~1.3k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Digital Oracle

    komako-workshop/digital-oracle

    Answer prediction questions using market trading data, not opinions.

    878 GitHub stars~5.9k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check passed
  • Worth Buy Stocks

    starriv/worth-buy-stocks

    Evaluate US stocks under an Alpaca trend and relative-strength framework, and prioritize defined-risk net-credit income spreads: Bull Put/Bear Call first, Iron Condor second.

    175 GitHub stars~4.5k tokensUpdated 8 days ago
    Business, Finance & HRAuto-check: notes
  • Regime

    jackson-video-resources/markov-hedge-fund-method

    Detect the market regime (Bull / Bear / Sideways) for ANY asset and turn it into a tradeable signal or a risk filter.

    484 GitHub stars~1.6k tokensUpdated 4 mo ago
    Business, Finance & HRAuto-check passed
  • Agentic Trading Desk

    Oft3r/agentic-trading-desk

    Personal trading desk for short-term technical analysis on stocks/ETFs via Robinhood MCP.

    306 GitHub stars~5.1k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed

More from nicepkg/ai-workflow

All 75 skills in this repo
  • Capture Triage

    nicepkg/ai-workflow

    Processes Drafts Pro captures from the Inbox folder. An agent skill from nicepkg/ai-workflow.

    285 GitHub stars~3k tokensUpdated 8 mo ago
    Auto-check passed
  • Legacy To AI Ready

    nicepkg/ai-workflow

    Transform legacy codebases into AI-ready projects with Claude Code configurations.

    285 GitHub stars~2.2k tokensUpdated 8 mo ago
    Auto-check: notes
  • Newsletter Coach

    nicepkg/ai-workflow

    Writing coach that extracts educational content from your daily experiences and turns it into publish-ready newsletter drafts.

    285 GitHub stars~3.7k tokensUpdated 8 mo ago
    Auto-check passed
  • Webfluence

    nicepkg/ai-workflow

    Content web architecture framework. An agent skill from nicepkg/ai-workflow.

    285 GitHub stars~1.4k tokensUpdated 8 mo ago
    Auto-check passed
  • Workflow Creator

    nicepkg/ai-workflow

    Create complete Claude Code workflow directories with curated skills.

    285 GitHub stars~2.6k tokensUpdated 8 mo ago
    Auto-check passed
  • Media Processing

    nicepkg/ai-workflow

    Video/audio/image processing with FFmpeg and ImageMagick. An agent skill from nicepkg/ai-workflow.

    285 GitHub stars~2.4k tokensUpdated 8 mo ago
    Auto-check: notes

Questions about A Share Screener

What does A Share Screener do?

Screen and filter A-share stocks based on fundamental metrics, technical indicators, capital flow, and custom criteria. A Share Screener is an agent skill from nicepkg/ai-workflow. Screen and filter A-share stocks based on fundamental metrics, technical indicators, capital flow, and custom criteria.

When should I use A Share Screener?

A Share Screener fits situations like: user wants to find stocks meeting specific criteria like 低PE高ROE股票; tasks that involve Trading and backtesting; tasks that involve Stock and market analysis.

How do I install A Share Screener in Claude Code?

Run `npx skills add nicepkg/ai-workflow --skill a-share-screener -a claude-code`. Or copy the skill folder (workflows/stock-trader-workflow/.claude/skills/a-share-screener in nicepkg/ai-workflow) into .claude/skills/a-share-screener in your project. Claude Code loads it when a task matches its description.

How do I install A Share Screener in Codex?

Run `npx skills add nicepkg/ai-workflow --skill a-share-screener -a codex`. Or copy the skill folder (workflows/stock-trader-workflow/.claude/skills/a-share-screener in nicepkg/ai-workflow) into .agents/skills/a-share-screener in your project. Codex loads it when a task matches its description.

Can I use A Share Screener in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add nicepkg/ai-workflow --skill a-share-screener -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/a-share-screener, .gemini/skills/a-share-screener, .github/skills/a-share-screener and .opencode/skills/a-share-screener in your project.

What does A Share Screener need to run?

SKILL.md names no scripts, command-line tools or credentials: A Share Screener is instructions for the agent only.

Does A Share Screener access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is A Share Screener safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does A Share Screener use?

A Share Screener is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does A Share Screener use?

About 1.5k tokens (SKILL.md is roughly 5.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to A Share Screener?

Skills that share tags, products or a category with A Share Screener: Tushare Data (zillionare/zillionare, 322 stars), Tradingview MCP (atilaahmettaner/tradingview-mcp, 5k stars), Digital Oracle (komako-workshop/digital-oracle, 878 stars) and Worth Buy Stocks (starriv/worth-buy-stocks, 175 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains A Share Screener?

nicepkg (a GitHub organization) maintains it in nicepkg/ai-workflow, which has 285 GitHub stars. The repository holds 75 skills in this directory. The repository was last updated on January 20, 2026.

Source: nicepkg/ai-workflow on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.