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 Fize/mmtickerlab --skill sim-tradegit clone --depth 1 https://github.com/Fize/mmtickerlabWrote 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/fize/mmtickerlab/sim-trade)<a href="https://agentmods.dev/skills/fize/mmtickerlab/sim-trade"><img src="https://agentmods.dev/badge/skills/fize/mmtickerlab/sim-trade/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/fize/mmtickerlab/sim-trade"><img src="https://agentmods.dev/badge/skills/fize/mmtickerlab/sim-trade.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.00119 | $0.00742 |
| Opus 5.5 | $0.00048 | $0.00297 |
| Sonnet 5.5 | $0.00024 | $0.00148 |
| Haiku 4.5 | $0.00012 | $0.00074 |
Grade A, and why
sim-trade 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 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.
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
Sim Trade — A股模拟交易系统
在项目根目录下调用确定性 CLI 命令。严禁编造行情、绕过数据检查或用成本价替代当前市值。
适用范围与市场边界
- A 股专属引擎:本系统专为沪深京 A 股市场设计,严格执行 A 股交易规则(T+1 交割、100 股整倍数买入、5%/10%/20% 涨跌停限制、印花税与过户费)。
- 港美股代码拦截:传入港股(5 位代码)或美股(英文代码)将直接被系统校验拦截并触发
ValidationError报错,提示不属于 A 股撮合范围。 - 与风控门禁(
risk-guard)协同:在提交买入委托(order buy)前,应当参考risk-guard输出的当前大势仓位上限与动态止损点位。
环境准备
uv venv sim-trade/.venv
uv pip install --python sim-trade/.venv -r sim-trade/requirements.txt
命令前缀:
sim-trade/.venv/bin/python sim-trade/scripts/simtrade.py
需要机器可读输出时在前加入 --json 参数。
交易工作流
- 环境检查:会话首次操作前运行
doctor --code CODE。缺失必需数据时停止操作。 - 创建账户:
account create --name NAME --cash AMOUNT。不覆盖已有账户。 - 行情查看:交易决策前运行
quote CODE确认五档盘口。 - 提交委托:仅使用明确限价单
order buy|sell CODE SHARES --price PRICE。 - 处理成交:交易时间内运行
order process [--order-id ID]依据最新盘口撮合。 - 撤单与查询:
order cancel ID释放资金/持仓;使用portfolio、history、audit审查。
硬性门禁
- 仅支持 CLI 识别的 6 位沪深京 A 股股票代码。
- 仅支持限价单(Limit Order),严禁模拟市价单或捏造成交。
- 非交易日及非连续竞价时段(09:30–11:30, 13:00–15:00)拒绝下单。
- 买入股票执行下一个交易日可卖出(T+1),不使用日历日滚动。
What ships with it
18 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.
- .clawhubignore 63 B
- agents/openai.yaml 258 B
- references/command_reference.md 1.4 KB
- references/data_contract.md 2.9 KB
- references/trading_rules.md 2.3 KB
- requirements.txt 66 B
- scripts/akshare_patch.py 2.9 KB runs code
- scripts/simtrade_core/__init__.py 105 B runs code
- scripts/simtrade_core/database.py 6.4 KB runs code
- scripts/simtrade_core/fees.py 1.7 KB runs code
- scripts/simtrade_core/market_data.py 9.5 KB runs code
- scripts/simtrade_core/models.py 5.1 KB runs code
- scripts/simtrade_core/rules.py 3.5 KB runs code
- scripts/simtrade_core/service.py 39 KB runs code
- scripts/simtrade_core/trading_calendar.py 4.1 KB runs code
- scripts/simtrade.py 10 KB runs code
- tests/test_live_data.py 667 B runs code
- tests/test_simtrade.py 10 KB runs code
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 · -1 lines 2ac2f459e040
- 1mo ago Changed · +5 lines · +53 tokens per session 3fabb2338824
- 1mo ago Changed · -5 lines · -56 tokens per session a47249d1ff66
- 1mo ago First seen · 52 lines · 122 tokens per session scan A 34afb6c6a356
sim-trade is a skill published in the GitHub repository Fize/mmtickerlab (5 stars, last pushed 25d ago), licensed MIT. It adds 119 tokens to every session and 742 once invoked, about $0.0005 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-31.
Other skills, from other repositories
adr-hshare
ADR/H-share/A-share cross-listing premium analysis — track pricing gaps between US-listed ADRs, HK-listed H-shares, and A-shares for arbitrage signals, dual-listing valuation, and delisting risk assessment.
bottleneck-hunter
Supply-chain bottleneck arbitrage. Given a super-trend (AI infra, energy transition, defense, semiconductor reshoring, space economy), decompose its physical supply chain down to Layer 2/3 choke points (optics, lasers, InP/SOI substrates, IC substrates, probe cards, specialty fiberglass...) and surface under-the-radar…
hedging-strategy
Hedging strategy design (beta hedge / option protection / tail risk / cross-asset hedging), including hedge-ratio calculation and cost evaluation.
report-generate
Professional financial research report generation — standard structure (summary / views / main body / risks / recommendation), Markdown formatting standards, rating system, and terminology guide.
eastmoney
A collection of free Eastmoney market-data interfaces for Chinese and US stocks. It provides information such as money flows, company reports, financial news, shareholder activity, and stock searches without requiring a login token.
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.