cellbender-remove-background

cellbender-remove-background is a skill for Claude Code from GGbond-bo/MemOmics-Agent. It costs 0 tokens per session (6,364 once invoked), scanned A, original, MIT.

A single-cell RNA sequencing cleanup tool that removes background RNA from raw 10x Genomics data. Background RNA can come from broken cells and empty droplets.

In plain words
What is it for?
Use it on raw feature-barcode H5 data to estimate and remove environmental RNA contamination, typically with a GPU.
Why use it?
It addresses contamination that can make genes appear active in cells where they were not truly expressed.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Good fit Use it on raw feature-barcode H5 data to estimate and remove environmental RNA contamination, typically with a GPU.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ggbond-bo/memomics-agent/cellbender-remove-background
Install

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.

Any agent
npx skills add GGbond-bo/MemOmics-Agent --skill cellbender-remove-background
Clone the repo
git clone --depth 1 https://github.com/GGbond-bo/MemOmics-Agent

Made for: Claude Code.

Wrote 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.

agentmods badge for cellbender-remove-background

README.md
[![agentmods](https://agentmods.dev/badge/skills/ggbond-bo/memomics-agent/cellbender-remove-background/github.svg)](https://agentmods.dev/skills/ggbond-bo/memomics-agent/cellbender-remove-background)
Your own site
<a href="https://agentmods.dev/skills/ggbond-bo/memomics-agent/cellbender-remove-background"><img src="https://agentmods.dev/badge/skills/ggbond-bo/memomics-agent/cellbender-remove-background/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.

agentmods 80×15 button for cellbender-remove-background

Your own site · 80×15
<a href="https://agentmods.dev/skills/ggbond-bo/memomics-agent/cellbender-remove-background"><img src="https://agentmods.dev/badge/skills/ggbond-bo/memomics-agent/cellbender-remove-background.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,364 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.06364
Opus 5.5 $0.00000 $0.02546
Sonnet 5.5 $0.00000 $0.01273
Haiku 4.5 $0.00000 $0.00636

Measured 1mo ago against content hash 86c675d593d7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cellbender-remove-background 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.

The scan reads SKILL.md. This mod also ships 8 executable files (scripts/ptrepack_all.py, scripts/reference_script.py, scripts/run_cellbender.ps1, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

memomics_home/skills/bioinformatics/cellbender-remove-background/SKILL.md · 461 lines

How it starts

The opening of the file, as written. The whole thing — 461 lines — stays where its author put it; the contents beside it link to each section on GitHub.

⛔ MemOmics 强制规则(不可违反,优先级最高)

本 skill 已集成到 MemOmics-Agent 自进化生信分析平台。使用本 skill 前,必须先通过 skill_view 加载本文件。以下规则覆盖所有默认行为。

规则1: 写代码前 → 必须先 search_knowledge + skill_view

  • 每个分析步骤写代码前,必须先调 search_knowledge(species=..., tissue=..., direction=..., query="<步骤名> 参数")
  • 知识库有匹配 → 用知识库的参数和模板
  • 知识库无匹配 → 用 web 搜索文献,提取方法和参数,存入知识库
  • 绝对不能跳过直接写代码

规则2: 8步循环(每步必须走完整循环)

1. search_knowledge 查本步骤的方法和参数
2. skill_view 加载本 SKILL.md(获取脚本模板+审查规则+参数范围)
3. check_env 检查环境(缺包自动安装)
4. rail_review(pre) 前置审查(参数合理吗?包齐了吗?数据准备好了吗?)
5. 写这一步的代码(基于 skill 模板,只写这一步,不写后续步骤)
6. terminal 执行(分步执行,禁止 && 连接多步骤)
7. debate_analysis 多方辩论(正方/反方切断上下文独立生成 + LLM裁决)
8. rail_review(post) 后置审查(图有没有?结果合理吗?跟知识库对应吗?)

规则3: 代码分段执行 — 写一步跑一步

  • ❌ 禁止一次性写完全部代码用 && 连接执行
  • ✅ 必须分步:写一步 → 执行 → 检查结果 → 辩论 → 下一步

规则4: 关键参数多参数尝试 + 辩论

  • 涉及数值参数时(如 resolution, n_pcs, min_features, FDR threshold 等),至少尝试 2-3 个值
  • 每次参数变更后调 debate_analysis 辩论"这个参数合理吗?结果有没有变好?"
  • 辩论格式(多角色对抗 v3):
    • 正方 3 位专业编辑(各自独立,互相不知道):生物学编辑 / 统计学编辑 / 生信编辑
    • 反方 4 位专业编辑(各自独立,互相不知道,也看不到正方):生物学编辑 / 统计学编辑 / 生信编辑 / 历史经验编辑
    • 裁判编辑:看到所有 7 方论点,给出裁决 + 置信度(高/中/低)
    • 上下文隔离:每个编辑独立 HTTP API 调用,messages 只有自己的 prompt
    • 分科知识库:生物学编辑用 biology_kb / 统计学编辑用 statistics_kb / 生信编辑用 bioinfo_kb / 历史经验编辑用 history_errors
    • 辩论结果自动归档到 results/.../log/debate_*.json
  • 不确定的参数就辩论,不要自己拍脑袋
  • 辩论最多 3 轮:3 轮后选最优参数结果

规则5: 执行后审查

规则N: 运行记录只是参考,不能跳过审查

  • skill_evolution(action="query_logs") 返回的历史运行日志仅供参数参考

  • 即使有 quality_score=9.0 的历史日志,仍必须执行 rail_review(pre)、debate_analysis、rail_review(post)

  • 禁止因"之前跑过"而跳过任何审查步骤

  • 禁止直接用历史日志里的脚本运行而不经本次审查

  • 运行日志是"参考"不是"免审凭证"

    • 图片检查:
      • 图有没有生成?没生成 → 强制重新执行
      • 图片是否空白(全白/全黑/全单一色)?空白 → 强制重新出图
      • 图片是否有 NA/缺失值(>10% 像素是 NA)?有 NA → 强制重新出图
      • 图片大小是否过小(<5KB)?过小 → 强制重新出图
      • 图片数量是否足够?(每步至少 1 张图,关键步骤至少 2-3 张)
    • 代码质量检查:
      • 代码行数是否合理?(过短可能偷懒,过长可能未分段)
      • 代码是否有注释?
      • 代码是否分段执行(禁止 && 连接多步骤)?
    • 结果合理性:
      • 数值范围是否合理?
      • 跟知识库对应吗?
    • 参数和结论辩论:
      • 有参数的选择 → 必须调 debate_analysis 辩论
      • 有结论输出 → 必须调 debate_analysis 辩论
      • 不通过 → 修复重跑
      • 通过 → 必须调 skill_evolution(action="record_run") 记录成功经验(skill_name/script_name/species/tissue/direction/params_used/result_summary/quality_score/notes) → 创建目录存储(figures/results/scripts/data) → 下一步
      • 不通过 → 修复后重跑 → 成功后调 skill_evolution(action="record_run");如果是脚本报错 → 调 skill_evolution(action="record_error") 记录根因+修复方案

Read the full file on GitHub · 461 lines

Changes

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.

  1. 1mo ago Changed · -1 lines · -46 tokens per session 86c675d593d7
  2. 2mo ago First seen · 462 lines · 46 tokens per session scan A f01068a117eb

Subscribe to this mod's changes

cellbender-remove-background is a skill published in the GitHub repository GGbond-bo/MemOmics-Agent (33 stars, last pushed 14d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 6,364 tokens. 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-09-03.

Related

cellbender-remove-background compared with skills from other repositories

cellbender-remove-background next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cellbender-remove-backgroundGGbond-bo/MemOmics-AgentSkill3314d agoMITA0Claude Code
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill37k4d agoApache-2.0A123Claude Code
matlabK-Dense-AI/scientific-agent-skillsSkill59k7d agoMITA44Claude Code
exploratory-data-analysisK-Dense-AI/scientific-agent-skillsSkill59k7d agoMITA83Claude Code
phylogeneticsK-Dense-AI/scientific-agent-skillsSkill59k7d agoMITA71Claude Code, Codex
research-engineerdavila7/claude-code-templatesSkill34ktodayMITA43Claude Code, Codex
mapping-to-snomedmaziyarpanahi/openmedSkill5.9ktodayApache-2.0A205Claude Code