dnbc4tools-index-building

dnbc4tools-index-building is a skill for Claude Code, Codex from GGbond-bo/MemOmics-Agent. It costs 182 tokens per session (5,965 once invoked), scanned A, original, MIT.

A reference-index building workflow for BGI DNBelab C-series single-cell data. It prepares the files needed to map RNA or ATAC sequencing reads, but only after confirming the platform, data type, and whether an index already exists.

In plain words
What is it for?
It helps build RNA indexes with STAR, ATAC indexes with Chromap, and clean or correct GTF gene-annotation files for dnbc4tools.
Why use it?
It prevents using the wrong indexing method for another platform, such as 10x Genomics, or rebuilding an index that is already available. It also requires key details to be clarified before running commands.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps build RNA indexes with STAR, ATAC indexes with Chromap, and clean or correct GTF gene-annotation files for dnbc4tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ggbond-bo/memomics-agent/dnbc4tools-index-building
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 dnbc4tools-index-building
Clone the repo
git clone --depth 1 https://github.com/GGbond-bo/MemOmics-Agent

Made for: Claude Code, Codex.

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 dnbc4tools-index-building

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ggbond-bo/memomics-agent/dnbc4tools-index-building"><img src="https://agentmods.dev/badge/skills/ggbond-bo/memomics-agent/dnbc4tools-index-building.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 182 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,965 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00182 $0.05965
Opus 5.5 $0.00073 $0.02386
Sonnet 5.5 $0.00036 $0.01193
Haiku 4.5 $0.00018 $0.00596

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

Security

Grade A, and why

dnbc4tools-index-building scanned grade A 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/run_mkref.sh), 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

# wget http://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_32/GRCh38.primary_assembly.genome.fa.gz
memomics_home/skills/bioinformatics/dnbc4tools-index-building/SKILL.md · 312 lines

How it starts

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

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

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

规则0: 触发门禁(🔴 用户特别指定 · 先问清楚再触发 · 优先级最高)

2026-08-28 用户明确要求:"触发这个skill之前,一定要问清楚是BGI,华大基因,华大的ATAC或者RNA索引,记得写到触发场景和skill里,什么触发什么时候不触发"

命中触发词(DNBelab/dnbc4tools/华大单细胞/BGI索引/mkref/华大/索引等)时,禁止直接执行建库命令,必须先依次确认:

# 必问问题 用户回答「是/确认」→ 用户回答「否/无关」→
① 厂家确认:你的数据/需求是华大 BGI / DNBelab C 系列平台吗?(不是 10X Genomics,不是 Illumina 常规流程) 继续问 ② ❌ 不触发本 skill → redirect:10X → Cell Ranger/STARsolo;常规 RNA-seq → 标准 STAR/hisat2;问用户具体平台
② 类型确认:要建的是 RNA 索引(rna mkref,STAR 2.7.2b,服务 scRNA 比对+量化)还是 ATAC 索引(atac mkref,chromap,服务 scATAC 可及性)? 按对应分支执行(Step 3a / 3b) 用户要的是 scVDJ → 不建库,直接 vdj run --ref Human/Mouse;要标准 STAR 索引 → 不触发
③ 状态确认:已存在含 ref.json 的库目录了吗? 已有 → ❌ 不建库,直接 rna run --genomeDir / atac run --genomeDir 复用 没有 → 开始建库流程

确认完成 → 才允许 skill_view 加载 + 执行建库。

⛔ 禁止在未澄清厂家的情况下把任何"建索引"需求都路由到本 skill。

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

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

规则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: 关键参数多参数尝试 + 辩论

  • 涉及数值参数时,至少尝试 2-3 个值
  • 每次参数变更后调 debate_analysis 辩论"这个参数合理吗?结果有没有变好?"
  • 辩论格式(多角色对抗 v3):正方 3 位专业编辑 / 反方 4 位专业编辑 / 裁判编辑
  • 不确定的参数就辩论,不要自己拍脑袋
  • 辩论最多 3 轮:3 轮后选最优参数结果

规则5: 执行后审查(强化版)

  • 每步执行完调 rail_review(post) 审查,审查内容全部强制:
    • 结果合理性:索引文件存在且非空?ref.json 生成?字段与 skill 预期吻合?
    • 参数和结论辩论:有参数的选择 → 必须调 debate_analysis
    • 通过 → 必须调 skill_evolution(action="record_run") 记录成功经验
    • 不通过 → 修复重跑;脚本报错 → skill_evolution(action="record_error")

Read the full file on GitHub · 312 lines

Files

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.

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 First seen · 312 lines · 182 tokens per session scan A 8362443a5df0

Subscribe to this mod's changes

dnbc4tools-index-building is a skill published in the GitHub repository GGbond-bo/MemOmics-Agent (33 stars, last pushed 14d ago), licensed MIT. It adds 182 tokens to every session and 5,965 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-12.

Related

dnbc4tools-index-building compared with skills from other repositories

dnbc4tools-index-building next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dnbc4tools-index-buildingGGbond-bo/MemOmics-AgentSkill3314d agoMITA182Claude Code, Codex
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