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 SparkElf/deepseek-harness-plus --skill quant-researchgit clone --depth 1 https://github.com/SparkElf/deepseek-harness-plusWrote 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/sparkelf/deepseek-harness-plus/quant-research)<a href="https://agentmods.dev/skills/sparkelf/deepseek-harness-plus/quant-research"><img src="https://agentmods.dev/badge/skills/sparkelf/deepseek-harness-plus/quant-research/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/sparkelf/deepseek-harness-plus/quant-research"><img src="https://agentmods.dev/badge/skills/sparkelf/deepseek-harness-plus/quant-research.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.00075 | $0.00880 |
| Opus 5.5 | $0.00030 | $0.00352 |
| Sonnet 5.5 | $0.00015 | $0.00176 |
| Haiku 4.5 | $0.00007 | $0.00088 |
Grade A, and why
quant-research 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 2d 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
Quant Research with dsh-quant
dsh-quant 的量化研究标准工作流:工具按域组合成 PDAT→PET 链路,每步都有 对齐契约与验证金标准。规划(planning)时按链路排布任务;执行(tool use) 时严格按契约传参。
1. 规划:PDAT→PET 链路
planning: 数据 → 质量 → 特征/因子 → 模型/回测 → 风控 → 交付
tool use: quant_market_fetch → quant_data_quality → quant_factor_evaluate/
quant_factor_neutralize → quant_backtest*/quant_walk_forward →
quant_risk/quant_drawdown → quant_fund/quant_report/quant_chart
- 单标的完整研究:一条
quant_research_pipeline跑通全链路(含报告与图表)。 - 多标的并行:每个标的交给一个 subagent 调
quant_research_pipeline(纯 TS 侧可用researchMultiAsset),单标的失败不阻断其他标的。 - 研究结论的样本外证据必须来自
quant_walk_forward的 OOS IC/RankIC, 训练集 R2 只是参考。
2. Tool use 契约(不可违反)
- 对齐:所有输出与输入等长,头部无法计算的窗口位置为 null——按索引 直接对齐,模型不需要补 padding。空序列/超窗是合法结果(全 null),不是错误。
- 无未来函数:
factorValues[i]预测forwardReturns[i+1]; 回测信号在 bar i 确认、bar i+1 收盘成交。 - 联合类型用 oneOf:
items: { oneOf: [{ type: 'number' }, { type: 'null' }] }; 输出对象每个字段都要required: true。 - 非有限数在 registry 层即被拒绝(lossless JSON),NaN/Infinity 不可达 execute。
- 数据源:加密(binance/okx/bybit 自动容错)、A股(sina/tencent 前复权)、
美股/全球(yahoo);深度数据走渠道知识库
quant_data_guide。
3. 验证金标准
- 因子:
ic(Pearson)+rankIc(Spearman)+icDecay(衰减应平滑)+longShort(多空价差)+turnover(换手成本校验)。 - 模型:
quant_walk_forward滚动训练/样本外预测;禁止随机 K 折 (时序数据随机切分泄漏未来);多次试验需 Deflated Sharpe 校正。 - 策略:
quant_metrics(收益/回撤/夏普/卡玛)+quant_risk(VaR/CVaR/β/IR)quant_drawdown(回撤段/恢复)+ Kupiec 检验(quant_var_backtest)。
- 交付:
quant_fund(1 亿起 NAV 1.00 双费高水位)+quant_report+quant_chart图表数据。
4. 边界
公开方法与框架,不公开生产策略;生产策略/特征库/RL 实现属内部 PCPT。
过拟合诊断清单与 RL 问题形式化见 docs/ML_GUIDE.md。
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.
- 2d ago First seen · 54 lines · 75 tokens per session scan A 364eb9c1afa1
quant-research is a skill published in the GitHub repository SparkElf/deepseek-harness-plus (1 stars, last pushed today), licensed MIT. It adds 75 tokens to every session and 880 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-27.
quant-research compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| quant-researchSparkElf/deepseek-harness-plus | Skill | 1 | today | MIT | A | 75 | Claude Code, Codex |
| dsh-tui-guideccch1mneyyy/dsh-TUI | Skill | 8.4k | today | MIT | A | 41 | Claude Code, Codex |
| cash-flow-snapshotsandbaseai/sandbase-skills | Skill | 213 | 7d ago | Apache-2.0 | A | 52 | Claude Code |
| stock-analysissandbaseai/sandbase-skills | Skill | 213 | 7d ago | Apache-2.0 | A | 55 | Claude Code |
| currency-convertersandbaseai/sandbase-skills | Skill | 213 | 7d ago | Apache-2.0 | A | 40 | Claude Code |
| qpanda-quboxi-zhao/OpenQuantum | Skill | 75 | yesterday | MIT | A | 128 | Codex |
| review-changesamplifthq/oh-my-dsh | Skill | 20 | 1mo ago | MIT | A | 22 | Claude Code, Codex |