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-setupgit 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-setup)<a href="https://agentmods.dev/skills/atorber/qmt-trading-skill/qmt-bridge-setup"><img src="https://agentmods.dev/badge/skills/atorber/qmt-trading-skill/qmt-bridge-setup/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-setup"><img src="https://agentmods.dev/badge/skills/atorber/qmt-trading-skill/qmt-bridge-setup.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.00077 | $0.02095 |
| Opus 5.5 | $0.00031 | $0.00838 |
| Sonnet 5.5 | $0.00015 | $0.00419 |
| Haiku 4.5 | $0.00008 | $0.00210 |
Grade A, and why
qmt-bridge-setup scanned grade A with 1 finding 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 1mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
# 浏览器或 curl How it starts
The opening of the file, as written. The whole thing — 170 lines — stays where its author put it; the contents beside it link to each section on GitHub.
QMT Trading Skill · Bridge 安装与启动
实现状态:✅ 规程可用;
bridge_health.py做连通性检查
目标
在 Windows(与 QMT 同机) 安装并启动 qmt-bridge,使本仓及其他 Agent Skills 能通过 HTTP 调用行情与交易接口。
总规程(必须遵守)
- 先健康检查:运行
bridge_health.py或请求GET /api/meta/health - 服务已可达 → 向用户报告主机/端口与健康结果,禁止重复
pip install、禁止重启 / 再启qmt-server/ PM2(除非用户明确要求重启) - 服务不可达 → 再按下方「安装 → 启动 → 验证 → 同步本仓
.env」执行;安装前探测本地是否已有 Bridge 仓库,有则跳过 clone
提示词示例
| 场景 | 提示词 |
|---|---|
| 推荐(先检测) | 检查 QMT Bridge 是否已启动;若未启动再帮我安装并启动。已在跑则不要重复安装或重启。 |
| 首次安装 | 帮我安装并启动 QMT Bridge |
| 日常启动 | 启动 qmt-server · 用 PM2 拉起 Bridge |
| 排障 | Bridge 连不上,帮我做健康检查 · 检查 qmt-server 是否在跑 |
| 配置客户端连接 | 帮我配置 Skills 连接 QMT Bridge:主机 127.0.0.1,端口 8080,写入 skills 根 .env 后做健康检查(API Key 勿打进聊天) |
| 配置 Bridge 服务端 | 配置 Bridge 的端口、API Key 和 miniQMT 路径 |
前提条件
- Windows + Python 3.10+
- 已安装 QMT 客户端,券商已开通 miniQMT;启动前勾选 「独立交易」 登录并保持运行
- 长期守护需 Node.js + 全局
pm2(npm install -g pm2) - 本机或局域网防火墙放行 Bridge 端口(常用
8080/.env中实际端口)
Bridge 源码位置(按优先级)
- 本仓 submodule:
vendor/qmt-bridge(开发对照) - 并列目录:
../qmt-bridge - 单独克隆:
git clone https://github.com/atorber/qmt-bridge.git
Agent 先探测本地是否已有仓库,再决定 clone / 跳过。
规程:安装
在 Bridge 仓库根目录(非本 Skill 仓):
cd <qmt-bridge 根目录>
pip install -e ".[full]"
copy .env.example .env
仅客户端(在主力机跑 Skill、不启服务)可:pip install qmt-bridge-pro(导入名仍是 qmt_bridge)。
编辑 Bridge 侧 .env(服务端):
| 变量 | 说明 |
|---|---|
QMT_BRIDGE_HOST |
服务监听,局域网访问用 0.0.0.0 |
QMT_BRIDGE_PORT |
监听端口(与本仓客户端一致) |
QMT_BRIDGE_API_KEY |
交易端点密钥 |
QMT_BRIDGE_TRADING_ENABLED |
启用交易时设 true |
QMT_BRIDGE_MINI_QMT_PATH |
如 C:\国金QMT交易端\userdata_mini |
QMT_BRIDGE_STOCK_ACCOUNT_ID / CREDIT_ACCOUNT_ID |
普通户 / 信用户 |
QMT_BRIDGE_DEFAULT_ACCOUNT |
stock 或 credit |
规程:启动
- 确认 QMT 已以「独立交易」登录
- 前台(调试):
qmt-server --port 8080 --trading --api-key your-secret-key `
--mini-qmt-path "C:\你的QMT路径\userdata_mini" `
--stock-account-id 普通账户ID --credit-account-id 信用账户ID
What ships with it
1 file 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.
- 1mo ago Changed · +15 lines 6ff182eeb4d7
- 1mo ago First seen · 155 lines · 77 tokens per session scan A 3609a103e46b
qmt-bridge-setup is a skill published in the GitHub repository atorber/qmt-trading-skill (26 stars, last pushed 1mo ago), licensed MIT. It adds 77 tokens to every session and 2,095 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-18.
qmt-bridge-setup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| qmt-bridge-setupatorber/qmt-trading-skill | Skill | 26 | 1mo ago | MIT | A | 77 | Claude Code, Codex |
| aws-cost-operationssickn33/agentic-awesome-skills | Skill | 49k | yesterday | MIT | A | 44 | Claude Code |
| aws-cost-cleanupsickn33/agentic-awesome-skills | Skill | 49k | yesterday | MIT | A | 15 | Claude Code |
| azure-computemicrosoft/skills | Skill | 3.2k | yesterday | MIT | A | 154 | Claude Code |
| azure-costmicrosoft/skills | Skill | 3.2k | yesterday | MIT | A | 94 | Claude Code |
| cost-estimationmicrosoft/skills | Skill | 3.2k | yesterday | MIT | A | 97 | Claude Code |
| cost-governancemicrosoft/skills | Skill | 3.2k | yesterday | MIT | A | 99 | Claude Code |