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 cyijun/china-financial-services --skill tushare-datagit clone --depth 1 https://github.com/cyijun/china-financial-servicesWrote 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/cyijun/china-financial-services/tushare-data)<a href="https://agentmods.dev/skills/cyijun/china-financial-services/tushare-data"><img src="https://agentmods.dev/badge/skills/cyijun/china-financial-services/tushare-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.
<a href="https://agentmods.dev/skills/cyijun/china-financial-services/tushare-data"><img src="https://agentmods.dev/badge/skills/cyijun/china-financial-services/tushare-data.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00070 | $0.00590 |
| Opus 5 | $0.00035 | $0.00295 |
| Sonnet 5 | $0.00014 | $0.00118 |
| Haiku 4.5 | $0.00007 | $0.00059 |
Grade A, and why
tushare-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 12d 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.
What it actually says
Tushare原始数据助手
使用边界
- 当前、非PIT查询可直接使用本Skill。
- 涉及
as_of、公告可得日、历史股票池、回测、AKShare降级或生产资格时,必须调用china-market-data,本Skill不能宣称数据“回测可用”。 - Token只从进程环境
TUSHARE_TOKEN读取;不得调用全局Token缓存、打印、写入或提交凭证。
工作流
- 将问题拆成接口、标的、日期、字段、频率、单位和预期行数。
- 在Tushare官方文档核对接口名、参数、字段、积分与行数限制;6000积分只是规划画像,实际权限以本次调用为准。
- 单票财务用
income、balancesheet、cashflow、fina_indicator;全市场截面在权限允许时用对应*_vip接口。 - 行情保存不复权价格与
adj_factor,不把动态前复权序列直接称作PIT价格。 - 分页或分段获取后检查主键、重复、空值、单位和行数上限。空表先诊断日期、参数、上市状态和权限,不自动换源。
- 输出原始数据与元信息:接口、去敏参数、抓取时间、返回行数、单位、权限结果和限制。
常用接口
使用references/数据接口.md中的精简清单。不要根据旧接口大全猜测名称或字段;清单外接口先查官方文档。
非PIT原始导出可使用scripts/stock_data_demo.py和scripts/fund_data_demo.py:两者显式limit/offset分页、写入全部记录及响应SHA-256,分页停滞或超过最大页数会失败,不再用head()样例冒充完整结果。它们明确输出pit_eligible=false;历史研究仍必须转china-market-data。
输出
区分documented、live_call_succeeded、permission_denied、empty和partial。未运行的接口不能标成可用,离线样例不能标成真实权限验证。
What ships with it
3 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.
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.
- 12d ago First seen · 32 lines · 70 tokens per session scan A 68b441ebca5b
tushare-data is a skill published in the GitHub repository cyijun/china-financial-services (19 stars, last pushed 18d ago), licensed Apache-2.0. It adds 70 tokens to every session and 590 once invoked, about $0.0003 per session on Opus 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.
Other skills, from other repositories
hithink-finance
A routing guide for accessing Chinese A-share financial data, including prices, company reports, valuations, funds, indices, sectors, and local data storage.
hithink-finance-fund
A command-line guide for querying fund information, including profiles, managers, holdings, prices, returns, financial data, news, and exchange-traded fund snapshots. A command-line tool is a program controlled by typed terminal commands.
hithink-finance-data
A local data-management skill for the HiThink Finance command-line tool and its DuckDB database. DuckDB is a database stored in a local file.
hithink-finance-market
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.
hithink-finance-special-data
A command-line tool entry for retrieving special Chinese market lists and event data, such as limit-up stocks, limit-down stocks, unusual moves, hot stocks, and Dragon-Tiger records.
hithink-finance-futures
A command-line data source for public futures-market information, including contracts, positions, warehouse receipts, basis, trading schedules, and price charts. Futures are agreements to buy or sell an asset at a set future date.