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-fundgit 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-fund)<a href="https://agentmods.dev/skills/hithink-tech/financial-api/hithink-finance-fund"><img src="https://agentmods.dev/badge/skills/hithink-tech/financial-api/hithink-finance-fund/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-fund"><img src="https://agentmods.dev/badge/skills/hithink-tech/financial-api/hithink-finance-fund.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 16 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 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 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 49 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 50 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 66 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
- medium Prompt Injection · line 47 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 58 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 65 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 48 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 70 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 52 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 54 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 59 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 55 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.00064 | $0.01810 |
| Opus 5.5 | $0.00026 | $0.00724 |
| Sonnet 5.5 | $0.00013 | $0.00362 |
| Haiku 4.5 | $0.00006 | $0.00181 |
Grade A, and why
hithink-finance-fund 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 — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
hithink-finance-fund
基金资料、机构与经理、财务、业绩、披露和场内行情入口。根据基金类型、标识来源与市场形态选择稳定命令。
前置条件表
| 条件 | 操作 |
|---|---|
| 需要认证、共用输出或维护指引 | 按需读取 共享规则,同会话已加载内容可复用 |
| 选定命令或版本变化 | 用目标 schema <id> --format json 核对参数;命令未知时再读取 capabilities |
| 需要执行下表某个命令 | 先读取对应 reference 文件,不要只凭命令名猜参数 |
| 全市场、分页、多标的或长区间 | 使用命令声明的 --output <path> 落盘,只报告摘要 |
快速决策
| 用户意图 | 首选命令 / 路由 |
|---|---|
| 基金档案 | fund profile |
| 基金持仓 | fund holdings |
| 基金净值 | fund nav |
| 基金区间收益 | fund returns |
| 基金持有人结构 | fund holders |
| 基金在线回测 | 先用 fund backtest-indicators 获取指标规则,再调用 fund backtest-result |
| 基金画线/表格指标 | fund indicators-line / fund indicators-table |
| QDII 额度汇总/列表 | fund quota-summary / fund quota-list |
| 基金公司详情 | fund company-detail |
| 基金经理资料/经历/业绩/风格 | fund manager-detail/manager-experience/manager-performance/manager-style |
| 基金财务指标/利润表/资产负债表 | fund financial-indicators/income-statements/balance-sheets |
| 基金诊断 | fund diagnostics |
| 基金资讯 | fund news |
| 在售或待售基金 | fund offerings |
| 历史股票/债券持仓 | 先用对应 report-dates,再调用 stock-history 或 bond-history |
| ETF/LOF 快照 | fund snapshot |
| ETF 历史日线 | fund history |
| 多只场内基金行情 | fund snapshot --thscode <CSV> 最多 100 个原始代码;fund history-batch 最多 10 个 |
| 基金代码或名称搜索 | 切到 hithink-finance-symbol |
What ships with it
35 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/fund-asset-allocation.md 1.8 KB
- references/fund-backtest-indicators.md 1.7 KB
- references/fund-backtest-result.md 3.1 KB
- references/fund-balance-sheets.md 1.8 KB
- references/fund-bond-history.md 2.0 KB
- references/fund-bond-report-dates.md 1.9 KB
- references/fund-company-detail.md 1.8 KB
- references/fund-diagnostics.md 1.8 KB
- references/fund-dividends.md 1.8 KB
- references/fund-drawdowns.md 1.8 KB
- references/fund-financial-indicators.md 1.8 KB
- references/fund-history-batch.md 2.8 KB
- references/fund-history.md 2.2 KB
- references/fund-holders.md 1.9 KB
- references/fund-holdings.md 1.7 KB
- references/fund-income-statements.md 1.8 KB
- references/fund-indicators-history.md 2.1 KB
- references/fund-indicators-line.md 2.7 KB
- references/fund-indicators-table.md 3.5 KB
- references/fund-industry-allocation.md 1.8 KB
- references/fund-manager-detail.md 1.8 KB
- references/fund-manager-experience.md 1.8 KB
- references/fund-manager-performance.md 1.9 KB
- references/fund-manager-style.md 1.8 KB
- references/fund-nav.md 2.2 KB
- references/fund-news.md 2.0 KB
- references/fund-offerings.md 1.8 KB
- references/fund-profile.md 1.7 KB
- references/fund-quota-list.md 2.2 KB
- references/fund-quota-summary.md 1.8 KB
- references/fund-returns.md 1.7 KB
- references/fund-snapshot.md 1.8 KB
- references/fund-stock-history.md 2.0 KB
- references/fund-stock-report-dates.md 1.9 KB
- references/fund-top-holders.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 · +2 lines · -32 tokens per session c8f40a86ce8c
- 2mo ago Changed · -8 lines bffc2aad60d2
- 2mo ago Changed · +10 lines · +13 tokens per session cc7958c7406b
- 2mo ago Changed 4805627453d6
- 3mo ago First seen · 95 lines · 83 tokens per session scan A b8eed1a1b163
hithink-finance-fund is a skill published in the GitHub repository HiThink-Tech/Financial-API (4,715 stars, last pushed 3d ago), licensed MIT. It adds 64 tokens to every session and 1,810 once invoked, about $0.0003 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-fund compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| hithink-finance-fundHiThink-Tech/Financial-API | Skill | 4.7k | 3d ago | MIT | A | 64 | 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 |