eastmoney_select_stock

eastmoney_select_stock is a skill for Claude Code, Codex from meission/eastmoney. It costs 81 tokens per session (1,932 once invoked), scanned A, original, MIT.

A Chinese-language stock-screening skill that uses natural-language conditions to find stocks, companies, or members of industries and indexes in mainland China, Hong Kong, and the United States.

In plain words
What is it for?
Filtering stocks by price or financial conditions, finding industry or index constituents, and exporting matching results to a CSV file.
Why use it?
It can query current market data through the Eastmoney API instead of relying on potentially outdated knowledge in an AI model.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Filtering stocks by price or financial conditions, finding industry or index constituents, and exporting matching results to a CSV file.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/meission/eastmoney/select-stock
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add meission/eastmoney --skill select-stock
Clone the repo
git clone --depth 1 https://github.com/meission/eastmoney

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for eastmoney_select_stock

README.md
[![agentmods](https://agentmods.dev/badge/skills/meission/eastmoney/select-stock/github.svg)](https://agentmods.dev/skills/meission/eastmoney/select-stock)
Your own site
<a href="https://agentmods.dev/skills/meission/eastmoney/select-stock"><img src="https://agentmods.dev/badge/skills/meission/eastmoney/select-stock/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for eastmoney_select_stock

Your own site · 80×15
<a href="https://agentmods.dev/skills/meission/eastmoney/select-stock"><img src="https://agentmods.dev/badge/skills/meission/eastmoney/select-stock.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,932 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00081 $0.01932
Opus 5 $0.00041 $0.00966
Sonnet 5 $0.00016 $0.00386
Haiku 4.5 $0.00008 $0.00193

Measured 11d ago against content hash 2550a2865fc4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

eastmoney_select_stock scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/stock_screen.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST --location 'https://mkapi2.dfcfs.com/finskillshub/api/claw/stock-screen' \
skills/select-stock/SKILL.md · 162 lines

How it starts

The opening of the file, as written. The whole thing — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.

东方财富智能选股skill (eastmoney_select_stock)

通过自然语言查询进行选股(支持市场:A股、港股、美股),返回符合条件的股票列表,可自动导出为CSV文件。

使用方式

  1. 首先检查环境变量EASTMONEY_APIKEY是否存在:

    echo $EASTMONEY_APIKEY
    

    如果不存在,提示用户在东方财富Skills页面(https://marketing.dfcfs.com/views/finskillshub/indexuNdYscEA?appfenxiang=1)获取apikey并设置到环境变量。

    ⚠️ 安全注意事项

    • 外部请求: 本 Skill 会将用户的查询关键词(Keyword)发送至东方财富官方 API 接口 (mkapi2.dfcfs.com) 进行解析与检索。
    • 数据用途: 提交的数据仅用于匹配选股条件,不包含个人隐私信息。
    • 凭据保护: API Key 仅通过环境变量 EASTMONEY_APIKEY 在服务端或受信任的运行环境中使用,不会在前端明文暴露。
  2. 使用POST请求调用接口:

    curl -X POST --location 'https://mkapi2.dfcfs.com/finskillshub/api/claw/stock-screen' \
    --header 'Content-Type: application/json' \
    --header "apikey: $EASTMONEY_APIKEY" \
    --data '{"keyword": "选股条件", "pageNo": 1, "pageSize": 20}'
    

适用场景

当用户查询以下类型的内容时使用本skill:

  • 条件选股:如"今日涨幅2%的股票"、"市盈率低于10的银行股"、"连续3天上涨的科技股"
  • 板块/行业成分股:如"半导体板块的成分股"、"新能源行业的上市公司"
  • 指数成分股:如"沪深300成分股"、"科创50成分股列表"
  • 股票推荐:如"低估值高分红的股票推荐"、"近期有主力资金流入的股票"
  • 市场筛选:如"港股通标的股"、"美股中概股列表"

请求参数说明

参数 类型 必填 说明
keyword 字符串 自然语言描述的选股条件
pageNo 数字 页码,默认1
pageSize 数字 每页数量,默认20,最大200

接口结果释义

一、顶层核心状态/统计字段

字段路径 类型 核心释义
status 数字 接口全局状态,0 = 成功
message 字符串 接口全局提示,ok = 成功
data.code 字符串 选股业务层状态码,100 = 解析成功
data.msg 字符串 选股业务层提示
data.data.resultType 数字 结果类型枚举,2000 为标准选股结果
data.data.result.total 数字 【核心】选股结果总数量(符合条件的股票数)

2.1 列定义:data.data.result.columns(数组)

核心作用:定义表格每一列的展示规则,与dataList的行数据键一一映射。

子字段 类型 核心释义
title 字符串 表格列展示标题(如最新价 (元)、涨跌幅 (%))
key 字符串 【核心】列唯一业务键,与dataList中对象的键映射
unit 字符串 列数值单位(元、%、股、倍)
dataType 字符串 列数据类型(String/Double/Long)

2.2 行数据:data.data.result.dataList(数组)

核心作用:选股结果的具体股票数据,每个对象对应一只符合条件的股票。

核心键 数据类型 核心释义
SERIAL 字符串 表格行序号
SECURITY_CODE 字符串 股票代码(如 603866、300991)
SECURITY_SHORT_NAME 字符串 股票简称(如桃李面包、创益通)
MARKET_SHORT_NAME 字符串 市场简称(SH = 上交所,SZ = 深交所,HK = 港交所,US = 美股)
NEWEST_PRICE 数字/字符串 最新价(单位:元)
CHG 数字/字符串 涨跌幅(单位:%)
PCHG 数字/字符串 涨跌额(单位:元)

Read the full file on GitHub · 162 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 162 lines · 81 tokens per session scan A 2550a2865fc4

Subscribe to this mod's changes

eastmoney_select_stock is a skill published in the GitHub repository meission/eastmoney (17 stars, last pushed 5mo ago), licensed MIT. It adds 81 tokens to every session and 1,932 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

chenhao-limit-up

A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.

questflowai/investorskills · 44 tokens

furusato

A Japanese hometown-tax donation manager for furusato nozei, a system where donations to municipalities can qualify for an income-tax or local-tax deduction. It reads donation receipts, stores donation records, and calculates deduction limits.

kazukinagata/shinkoku · 102 tokens

reading-receipt

An image-reading workflow for extracting structured information from receipts, invoices, and hometown-tax donation certificates. It can first extract text from PDFs and otherwise read their images.

kazukinagata/shinkoku · 64 tokens