market

market is a skill for Claude Code, Codex from Fize/mmtickerlab. It costs 154 tokens per session (2,406 once invoked), scanned A, original, MIT.

A skill that returns checked raw and aggregated data about China's A-share stock market in JSON. A-shares are shares listed on mainland Chinese stock exchanges.

In plain words
What is it for?
Use it to query prices, charts, trading limits, money flows, large trades, market rankings, financial data, news, and other listed market records.
Why use it?
It provides date-checked market records without adding conclusions or trading advice.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to query prices, charts, trading limits, money flows, large trades, market rankings, financial data, news, and other listed market records.

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

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 market

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/fize/mmtickerlab/market"><img src="https://agentmods.dev/badge/skills/fize/mmtickerlab/market.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 154 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,406 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.
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.00154 $0.02406
Opus 5.5 $0.00062 $0.00962
Sonnet 5.5 $0.00031 $0.00481
Haiku 4.5 $0.00015 $0.00241

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

Security

Grade A, and why

market 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 2mo ago.

The scan reads SKILL.md. This mod also ships 9 executable files (scripts/akshare_patch.py, scripts/cache_db.py, scripts/indicators.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.

market/SKILL.md · 150 lines

How it starts

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

Market Data

本技能只负责采集、校验和输出数据。所有命令从项目根目录运行,stdout 只包含一个 JSON 文档;重试和供应商诊断写入 stderr。全市场快照、板块资金流、大单和完整财务报表落盘后返回紧凑视图与 raw.path,需要明细时按路径局部读取。不要根据数据在本技能内生成主线、周期、买卖或仓位结论。

本技能可以独立运行,不要求先生成其他 Skill 的报告。数据缺失时可从已配置的供应商或权威交易所来源补充,但必须核验日期、时点、字段、单位和覆盖范围;来源冲突或关键字段仍不可核验时直接阻断,并保留结构化阻断原因。

原始明细是聚合结果的事实基础。现有命令获取到明细时同步写入 market/data/market_raw.db;重复内容去重,供应商修订保留为新观察版本。用户查询本地没有的数据时先尝试供应商,只有供应商也无法提供时才阻断。

环境

uv venv market/.venv
uv pip install --python market/.venv -r market/requirements.txt

统一入口:

market/.venv/bin/python market/scripts/market_data.py DATASET --date YYYYMMDD

数据供应商分工与架构

技能采用双引擎 + 自动容灾架构稳定覆盖全市场:

  1. 海外标的与跨市场(港股、美股、隔夜指数):
    • 主要接口:采用 yfinance 作为第一数据源。
    • 自动容灾:当遭遇外部频控或网络波动时,自动无缝降级到新浪极速直连源(毫秒级响应)及 AKShare 历史日 K 接口,并在输出中透明标注数据源。
  2. A 股特色数据集(涨跌停池、连板梯队、龙虎榜、板块资金流、A 股交易日历):
    • 主要接口:由加固版 AKShare 承载,提供完整的涨跌停炸板、连板高度与大单席位数据。

任一命令返回非零状态时,读取错误并停止使用该数据,不把缺失数据解释为空数据。

多市场与标的代码约定

# 交易日历与证券主表
market/.venv/bin/python market/scripts/market_data.py calendar --date YYYYMMDD --count 10
market/.venv/bin/python market/scripts/market_data.py master --date YYYYMMDD

# 七个主要指数;午间行标记 intraday,收盘行标记 final
market/.venv/bin/python market/scripts/market_data.py indices --date YYYYMMDD --session noon --count 60
market/.venv/bin/python market/scripts/market_data.py indices --date YYYYMMDD --session close --count 60

# 全市场明细、宽度、涨跌分布和同快照排行
market/.venv/bin/python market/scripts/market_data.py snapshot --date YYYYMMDD --session noon
market/.venv/bin/python market/scripts/market_data.py snapshot --date YYYYMMDD --session close

# 涨停、炸板、跌停、连板梯队和行业分布
market/.venv/bin/python market/scripts/market_data.py limits --date YYYYMMDD --session close

# 行业/概念 1、3、5 日完整资金排行及流入/流出 Top 20
market/.venv/bin/python market/scripts/market_data.py flows --date YYYYMMDD --session close

# 当日大单、龙虎榜和隔夜市场
market/.venv/bin/python market/scripts/market_data.py big-deals --date YYYYMMDD
market/.venv/bin/python market/scripts/market_data.py lhb --date YYYYMMDD
market/.venv/bin/python market/scripts/market_data.py overnight --date YYYYMMDD

# 核心商品期货行情(贵金属、有色、黑色、能源、农业、新能源材料)
market/.venv/bin/python market/scripts/market_data.py commodities --date YYYYMMDD

Read the full file on GitHub · 150 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. 2mo ago Changed · -4 lines 2c1263f7a6d9
  2. 2mo ago Changed · +8 lines 39841c3aa5ca
  3. 2mo ago Changed · +5 lines · +60 tokens per session 6e6d87b92445
  4. 2mo ago Changed · -1 lines c3afe46ae600
  5. 3mo ago First seen · 142 lines · 94 tokens per session scan A de7b3f6cc7c9

Subscribe to this mod's changes

market is a skill published in the GitHub repository Fize/mmtickerlab (5 stars, last pushed 1mo ago), licensed MIT. It adds 154 tokens to every session and 2,406 once invoked, about $0.0006 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-31.

Related

market compared with skills from other repositories

market next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
marketFize/mmtickerlabSkill51mo agoMITA154Claude Code, Codex
tushareHKUDS/Vibe-TradingSkill39ktodayMITA79Claude Code, Codex
social-media-intelligenceHKUDS/Vibe-TradingSkill39ktodayMITA28Claude Code, Codex
vibe-tradingHKUDS/Vibe-TradingSkill39ktodayMITA169Claude Code, Codex
credit-analysisHKUDS/Vibe-TradingSkill39ktodayMITA36Claude Code, Codex
geopolitical-riskHKUDS/Vibe-TradingSkill39ktodayMITA34Claude Code, Codex
correlation-regimeHKUDS/Vibe-TradingSkill39ktodayMITA70Claude Code, Codex