hithink-finance-market

hithink-finance-market is a skill for Claude Code, Codex from HiThink-Tech/Financial-API. It costs 54 tokens per session (951 once invoked), scanned A, original, MIT.

A command-line tool entry for retrieving ordinary Chinese A-share market data, including snapshots, historical price bars, trading calendars, adjustment factors, and company actions.

In plain words
What is it for?
Use it for stock price history, market snapshots, auction data, trading dates, adjusted prices, corporate events, or bulk market datasets.
Why use it?
It provides separate routes for current prices, historical data, and local market panels instead of mixing them with financial reports or special rankings.

Skill for Claude CodeCodex

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

Good fit Use it for stock price history, market snapshots, auction data, trading dates, adjusted prices, corporate events, or bulk market datasets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hithink-tech/financial-api/hithink-finance-market
About the project

HiThink-Tech/Financial-API is an official Tonghuashun service that provides A-share market data, including prices, financial statements, indices, sectors, funds and trading activity through APIs and developer tools. It serves AI agents, quantitative researchers and application developers. The catalogue add-ons help coding agents access and use this financial data.

HiThink-Tech/Financial-API · 4,715 stars · on GitHub · fuyao.aicubes.cn

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 HiThink-Tech/Financial-API --skill hithink-finance-market
Clone the repo
git clone --depth 1 https://github.com/HiThink-Tech/Financial-API

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 hithink-finance-market

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hithink-tech/financial-api/hithink-finance-market"><img src="https://agentmods.dev/badge/skills/hithink-tech/financial-api/hithink-finance-market.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 951 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 warn 7 Sept 2026
SkillSpector: 8 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Prompt Injection · line 12
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 35
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 37
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 40
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 41
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 42
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 43
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 44
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
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.00054 $0.00951
Opus 5.5 $0.00022 $0.00380
Sonnet 5.5 $0.00011 $0.00190
Haiku 4.5 $0.00005 $0.00095

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

Security

Grade A, and why

hithink-finance-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 18d ago.

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.

hithink-finance-cli/skills/hithink-finance-market/SKILL.md · 62 lines

How it starts

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

hithink-finance-market

普通行情和本地行情派生能力。优先使用本地库覆盖的历史/面板能力,必要时走远端同花顺金融数据服务。

前置条件表

条件 操作
需要认证、共用输出或维护指引 按需读取 共享规则,同会话已加载内容可复用
选定命令或版本变化 用目标 schema <id> --format json 核对参数;命令未知时再读取 capabilities
需要执行下表某个命令 先读取对应 reference 文件,不要只凭命令名猜参数
全市场、分页、多标的或长区间 使用命令声明的 --output <path> 落盘,只报告摘要

快速决策

用户意图 首选命令 / 路由
单票历史日线/K 线 market history;--source auto 会在本地覆盖时走本地
多只 A 股历史 K 线 market history-batch --thscodes <codes>;每批最多 10 个原始代码
实时或分页行情快照 market snapshot
集合竞价实时/终态快照 market auction-snapshot
集合竞价短期基准 market auction-benchmark
交易日历 market calendar
复权因子 market adjustment-factors
公司行动/除权除息事件 market corporate-actions
全市场区间面板/批量研究输入 market panel --output <file>
涨跌停池、炸板池、连板、热股、龙虎榜、异动 切到 hithink-finance-special-data

Shortcuts

命令 何时使用
market adjustment-factors 查询本地日级复权因子;需要本地库。
market auction-benchmark Query the short-term auction benchmark; omit date for the Asia/Shanghai current date and read resolved date/date_ms from data
market auction-snapshot Query auction snapshots whose timestamp is the response assembly timestamp
market calendar Query the one-year A-share trading calendar
market corporate-actions Query adjustment events
market history Query daily A-share history
market history-batch Query daily A-share history for multiple thscodes
market panel 需要本地库覆盖请求窗口;适合作为研究样本输入。
market snapshot Query A-share price snapshots

Read the full file on GitHub · 62 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. 18d ago Changed · +2 lines · -35 tokens per session b78bf7c4d5fa
  2. 2mo ago Changed · -8 lines ee3a2c9e4ae9
  3. 3mo ago First seen · 68 lines · 89 tokens per session scan A 06209186cdac

Subscribe to this mod's changes

hithink-finance-market is a skill published in the GitHub repository HiThink-Tech/Financial-API (4,715 stars, last pushed 3d ago), licensed MIT. It adds 54 tokens to every session and 951 once invoked, about $0.0002 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

hithink-finance-market compared with skills from other repositories

hithink-finance-market next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hithink-finance-marketHiThink-Tech/Financial-APISkill4.7k3d agoMITA54Claude Code, Codex
通达信TQadambbhe/TDX-finance-mcp-plugin-v3Skill471mo agoMITA56Claude Code, Codex
机构持仓股东分析adambbhe/TDX-finance-mcp-plugin-v3Skill471mo agoMITA229Claude Code, Codex
问小达选A股adambbhe/TDX-finance-mcp-plugin-v3Skill471mo agoMITA82Claude Code, Codex
政策解读与受益分析adambbhe/TDX-finance-mcp-plugin-v3Skill471mo agoMITA248Claude Code, Codex
仓位决策adambbhe/TDX-finance-mcp-plugin-v3Skill471mo agoMITA109Claude Code, Codex
生成交易计划adambbhe/TDX-finance-mcp-plugin-v3Skill471mo agoMITA64Claude Code, Codex