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 agentpit-io/hunter-community --skill backtest_quality_auditorgit clone --depth 1 https://github.com/agentpit-io/hunter-communityWrote 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/agentpit-io/hunter-community/backtest_quality_auditor)<a href="https://agentmods.dev/skills/agentpit-io/hunter-community/backtest_quality_auditor"><img src="https://agentmods.dev/badge/skills/agentpit-io/hunter-community/backtest_quality_auditor/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/agentpit-io/hunter-community/backtest_quality_auditor"><img src="https://agentmods.dev/badge/skills/agentpit-io/hunter-community/backtest_quality_auditor.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.01249 |
| Opus 5.5 | $0.00031 | $0.00500 |
| Sonnet 5.5 | $0.00015 | $0.00250 |
| Haiku 4.5 | $0.00008 | $0.00125 |
Grade A, and why
backtest_quality_auditor 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 16d 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
量化回测质量防坑审计器(backtest_quality_auditor · P1 进阶量化技能)
一、技能定位与触发场景
当用户提问“审计一下我的量化回测有没有未来函数?”“为什么这个回测年化 40% 的策略一上实盘就亏钱?”“检验低市盈率高股息策略的回测质量”时触发本技能。
二、六大核心防坑审计维度(逐项硬核查)
- AUDIT-01:前视偏差与未来函数(Look-Ahead Bias / PIT Check)
- 检查财务数据是否严格按实际公告披露时间戳
published_at <= as_of过滤(调用mcp__broker_fundamental__get_financial_statements验证); - 若直接用报告期(如
2025-12-31)在 1 月份调仓使用年报数据,立即判定为FAIL(严重未来函数)。
- 检查财务数据是否严格按实际公告披露时间戳
- AUDIT-02:幸存者偏差(Survivorship Bias)
- 检查股票池是否通过
broker_security_get_index_constituents(index_code, as_of)获取历史时点成分股,是否保留样本期内被 ST 或退市的股票。
- 检查股票池是否通过
- AUDIT-03:复权方式规范性(Adjustment Consistency)
- 检查 K 线与技术指标计算是否显式声明
前复权或后复权,防止分红送转除权缺口制造假暴跌信号。
- 检查 K 线与技术指标计算是否显式声明
- AUDIT-04:手续费、印花税与双边滑点(Transaction Costs & Slippage)
- 核查是否足额扣除双边佣金、卖出印花税(5 bps)及双边冲击滑点(建议 ≥ 10 bps)。
- AUDIT-05:一字涨跌停成交可得性(Limit Up/Down Tradability)
- 检查是否校验
limit_up_price与limit_down_price,剔除一字涨停买不进、一字跌停卖不出的理想化虚假成交。
- 检查是否校验
- AUDIT-06:停牌与缺失值防假 0(Suspension & Null Handling)
- 调用
mcp__broker_security__get_security_status核查停牌期间(is_halted=true)是否冻结交易,缺失字段是否严格保留null而非填0。
- 调用
三、输出规范与合规硬约束
- 参照
references/backtest-audit-checklist.md,输出 6 维审计打分表(0~100分)、评级(A/B/C级)、每项PASS/WARN/FAIL证据及具体整改代码建议。 - 调用
broker_education_get_risk_disclosure(risk_type="QUANT_BACKTEST")附加上标准量化回测局限性风险揭示书。
参数
本技能的入参是回测策略或因子方案(代码或名称都可以)。用户这次给的是:
$ARGUMENTS
参数为空时,先问清楚要看哪只标的再开工,不要随便挑一只演示。
工具名对照
上面正文提到的工具,在 AtomCode 里的真名是:
| 正文里的写法 | 实际要调的工具 |
|---|---|
broker_fundamental_get_financial_statements |
mcp__broker_fundamental__get_financial_statements |
broker_security_get_security_status |
mcp__broker_security__get_security_status |
broker_security_get_index_constituents |
mcp__broker_security__get_index_constituents |
broker_education_get_risk_disclosure |
mcp__broker_education__get_risk_disclosure |
按右边那一列调。 左边是 HunterCode opencode 版的命名,这套发行版里不存在。
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.
- 16d ago First seen · 74 lines · 77 tokens per session scan A 38d83ee4ab01
backtest_quality_auditor is a skill published in the GitHub repository agentpit-io/hunter-community (623 stars, last pushed yesterday), licensed Apache-2.0. It adds 77 tokens to every session and 1,249 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-11-14.
backtest_quality_auditor compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| backtest_quality_auditoragentpit-io/hunter-community | Skill | 623 | yesterday | Apache-2.0 | A | 77 | Claude Code |
| xlsxMODSetter/SurfSense | Skill | 17k | 3d ago | Apache-2.0 | A | 16 | Claude Code, Codex |
| stripe-skillzeenie-ai/OpenCompany | Skill | 1.1k | 3d ago | MIT | A | 56 | Claude Code |
| dodo-payments-skillzeenie-ai/OpenCompany | Skill | 1.1k | 3d ago | MIT | A | 69 | Claude Code |
| amex-travelborski/travel-hacking-toolkit | Skill | 1.1k | 6d ago | MIT | A | 47 | Claude Code |
| biltborski/travel-hacking-toolkit | Skill | 1.1k | 6d ago | MIT | A | 44 | Claude Code |
| compare-flightsborski/travel-hacking-toolkit | Skill | 1.1k | 6d ago | MIT | A | 46 | Claude Code |