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 atorber/qmt-trading-skill --skill qmt-bridge-financial-downloadgit clone --depth 1 https://github.com/atorber/qmt-trading-skillWrote 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/atorber/qmt-trading-skill/qmt-bridge-financial-download)<a href="https://agentmods.dev/skills/atorber/qmt-trading-skill/qmt-bridge-financial-download"><img src="https://agentmods.dev/badge/skills/atorber/qmt-trading-skill/qmt-bridge-financial-download/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/atorber/qmt-trading-skill/qmt-bridge-financial-download"><img src="https://agentmods.dev/badge/skills/atorber/qmt-trading-skill/qmt-bridge-financial-download.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00062 | $0.00966 |
| Opus 5 | $0.00031 | $0.00483 |
| Sonnet 5 | $0.00012 | $0.00193 |
| Haiku 4.5 | $0.00006 | $0.00097 |
Grade A, and why
qmt-bridge-financial-download 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 13d 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 — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.
QMT Trading Skill · 财报下载
实现状态:✅
download_financial_data.py
目标
向 Bridge 服务端 写入 财务数据缓存,供后续 GET /api/financial/data 或 fundamental-screen 使用。
何时用本 Skill(而非筛选 Skill)
| 场景 | 使用 |
|---|---|
| 用户明确要「下载/补全/刷新」财报 | 本 Skill |
| 批量标的、指定表、下载后验证 | 本 Skill |
| 按 ROE/EPS 等指标筛选 | fundamental-screen |
| 筛选时偶发缺数 | 筛选脚本默认 --if-missing;大批量仍建议先本 Skill |
脚本
# 下载每股指标表(默认 Pershareindex)
python skills/qmt-bridge-financial-download/scripts/download_financial_data.py \\
--host HOST --port PORT \\
--codes 600584.SH,603986.SH --table Pershareindex
# 下载后验证缓存是否有数据
python skills/qmt-bridge-financial-download/scripts/download_financial_data.py \\
--codes 600584.SH --verify --wait 8
# 下载全部财务表(较慢,勿对全市场使用)
python skills/qmt-bridge-financial-download/scripts/download_financial_data.py \\
--codes 600519.SH --all-tables --verify
python skills/qmt-bridge-financial-download/scripts/download_financial_data.py 与上述参数相同。
推荐流程(Agent)
1. 确认用户给出的股票列表(勿擅自扩大为全市场)
2. 说明:下载会写服务端缓存,可能耗时数秒~数十秒
3. 运行 download_financial_data.py,建议加 --verify
4. 若有仍无数据的代码:加大 --wait、检查 QMT 是否登录、或换表名
5. 需要筛选时,再运行 fundamental-screen 的 screen_financial.py
主要参数
| 参数 | 说明 |
|---|---|
--codes |
必填,逗号分隔 |
--table |
默认 Pershareindex |
--all-tables |
下载全部表(慢) |
--start-time / --end-time |
可选 YYYYMMDD |
--wait |
下载后等待秒数(默认 5) |
--verify |
等待后查询缓存;仍缺数时自动再等一轮(最多 --wait 秒) |
--json |
JSON 输出 |
常用财务表
| 表名 | 含义 |
|---|---|
Pershareindex |
每股指标(ROE、EPS 等) |
Income |
利润表 |
Balance |
资产负债表 |
CashFlow |
现金流量表 |
API
| 操作 | 路径 |
|---|---|
| 下载 | POST /api/download/financial_data |
| 验证查询 | GET /api/financial/data |
| 名称 | GET /api/utility/batch_stock_name |
同步阻塞版:POST /api/download/financial_data2(本脚本未封装,需时用 REST 或客户端)。
安全
- 写操作:会触发服务端向行情源拉取并缓存数据
- 勿对「沪深 A股」等超大列表无确认地下载
- 不提供投资建议
参考
- fundamental-screen ·
[REST API](https://atorber.github.io/qmt-bridge/rest-api/)·_shared/financial_util.py
What ships with it
2 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.
- 13d ago First seen · 94 lines · 62 tokens per session scan A bb5347995d4b
qmt-bridge-financial-download is a skill published in the GitHub repository atorber/qmt-trading-skill (22 stars, last pushed 29d ago), licensed MIT. It adds 62 tokens to every session and 966 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
sector-rotation
An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.
strategy-pivot-designer
Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.
twitter-reader
Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…
chenhao-limit-up
A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.
furusato
A Japanese hometown-tax donation manager for furusato nozei, a system where donations to municipalities can qualify for an income-tax or local-tax deduction. It reads donation receipts, stores donation records, and calculates deduction limits.
reading-receipt
An image-reading workflow for extracting structured information from receipts, invoices, and hometown-tax donation certificates. It can first extract text from PDFs and otherwise read their images.