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 analysis-version-audit-and-cleanupgit 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/analysis-version-audit-and-cleanup)<a href="https://agentmods.dev/skills/ggbond-bo/memomics-agent/analysis-version-audit-and-cleanup"><img src="https://agentmods.dev/badge/skills/ggbond-bo/memomics-agent/analysis-version-audit-and-cleanup/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/analysis-version-audit-and-cleanup"><img src="https://agentmods.dev/badge/skills/ggbond-bo/memomics-agent/analysis-version-audit-and-cleanup.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.00103 | $0.02749 |
| Opus 5.5 | $0.00041 | $0.01100 |
| Sonnet 5.5 | $0.00021 | $0.00550 |
| Haiku 4.5 | $0.00010 | $0.00275 |
Grade B, and why
analysis-version-audit-and-cleanup scanned grade B 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 13d 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.
Recursive force deletemediumDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
用户说"删除其他版本,只保留 X"时,先按此表分类,**不要一把 `rm -rf *v*`**: Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.
多版本分析结果:对撞审计 → 定版 → 清理
同一份数据反复调参会产生 v2 / v4_NC / v4_test / v5 / v8 … 一大堆目录。本 skill 处理三个连续动作,
顺序不能颠倒:先归因对比 → 再定版 → 最后清理(没定版就清理 = 可能删掉最终结果)。
一、开工前第一件事:确认版本身份,禁止凭记忆
血泪教训(2026-11-03 实测):我曾断言 v2 的产出目录是 Immune/,实际本地叫
Immune_RUV_result/、集群才叫 Immune/——同一版本在两个位置的目录名不同。
清点命令(只读,一次拿全四要素):
cd <results_dir> && for d in */; do
echo "$(du -sh "$d" | cut -f1) | $(ls "$d" | wc -l) | $d"
done
# 后缀分布(识别版本最快的一招:不同版本的输出文件名后缀不同)
ls Immune_RUV_result/ | sed 's/.*_//' | sort | uniq -c # → 55 sDEG.csv
ls Immune_v8/ | sed 's/.*_//' | sort | uniq -c # → 50 v8.csv + 辅助表
判定版本身份靠后缀 + 表数 + 体积三件套交叉验证,不靠目录名记忆。
本机与集群都要各清点一次(.viewed.json、ls 均为只读,不触发大文件闸门)。
二、可归因对比(不是列两串数字)
2.1 先做参数差分表
逐行比对两版脚本,只保留能改变统计量的差异:
| 类别 | 例子 | 是否影响结果 |
|---|---|---|
| 决定性 | k/分辨率/协变量进不进模型/守卫阈值/FDR 口径 | ✅ 必须逐项列出 |
| 无影响 | 新增注释列、溯源列、文件后缀、目录名 | ❌ 明确标注"零影响" |
2.2 三指标 + 分层统计
| 指标 | 定义 | 回答什么 |
|---|---|---|
| 集合 Jaccard | ` | A∩B |
| 方向一致率 | 共有基因里 sign(coef) 相同比例 |
变的是"显著性边界"还是"结论方向" |
| 效应量相关 | 全基因 coef 的 Spearman | 整体效应量是否稳定 |
必须按"哪个参数变了"分层统计,而不是给全局平均值。 全局平均会把两三个不同机制混成一个数。
2.3 故意保留一个"不变臂"
设计版本对撞时,留一组参数完全没变的组合当对照。本次 5 个 k 未变的组合结果逐位完全相同 (Jaccard=1.000、Spearman=1.000、显著基因数一致),这一条就把"差异来自 k"而非"差异来自新加协变量"钉死了。 没有这个对照臂,任何归因都只是推测。
2.4 表数不一样必须解释掉
v8 只有 50 表、v2 有 55 表 → 差额来自 v8 新增的 df_resid <= 2 守卫(5 个组合被跳过)。
不能用"少了几个表"当噪声带过,否则对比基数就是错的。同理,表数少于 亚群×比较组 的预期值时,
先查是不是组别缺失(某些亚群本来就不含全部组)而非任务失败——errors.log 为空即可判定是跳过。
详细实测数据见 references/immune-v2-vs-v8-2026-11.md。
三、定版原则(用户偏好,务必遵守)
- 用户已跑通的版本默认就是基准。除非能证明它错,否则不要把它换成自创公式。 用户原话:「还不如我之前的代码来的稳妥」。
- 「改进」的正确姿势:先如实说清基准版的唯一真实弱点(如"偏保守,可能丢弱信号"), 再给可选的敏感性版本,由用户决定要不要换——而不是直接拿新版当主结果。
- 风险不对称判据(选参数/选版本时的通用准绳):
方向 后果 可察觉性 欠校正/欠保守(参数太激进) 噪声被写成结论 → 假阳性 读者无法察觉 过度保守(参数太严) 只丢一部分弱信号 → 假阴性 结论方向不变 → 宁可保守,不可欠校正。 不确定时选保守的那版。 - 一句话定版,不要留两套并列让用户自己挑。定版要写进 task_plan / 报告, 另一版明确标为"仅作敏感性对照"。
- 结论不可为了"改进"而重跑几小时:本次 v8 只有 50 表、覆盖少于 v2 的 55 表, 因此 v2 是更完整的最终版——覆盖面也是定版的合法理由之一。
What ships with it
2 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.
- 13d ago First seen · 149 lines · 103 tokens per session scan B ac6d9db7c986
analysis-version-audit-and-cleanup is a skill published in the GitHub repository GGbond-bo/MemOmics-Agent (33 stars, last pushed 14d ago), licensed MIT. It adds 103 tokens to every session and 2,749 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-17.
analysis-version-audit-and-cleanup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| analysis-version-audit-and-cleanupGGbond-bo/MemOmics-Agent | Skill | 33 | 14d ago | MIT | B | 103 | Claude Code |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 101k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 395k | today | MIT | A | 36 | Claude Code |
| systematic-debuggingobra/superpowers | Skill | 330k | 2d ago | MIT | A | 21 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 14k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |