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 GGbond-bo/MemOmics-Agent --skill deg-threshold-and-false-discovery-auditgit clone --depth 1 https://github.com/GGbond-bo/MemOmics-AgentWrote 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/ggbond-bo/memomics-agent/deg-threshold-and-false-discovery-audit)<a href="https://agentmods.dev/skills/ggbond-bo/memomics-agent/deg-threshold-and-false-discovery-audit"><img src="https://agentmods.dev/badge/skills/ggbond-bo/memomics-agent/deg-threshold-and-false-discovery-audit/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/ggbond-bo/memomics-agent/deg-threshold-and-false-discovery-audit"><img src="https://agentmods.dev/badge/skills/ggbond-bo/memomics-agent/deg-threshold-and-false-discovery-audit.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.00143 | $0.05451 |
| Opus 5.5 | $0.00057 | $0.02180 |
| Sonnet 5.5 | $0.00029 | $0.01090 |
| Haiku 4.5 | $0.00014 | $0.00545 |
Grade A, and why
deg-threshold-and-false-discovery-audit 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.
How it starts
The opening of the file, as written. The whole thing — 192 lines — stays where its author put it; the contents beside it link to each section on GitHub.
DEG 阈值与假发现审计
配套详证(源码 formals 原文、文献原句、PMID/DOI、Europe PMC 全文抽取配方)见
references/parameter-provenance-and-mast-thresholds.md; 阈值敏感性网格(FDR × 效应量)完整配方与措辞红线见references/threshold-sensitivity-grid-recipe.md。
触发场景
- 「阈值取 0.2 还是 0.25?」
- 「别人做 DEG 的时候要筛选阈值吗?他们怎么做?」
- 「为什么我的显著基因有 5–6 万个?」「新方法比老方法多几十倍,是不是更好?」
- 写 DEG 的 methods 段,需要给阈值找依据。
- 任何
fdr<0.05命中率异常高 / 上下调方向比失衡的情况。 - 「做阈值敏感性」/「换个阈值结论还稳吗」/「不要重跑模型,基于上游全量表重计数」。
- 接手一张来历不明的「已过滤 / formatted / CLEAN」结果表,要确认其真实过滤口径时。
🔴 铁律 1:阈值必须能追到具体出处,否则明说「无出处」
写 methods 或汇报时,|logFC| 阈值只能有三种写法:
| 写法 | 何时可用 | 例子 |
|---|---|---|
| ✅ 上游工具默认值 | 首选,最可追溯 | 「沿用 Seurat v4 FindMarkers 默认 logfc.threshold = 0.25」 |
| ✅ 明标自定的最小生物学意义效应 | 无先例时 | 「自定最小效应标准 |log2FC| > 0.25(≈1.19 倍变化),非引用文献值」 |
| ⛔ 「参考某某文献」 | 禁止 —— 除非真的逐字查到那篇写了这个数 | — |
实测教训:曾把 0.25 挂到某篇猴脑图谱论文名下,逐段核对全文后确认那是该文 ATAC sDARE 的判据(P<0.05 且 log2FC>0.25),而该文 RNA DEG 段用的是 MAST + 样本随机效应、代码里没有任何效应量阈值 —— 属张冠李戴,审稿人一查即破。参数溯源必须逐段核原文,不能凭印象或摘要。 完整更正记录见 references/parameter-provenance-and-mast-thresholds.md。
已交付表的「情况反查」——集合等式法(2026-10-23 实测新增):接手来历不明的「已过滤」表(formatted / CLEAN / 筛选版)时,不要凭文件名或注释推断口径:
- 粗定位:对
fdr/fdr_D×coef/coef_D× 阈值网格做组合扫描,找行数最接近的判据组合; - 铁证 = 双向集合等式:交付表键集合 F 与候选判据集合 C 比对,要求 C−F=0 且 F−C=0(跨全部 sheet/对比逐一验证)——单看行数接近不算证据;
- 实测案例(五对比示例组织):文件名
..._coef025的表实际口径是|coef|≥0.25("coef025"= 0.25,不是 0.025);5 对比全部双向差集=0、数值 join max diff=0 才落槌; - 笔误修复必须全量重导出:口径注释常散落在图内注、工作簿说明 sheet、结论文档、脚本 docstring 多处——逐处排查修正并重出全部产物,只改文档不算修完。
🔴 铁律 2:Seurat FindMarkers 默认值随版本变 —— 必须显式写死
| Seurat 版本 | 默认 logfc.threshold |
默认 min.pct |
证据 |
|---|---|---|---|
| v3 / v4 | 0.25 | 0.1 | 论文 methods 实证(Seurat (v4) … logfc.threshold = 0.25) |
| v5 | 0.1 | 0.01 | 本机实测 5.5.0 FindMarkers.default 的 formals |
- ⚠️ 脚本里不显式写 → v4 得 0.25、v5 得 0.1,同一份数据换版本结论就变(隐蔽的可复现性坑)。
- ⚠️ 「用 MAST 的论文」绝大多数不是直接调 MAST,而是
FindMarkers(test.use="MAST")—— 阈值实际来自 Seurat 默认值,不是 MAST。 - 单细胞领域流传的
0.25的真实血统 = Seurat v3/v4 出厂默认值,这是它站得住的正确理由。
What ships with it
4 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.
- 1mo ago Changed · +51 lines · +32 tokens per session 36e3cc021c0d
- 1mo ago First seen · 141 lines · 111 tokens per session scan A 54a560d87f31
deg-threshold-and-false-discovery-audit is a skill published in the GitHub repository GGbond-bo/MemOmics-Agent (33 stars, last pushed 14d ago), licensed MIT. It adds 143 tokens to every session and 5,451 once invoked, about $0.0006 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-10-14.
deg-threshold-and-false-discovery-audit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| deg-threshold-and-false-discovery-auditGGbond-bo/MemOmics-Agent | Skill | 33 | 14d ago | MIT | A | 143 | Claude Code |
| instrument-data-to-allotropeanthropics/knowledge-work-plugins | Skill | 37k | 4d ago | Apache-2.0 | A | 123 | Claude Code |
| matlabK-Dense-AI/scientific-agent-skills | Skill | 59k | 7d ago | MIT | A | 44 | Claude Code |
| exploratory-data-analysisK-Dense-AI/scientific-agent-skills | Skill | 59k | 7d ago | MIT | A | 83 | Claude Code |
| phylogeneticsK-Dense-AI/scientific-agent-skills | Skill | 59k | 7d ago | MIT | A | 71 | Claude Code, Codex |
| research-engineerdavila7/claude-code-templates | Skill | 34k | today | MIT | A | 43 | Claude Code, Codex |
| mapping-to-snomedmaziyarpanahi/openmed | Skill | 5.9k | today | Apache-2.0 | A | 205 | Claude Code |