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.
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.
npx skills add HiThink-Tech/Financial-API --skill hithink-finance-financialsgit clone --depth 1 https://github.com/HiThink-Tech/Financial-APIWrote 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.
[](https://agentmods.dev/skills/hithink-tech/financial-api/hithink-finance-financials)<a href="https://agentmods.dev/skills/hithink-tech/financial-api/hithink-finance-financials"><img src="https://agentmods.dev/badge/skills/hithink-tech/financial-api/hithink-finance-financials/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.
<a href="https://agentmods.dev/skills/hithink-tech/financial-api/hithink-finance-financials"><img src="https://agentmods.dev/badge/skills/hithink-tech/financial-api/hithink-finance-financials.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, 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
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00051 | $0.00780 |
| Opus 5.5 | $0.00020 | $0.00312 |
| Sonnet 5.5 | $0.00010 | $0.00156 |
| Haiku 4.5 | $0.00005 | $0.00078 |
Grade A, and why
hithink-finance-financials 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.
How it starts
The opening of the file, as written. The whole thing — 56 lines — stays where its author put it; the contents beside it link to each section on GitHub.
hithink-finance-financials
A 股财务报表和指标入口。把报告期、时间窗口和 limit 约束转成稳定命令。
前置条件表
| 条件 | 操作 |
|---|---|
| 需要认证、共用输出或维护指引 | 按需读取 共享规则,同会话已加载内容可复用 |
| 选定命令或版本变化 | 用目标 schema <id> --format json 核对参数;命令未知时再读取 capabilities |
| 需要执行下表某个命令 | 先读取对应 reference 文件,不要只凭命令名猜参数 |
| 全市场、分页、多标的或长区间 | 使用命令声明的 --output <path> 落盘,只报告摘要 |
快速决策
| 用户意图 | 首选命令 / 路由 |
|---|---|
| 利润表/收入成本利润项目 | financials income |
| 资产负债结构 | financials balance-sheet |
| 现金流量项目 | financials cash-flow |
| 多只股票的三大财务报表 | financials income-batch、balance-sheet-batch 或 cash-flow-batch;每批最多 10 个原始代码 |
| 单个报告期的财务指标 | financials indicators |
| 用户问价格或涨跌 | 切到 hithink-finance-market |
Shortcuts
| 命令 | 何时使用 |
|---|---|
| financials balance-sheet | Query balance-sheet financial statements |
| financials balance-sheet-batch | Query balance-sheet financial statements for multiple thscodes |
| financials cash-flow | Query cash-flow financial statements |
| financials cash-flow-batch | Query cash-flow financial statements for multiple thscodes |
| financials income | Query income financial statements |
| financials income-batch | Query income financial statements for multiple thscodes |
| financials indicators | Query financial indicators for a report |
What ships with it
7 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.
- references/financials-balance-sheet-batch.md 2.9 KB
- references/financials-balance-sheet.md 2.3 KB
- references/financials-cash-flow-batch.md 2.9 KB
- references/financials-cash-flow.md 2.3 KB
- references/financials-income-batch.md 2.8 KB
- references/financials-income.md 2.3 KB
- references/financials-indicators.md 1.9 KB
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.
- 18d ago Changed · +4 lines · -15 tokens per session cbc15bf75e98
- 2mo ago Changed · -8 lines 315170833785
- 3mo ago First seen · 60 lines · 66 tokens per session scan A ba6592c8646d
hithink-finance-financials is a skill published in the GitHub repository HiThink-Tech/Financial-API (4,715 stars, last pushed 3d ago), licensed MIT. It adds 51 tokens to every session and 780 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.
hithink-finance-financials compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| hithink-finance-financialsHiThink-Tech/Financial-API | Skill | 4.7k | 3d ago | MIT | A | 51 | Claude Code, Codex |
| 通达信TQadambbhe/TDX-finance-mcp-plugin-v3 | Skill | 47 | 1mo ago | MIT | A | 56 | Claude Code, Codex |
| 机构持仓股东分析adambbhe/TDX-finance-mcp-plugin-v3 | Skill | 47 | 1mo ago | MIT | A | 229 | Claude Code, Codex |
| 问小达选A股adambbhe/TDX-finance-mcp-plugin-v3 | Skill | 47 | 1mo ago | MIT | A | 82 | Claude Code, Codex |
| 政策解读与受益分析adambbhe/TDX-finance-mcp-plugin-v3 | Skill | 47 | 1mo ago | MIT | A | 248 | Claude Code, Codex |
| 仓位决策adambbhe/TDX-finance-mcp-plugin-v3 | Skill | 47 | 1mo ago | MIT | A | 109 | Claude Code, Codex |
| 生成交易计划adambbhe/TDX-finance-mcp-plugin-v3 | Skill | 47 | 1mo ago | MIT | A | 64 | Claude Code, Codex |