a-share-data

a-share-data is a skill for Claude Code, Codex from shouldnotappearcalm/a-share-skill. It costs 93 tokens per session (2,349 once invoked), scanned A, original, MIT.

A data lookup skill for mainland Chinese A-shares, meaning stocks traded on China's Shanghai and Shenzhen exchanges. It covers prices, history, indicators, company events, sectors, concepts, market news, and macroeconomic data.

In plain words
What is it for?
Use it to check a stock or sector, review technical and financial data, inspect market heat maps and news, or find trading calendars and A-share/H-share listing events.
Why use it?
It gathers market information through structured scripts instead of requiring manual web-page scraping.

Skill for Claude CodeCodex

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

Good fit Use it to check a stock or sector, review technical and financial data, inspect market heat maps and news, or find trading calendars and A-share/H-share listing events.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shouldnotappearcalm/a-share-skill/a-share-data
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 shouldnotappearcalm/a-share-skill --skill a-share-data
Clone the repo
git clone --depth 1 https://github.com/shouldnotappearcalm/a-share-skill

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 a-share-data

README.md
[![agentmods](https://agentmods.dev/badge/skills/shouldnotappearcalm/a-share-skill/a-share-data/github.svg)](https://agentmods.dev/skills/shouldnotappearcalm/a-share-skill/a-share-data)
Your own site
<a href="https://agentmods.dev/skills/shouldnotappearcalm/a-share-skill/a-share-data"><img src="https://agentmods.dev/badge/skills/shouldnotappearcalm/a-share-skill/a-share-data/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 a-share-data

Your own site · 80×15
<a href="https://agentmods.dev/skills/shouldnotappearcalm/a-share-skill/a-share-data"><img src="https://agentmods.dev/badge/skills/shouldnotappearcalm/a-share-skill/a-share-data.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,349 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00093 $0.02349
Opus 5.5 $0.00037 $0.00940
Sonnet 5.5 $0.00019 $0.00470
Haiku 4.5 $0.00009 $0.00235

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

Security

Grade A, and why

a-share-data scanned grade A with 0 findings 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 10d ago.

The scan reads SKILL.md. This mod also ships 22 executable files (scripts/Ashare.py, scripts/check_data_health.py, scripts/data_runtime.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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

a-share-data/SKILL.md · 95 lines

How it starts

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

A股数据查询

使用方式

从本技能的 scripts/ 调用取数程序,先按下表选择入口,再按需读取对应参考。代码、依赖和参考文件均随本技能目录安装。

SKILL_DIR="<本技能安装目录的绝对路径>"
cd "$SKILL_DIR"
python3 -m pip install akshare MyTT pandas numpy requests beautifulsoup4

Python 3.9+;仅查询公司资讯时只需 requests;新增概念/公司事件/池详情/席位只需 requests,概念的同花顺解析另需 beautifulsoup4。以下示例均从技能根目录执行。

功能与脚本路由

用户要查什么 入口 何时阅读参考
单票/批量报价、分钟线、大盘指数、龙虎榜、涨跌停、资金流 scripts/fetch_realtime.py 参数见 API参考
历史K线、复权选择、分红、交易日历、指数成分、业绩预告/快报、宏观 scripts/fetch_history.py 普通参数见 API参考;复权与缓存见 数据口径
综合或单项财务指标、某日之前已公告的指标 scripts/fetch_history.py 先读 财务日期口径
MA、MACD、KDJ、RSI、BOLL等技术指标 scripts/fetch_technical.py API参考
某公司最近新闻/公告、近7天发生什么 scripts/fetch_company_news.py 公司资讯;优先于全市场业绩或舆情入口
公司有哪些概念、为何入选、同花顺常规/新兴/其他概念 scripts/fetch_stock_concepts.py 先读 概念与重点数据说明;保留供应商依据原文
个股/日期窗口解禁、回购计划及进度、已披露股东增减持 scripts/fetch_corporate_actions.py 先读 公司事件说明;按公告/解禁日期分别查询
涨停/炸板的封板时间、炸板次数、封单、连板及原始详情;龙虎榜买卖席位 scripts/fetch_market_details.py 先读 池详情与龙虎榜席位;核对真实交易日及沪深/全A覆盖范围
行业目录、申万1/2/3级分类、指定行业真实成分、行业指数历史 scripts/fetch_industry.py 先读 行业目录与成分
单只/多只股票所属行业与证券名称 scripts/fetch_sector_info.py API参考;当前文档化路径加 --no-concepts
热门行业/概念、涨跌幅榜、热力图、指定板块groupKey成员、市场快讯 scripts/fetch_danginvest.py 先读 板块与快讯;检查stale
个股业绩预告/快报和旧事件聚合入口 scripts/fetch_stock_events.py API参考;解禁/回购/增减持优先用新的公司事件入口,未分类新闻不能填成合同/监管事件
A+H公司清单、H股上市日期范围 scripts/fetch_ah_stocks.py API参考
A股赴港递表、聆讯、备案、招股、定价、配售、上市节点 scripts/fetch_ah_ipo_timeline.py API参考

Read the full file on GitHub · 95 lines

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. 10d ago Changed · -62 lines · -4 tokens per session c17dbcd2e085
  2. 1mo ago First seen · 157 lines · 97 tokens per session scan A 0645411d14e8

Subscribe to this mod's changes

a-share-data is a skill published in the GitHub repository shouldnotappearcalm/a-share-skill (249 stars, last pushed 11d ago), licensed MIT. It adds 93 tokens to every session and 2,349 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. 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

china-dcf-model

A documented discounted-cash-flow model for valuing non-financial A-share companies. A discounted-cash-flow model estimates today’s value from expected future cash flows and makes its assumptions, valuation date, and adjustments explicit.

cyijun/china-financial-services · 76 tokens

pptx-author

Produce a .pptx file on disk for headless Chinese A-share market research, using python-pptx with Chinese font support. Use when no controllable Office session is available.

cyijun/china-financial-services · 41 tokens

industry-etf-research

A research workflow for studying Chinese A-share industry ETFs and the indexes they track. It compares index rules, holdings, company fundamentals, industry conditions, valuations and market evidence.

cyijun/china-financial-services · 90 tokens

china-market-data

A routing and quality-check process for obtaining Chinese stock-market and company-financial data from sources such as Tushare Pro and AKShare.

cyijun/china-financial-services · 106 tokens

a-share-factor-validation

A research checklist and toolkit for testing stock-selection factors and backtests in China's A-share market, the mainland Chinese stock market. It checks whether results avoid future-data leakage and account for trading rules, costs, and statistical uncertainty.

cyijun/china-financial-services · 68 tokens

china-market-researcher

A research workflow for analysing Chinese-listed stocks by industry or investment theme, including companies, competitors, ETFs, and market data. A-share means shares listed on mainland Chinese stock exchanges.

cyijun/china-financial-services · 64 tokens