bulkrna-batch-correction

bulkrna-batch-correction is a skill for Claude Code, Codex from TianGzlab/OmicsClaw. It costs 53 tokens per session (1,071 once invoked), scanned A, original, Apache-2.0.

A tool for correcting batch effects in bulk RNA sequencing data from multiple groups or experiments. A batch effect is an unwanted difference caused by things such as sequencing runs or preparation dates rather than biology.

In plain words
What is it for?
Loading an expression table and batch information, applying ComBat correction, comparing data before and after correction with PCA, and producing corrected tables and a report.
Why use it?
It reduces technical differences that can make samples group by experiment conditions instead of their real biological differences.

Skill for Claude CodeCodex

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

Good fit Loading an expression table and batch information, applying ComBat correction, comparing data before and after correction with PCA, and producing corrected tables and a report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tiangzlab/omicsclaw/bulkrna-batch-correction
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 TianGzlab/OmicsClaw --skill bulkrna-batch-correction
Clone the repo
git clone --depth 1 https://github.com/TianGzlab/OmicsClaw

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 bulkrna-batch-correction

README.md
[![agentmods](https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/bulkrna-batch-correction/github.svg)](https://agentmods.dev/skills/tiangzlab/omicsclaw/bulkrna-batch-correction)
Your own site
<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/bulkrna-batch-correction"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/bulkrna-batch-correction/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 bulkrna-batch-correction

Your own site · 80×15
<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/bulkrna-batch-correction"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/bulkrna-batch-correction.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,071 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 3
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
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.00053 $0.01071
Opus 5.5 $0.00021 $0.00428
Sonnet 5.5 $0.00011 $0.00214
Haiku 4.5 $0.00005 $0.00107

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

Security

Grade A, and why

bulkrna-batch-correction 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 4 executable files (_api.py, bulkrna_batch_correction.py, examples/example_step.py, …), 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.

skills/bulkrna/bulkrna-batch-correction/SKILL.md · 116 lines

How it starts

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

bulkrna-batch-correction

When to use

Load when correcting batch effects in bulk expression using R sva ComBat or the legacy Python parametric approximation. Skip single-batch inputs; use sc-batch-integration for single-cell data or spatial-integrate for spatial slices.

Use from a step

from skills._sdk.notebook import load_skill, write_output
library = load_skill("bulkrna-batch-correction")
result = library.correct(data, batches=batches, backend="python")
write_output(result, "tables/result.csv")
write_output(library.pca_figure(result, batches=batches), "figures/result.png")

Read expression and metadata with read_input before calling the library. examples/example_step.py constructs a small synthetic dataset and checks its results through the step runner and fresh-kernel replay.

API

correct(data: pd.DataFrame, *, batches: pd.DataFrame, mode: str='parametric', backend: str='auto') -> pd.DataFrame

Return corrected expression, leaving the input unchanged.

:param data: Finite nonnegative expression, features by samples; correction uses this scale directly. :param batches: Metadata with sample and batch columns, and optional biological condition. :param mode: CLI default parametric, or non-parametric (requires R sva). :param backend: auto prefers R as the CLI did; r requires R, python uses the legacy parametric approximation. :returns: Corrected DataFrame with run_info diagnostics; values can be negative. :raises ValueError: Data, metadata, mode or backend is invalid. :raises ImportError: An explicitly requested R backend is unavailable. :raises RuntimeError: R fails and the requested mode/design has no Python fallback.

run_info(data: pd.DataFrame, *, keep: bool=True) -> dict

Return backend diagnostics and before/after batch metrics.

:param data: Result of correct. :param keep: Keep diagnostics by default; the CLI passes False. :returns: Diagnostics dictionary. :raises ValueError: No correction diagnostics are attached.

Read the full file on GitHub · 116 lines

Files

What ships with it

8 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 Changed · +31 lines · -10 tokens per session 67cc644387c0
  2. 3mo ago First seen · 85 lines · 63 tokens per session scan A 339357148f1a

Subscribe to this mod's changes

bulkrna-batch-correction is a skill published in the GitHub repository TianGzlab/OmicsClaw (161 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 53 tokens to every session and 1,071 once invoked, about $0.0002 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-08-30.

Related

bulkrna-batch-correction compared with skills from other repositories

bulkrna-batch-correction next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bulkrna-batch-correctionTianGzlab/OmicsClawSkill1611mo agoApache-2.0A53Claude Code, Codex
scanpysynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A68Claude Code, Codex
cellxgene-census-queryPharMolix/OpenBioMedSkill1.1k4mo agoMITA105Claude Code, Codex
single-cell-scrna-seq-analysis-scanpyPharMolix/OpenBioMedSkill1.1k4mo agoMITA85Claude Code, Codex
single-cell-multi-omics-analysis-scviPharMolix/OpenBioMedSkill1.1k4mo agoMITA94Claude Code, Codex
molview-specPDBeurope/PDBe-MCP-ServersSkill4814d agoApache-2.0A57Claude Code, Codex
anndatasynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A63Claude Code, Codex