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 cellbender-batch-pipelinegit 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/cellbender-batch-pipeline)<a href="https://agentmods.dev/skills/ggbond-bo/memomics-agent/cellbender-batch-pipeline"><img src="https://agentmods.dev/badge/skills/ggbond-bo/memomics-agent/cellbender-batch-pipeline/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/cellbender-batch-pipeline"><img src="https://agentmods.dev/badge/skills/ggbond-bo/memomics-agent/cellbender-batch-pipeline.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.00069 | $0.20410 |
| Opus 5.5 | $0.00028 | $0.08164 |
| Sonnet 5.5 | $0.00014 | $0.04082 |
| Haiku 4.5 | $0.00007 | $0.02041 |
Grade C, and why
cellbender-batch-pipeline scanned grade C with 2 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 2mo 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 deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- **铁律**: 任何涉及**删除**的操作(`rm -rf` / `del` / 覆盖输出目录)→ 必须先向用户确认"我要删除 X 目录/文件,可以吗?"并等待明确批准。不批准 = 不删。 Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
subprocess.run(cellbender_cmd, env=env, timeout=2400) How it starts
The opening of the file, as written. The whole thing — 662 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CellBender 批量样本 Pipeline
🔴 CRITICAL: AUTO-START FORBIDDEN
NEVER auto-start CellBender without the user's explicit, unambiguous request.
The agent has repeatedly made this catastrophic error: reading stale task_plan.md from a wrong session and auto-restarting CellBender pipelines. User has been furious 5+ times.
Before ANY CellBender action:
- Verify the
task_plan.mdGoal matches what the user actually said in the current conversation - If Goal is a placeholder ("你是谁?") or references tasks the user never mentioned → ABORT immediately
- If ANY doubt about whether the user asked for CellBender → ASK, do not assume
- When user says "cancel" / "don't run" / "didn't ask for this" → in the SAME response (do NOT wait for the next wake-up):
- (a) kill ALL CellBender processes (taskkill /F /PID, never /IM python.exe)
- (b) remove pipeline scripts (
run_remaining.py,_heartbeat.py,_pipeline_progress.json,_heartbeat.json,monitor_v2.log) - (c) IMMEDIATELY rewrite task_plan.md with Goal set to actual session tasks, all CellBender phases removed, and a
⛔ BLOCKED_KEYWORDSsection explicitly listing: CellBender, Monkey, any task the user explicitly cancelled - ⛔ If task_plan.md is NOT rewritten NOW, the next system wake-up WILL re-read the stale task_plan and restart the pipeline — causing the user to have to say "cancel" yet again
- Cross-session contamination:
system_log.jsonlfrom other sessions (memomics-1c1890da) is NOT a valid source of tasks for the current session
When to Use
- 10+ 样本需要串行跑 CellBender(总时长 > 1 小时)
terminal(background=true)进程跨对话 turn 频繁死亡- PyTorch 2.12 + Python 3.12 环境下
torch.save报 weakref 错误 - 需要无人值守跑完 + 早上看结果
⛔ 核心教训
问题 1: terminal background 不可靠
terminal(background=true, notify_on_complete=true) 在跨 turn 时可能被杀,进程列表变成空,无声死亡。
症状:跑着跑着进程没了,process(action='list') 返回空,零产出。
问题 2: torch.save weakref (CellBender 专属)
What ships with it
44 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.
- environment.json 554 B
- references/cleanup-vs-delete-misinterpretation.md 2.1 KB
- references/comparison-diagnosis.md 2.1 KB
- references/concurrent-execution-log-evidence.md 3.0 KB
- references/convergence-indicator.md 1.7 KB
- references/cross-session-pipeline-recovery.md 3.6 KB
- references/error-scanner-design.md 5.6 KB
- references/error-scanner-fix-pending.md 2.0 KB
- references/excel-summary-post-cellbender.md 1.8 KB
- references/heartbeat-3x-death-timeline.md 2.2 KB
- references/heartbeat-death-during-zombie-cascade.md 1.9 KB
- references/heartbeat-monitor.sh 1.0 KB runs code
- references/heartbeat-v2-guide.md 1.3 KB
- references/html-report-fix.md 1.4 KB
- references/long-task-execution-methods.md 4.0 KB
- references/mandatory-parameters-checklist.md 2.2 KB
- references/mckp-estimator-cpu-phase.md 1.4 KB
- references/mckp-posterior-bypass.md 2.1 KB
- references/monitor-log-not-authoritative.md 2.6 KB
- references/monitoring-lessons-2026-07-25.md 4.5 KB
- references/pipeline-watchdog-design.md 1.7 KB
- references/post-cellbender-summary.md 2.9 KB
- references/process-launch-decision-tree.md 3.6 KB
- references/ptrepack-h5py-corruption-fallback.md 3.1 KB
- references/ptrepack-msys-bash-fixes.md 2.6 KB
- references/pytorch-load-weights-only-fix.md 2.9 KB
- references/pytorch-weights-only-fix.md 1.8 KB
- references/pytorch26-checkpoint-fix.md 1.8 KB
- references/resume-pipeline-pattern.md 1.8 KB
- references/simple-heartbeat-template.md 4.8 KB
- references/stale-log-reporting-timeline.md 2.1 KB
- references/task-plan-template.md 1.7 KB
- references/tool-path-detection.md 3.1 KB
- references/total-droplets-included-ratio-investigation.md 4.1 KB
- references/windows-ckpt-oom-fixes.md 3.1 KB
- references/zombie-cascade-recipe.md 2.8 KB
- scripts/error_scanner.py 10 KB runs code
- scripts/heartbeat_v2.py 7.6 KB runs code
- scripts/pipeline_watchdog.py 12 KB runs code
- scripts/ptrepack_h5py_batch.py 6.7 KB runs code
- scripts/run_one_by_one.sh 2.4 KB runs code
- scripts/stage4_per_sample_stats.py 3.8 KB runs code
- scripts/validate_env.py 4.9 KB runs code
- skill.json 706 B
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.
- 2mo ago Changed 30da06731509
- 2mo ago First seen · 662 lines · 69 tokens per session scan C 7da46e1e9ee0
cellbender-batch-pipeline is a skill published in the GitHub repository GGbond-bo/MemOmics-Agent (33 stars, last pushed 14d ago), licensed MIT. It adds 69 tokens to every session and 20,410 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
cellbender-batch-pipeline compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cellbender-batch-pipelineGGbond-bo/MemOmics-Agent | Skill | 33 | 14d ago | MIT | C | 69 | Claude Code, Codex |
| 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 |