Lamindb Data Management
jaechang-hits/SciAgent-Skills
Open-source FAIR biology data framework. An agent skill from jaechang-hits/SciAgent-Skills.
Load when testing whether cell-type / cluster proportions or neighbourhood densities differ between conditions in a multi-sample scRNA AnnData via Milo, scCODA, simple proportion screen, or R…
$ npx skills add TianGzlab/OmicsClaw --skill sc-differential-abundance -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install TianGzlab/OmicsClaw sc-differential-abundance --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/TianGzlab/OmicsClaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/singlecell/scrna/sc-differential-abundance .claude/skills/sc-differential-abundance && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "sc-differential-abundance" agent skill from https://github.com/TianGzlab/OmicsClaw/tree/main/skills/singlecell/scrna/sc-differential-abundance into .claude/skills/sc-differential-abundance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sc-differential-abundance", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/TianGzlab/OmicsClaw/tree/main/skills/singlecell/scrna/sc-differential-abundanceType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add TianGzlab/OmicsClaw --skill sc-differential-abundance -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install TianGzlab/OmicsClaw sc-differential-abundance --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TianGzlab/OmicsClaw.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/singlecell/scrna/sc-differential-abundance .agents/skills/sc-differential-abundance && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "sc-differential-abundance" agent skill from https://github.com/TianGzlab/OmicsClaw/tree/main/skills/singlecell/scrna/sc-differential-abundance into .agents/skills/sc-differential-abundance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sc-differential-abundance", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add TianGzlab/OmicsClaw --skill sc-differential-abundance -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install TianGzlab/OmicsClaw sc-differential-abundance --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TianGzlab/OmicsClaw.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/singlecell/scrna/sc-differential-abundance .cursor/skills/sc-differential-abundance && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "sc-differential-abundance" agent skill from https://github.com/TianGzlab/OmicsClaw/tree/main/skills/singlecell/scrna/sc-differential-abundance into .cursor/skills/sc-differential-abundance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sc-differential-abundance", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/TianGzlab/OmicsClaw.git --path skills/singlecell/scrna/sc-differential-abundance--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add TianGzlab/OmicsClaw --skill sc-differential-abundance -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install TianGzlab/OmicsClaw sc-differential-abundance --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TianGzlab/OmicsClaw.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/singlecell/scrna/sc-differential-abundance .gemini/skills/sc-differential-abundance && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "sc-differential-abundance" agent skill from https://github.com/TianGzlab/OmicsClaw/tree/main/skills/singlecell/scrna/sc-differential-abundance into .gemini/skills/sc-differential-abundance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sc-differential-abundance", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install TianGzlab/OmicsClaw sc-differential-abundanceInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add TianGzlab/OmicsClaw --skill sc-differential-abundance -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/TianGzlab/OmicsClaw.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/singlecell/scrna/sc-differential-abundance .github/skills/sc-differential-abundance && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "sc-differential-abundance" agent skill from https://github.com/TianGzlab/OmicsClaw/tree/main/skills/singlecell/scrna/sc-differential-abundance into .github/skills/sc-differential-abundance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sc-differential-abundance", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add TianGzlab/OmicsClaw --skill sc-differential-abundance -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install TianGzlab/OmicsClaw sc-differential-abundance --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TianGzlab/OmicsClaw.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/singlecell/scrna/sc-differential-abundance .opencode/skills/sc-differential-abundance && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "sc-differential-abundance" agent skill from https://github.com/TianGzlab/OmicsClaw/tree/main/skills/singlecell/scrna/sc-differential-abundance into .opencode/skills/sc-differential-abundance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sc-differential-abundance", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
sc-differential-abundanceLoad when testing whether cell-type / cluster proportions or neighbourhood densities differ between conditions in a multi-sample scRNA AnnData via Milo, scCODA, simple proportion screen, or R…
Sc Differential Abundance is an agent skill from TianGzlab/OmicsClaw. Load when testing whether cell-type / cluster proportions or neighbourhood densities differ between conditions in a multi-sample scRNA AnnData via Milo, scCODA, simple proportion screen, or R Monte-Carlo permutation. Skip when ranking marker genes (use sc-markers); per-cell DE (use sc-de).
Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 12 other files, including reference files (for example `_api.py`, `examples/example_step.py` and `references/methodology.md`).
It sits in Research & Science, covering Bioinformatics and DataFrames. It works with AnnData. The repository describes itself as: Conversational & memory-enabled AI research partner for multi-omics analysis. CLI + Desktop App (installers in Releases). From biological idea to full research paper. The licence is Apache-2.0.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 90a3bec. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships script files (Python), which the agent can run.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Sc Differential Abundance loads about 2.1k tokens when it runs, and up to ~3.3k if it reads all its reference files. Until then it costs about 79 tokens; SKILL.md has 675 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from TianGzlab/OmicsClaw at commit 90a3bec, republished under its Apache-2.0 licence (© TianGzlab). 675 words, ~2,067 tokens.
.claude/skills/sc-differential-abundance/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.The user has a multi-sample, multi-condition scRNA AnnData and asks "Did the relative abundance of these cell states change between conditions?" — distinct from per-cell DE. Four methods:
milo (default) — neighbourhood-level DA, replicate-aware (pertpy).sccoda — Bayesian compositional analysis with a reference cell
type (pertpy).simple — exploratory proportion screen, no pertpy needed.proportion_test_r — base-R Monte-Carlo permutation; lollipop plots
with bootstrap 95% CI.For per-cell expression changes between conditions, use sc-de.
For ranking what defines a cluster, use sc-markers.
Use load_skill from the notebook SDK; write returned objects with
write_output. This runnable example is also in examples/example_step.py.
The CLI remains available for standalone reports and galleries.
# Recover a threefold change in a synthetic cell type using independent samples.
# Reads multisample_synthetic: four control and four treated samples.
# Calls sc-differential-abundance: test_abundance, composition, proportion_figure.
from skills._sdk.notebook import load_demo, load_skill, write_output
abundance = load_skill('sc-differential-abundance')
adata = load_demo('multisample_synthetic')
table = abundance.test_abundance(adata, method='simple')
counts, proportions = abundance.composition(adata, sample_key='sample',
condition_key='condition', celltype_key='cell_type')
write_output(table, 'tables/abundance.csv')
write_output(counts, 'tables/sample_counts.csv')
write_output(abundance.proportion_figure(proportions), 'figures/sample_proportions.png')
enriched = table.set_index('cell_type').loc['Enriched']
assert enriched['significant']
assert enriched['log2fc_group_b_over_a'] > 1
assert counts.shape == (8, 3)Input is an AnnData with sample, condition and cell-type columns. Each sample must have one condition. The Python API returns composition tables or a method-specific result DataFrame; it does not change the input.
The CLI writes processed.h5ad, annotated_input.h5ad, report.md,
result.json, and these common tables:
sample_by_celltype_counts.csv, sample_by_celltype_proportions.csv,
condition_mean_proportions.csv. The selected method adds
simple_da_results.csv, milo_nhood_results.csv, sccoda_effects.csv,
or a nonempty proportion_test_results.csv. Figures depend on the method
and available results. R exchange files are temporary.
--method, --fdr, --n-neighbors, --prop, --n-permutations.--condition-key, --sample-key, --cell-type-key — fail fast on missing columns or under-replication.run_milo_da / run_sccoda_da / simple proportion test / R proportion test).result.json (n_nhoods / n_effect_rows / n_cell_types / n_significant, plus backend for milo/sccoda).report.md, result.json.run_info(table)["executed_method"] distinguishes pertpy Milo from the internal milo_like fallback. The fallback reason includes the failed import; it is not the same method as official Milo.multisample_synthetic, with four samples per condition and a known enriched cell type.proportion_test_r permutes cell labels, ignoring sample identity, and uses the existing R seed 42. It requires R; failures propagate from test_abundance rather than being reported as empty successful output.--min-count is accepted by the CLI but has no effect. The API does not expose that unused option.run_info(table) records seeds. random_state controls pertpy and newly computed neighbors; standalone scCODA retains its sampler defaults and reports no effective seed.ValueError for missing values or a sample assigned to multiple conditions; composition and condition_proportions use sample-level denominators.# Demo (built-in synthetic 2-condition × 4-sample data)
python skills/singlecell/scrna/sc-differential-abundance/sc_differential_abundance.py --demo \
--method milo --output /tmp/sc_da_demo
# Milo (replicate-aware neighbourhood DA)
python skills/singlecell/scrna/sc-differential-abundance/sc_differential_abundance.py \
--input integrated.h5ad --output results/ \
--method milo --condition-key treatment --sample-key donor
# scCODA Bayesian compositional analysis
python skills/singlecell/scrna/sc-differential-abundance/sc_differential_abundance.py \
--input integrated.h5ad --output results/ \
--method sccoda --reference-cell-type "B cell" \
--condition-key treatment --sample-key donor --cell-type-key cell_type
# Lightweight proportion screen (no pertpy)
python skills/singlecell/scrna/sc-differential-abundance/sc_differential_abundance.py \
--input integrated.h5ad --output results/ --method simplereferences/parameters.md — every CLI flag, per-method tunablesreferences/methodology.md — when each method wins; pertpy install notesreferences/output_contract.md — result.json keys per method, table column schemassc-cell-annotation / sc-clustering (upstream — produce the cell-type column), sc-de (parallel — per-cell expression DE between conditions, NOT abundance), sc-markers (parallel — within-sample cluster marker ranking, NOT cross-condition)Python packages this skill's script needs. They are not installed for you — check before a long run.
anndata, matplotlib, numpy, pandas, pertpy, scanpy, sccoda, scipy, seaborn, statsmodels
<!-- api:begin generated from _api.py; regenerate with run.py api <skill dir> --write -->
composition(adata, *, sample_key: str, celltype_key: str, condition_key: str)Return sample-by-cell-type counts and row-normalized proportions.
Each sample must belong to one condition. No cells or counts are changed.
condition_proportions(adata, *, sample_key: str, celltype_key: str, condition_key: str) -> pd.DataFrameReturn condition means of per-sample proportions, weighting samples equally.
test_abundance(adata, *, method: str='milo', sample_key: str='sample', condition_key: str='condition', celltype_key: str='cell_type', contrast: str | None=None, reference_cell_type: str='automatic', fdr: float=0.05, prop: float=0.1, n_neighbors: int=30, n_permutations: int=1000, random_state: int=0) -> pd.DataFrameReturn differential-abundance results without changing adata.
simple tests sample proportions with two-sided Mann-Whitney and BH. milo uses pertpy, or the existing milo_like neighborhood screen when its import fails; run_info names the executed backend and reason. scCODA uses pertpy or the installed standalone sccoda backend. random_state controls pertpy and newly computed neighbors; standalone sccoda retains its sampler defaults. proportion_test_r uses the existing fixed R seed 42 and permutes cells, ignoring sample identity; its failures propagate instead of returning an empty success result. This function does not apply a minimum-count filter.
proportion_figure(proportions: pd.DataFrame)Return a sample-by-cell-type proportion heatmap without writing files.
run_info(table: pd.DataFrame, *, keep: bool=True) -> dictReturn backend and seed diagnostics; keep=False removes the table's run record.
<!-- api:end -->
© TianGzlab, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 9 other files (references) in skills/singlecell/scrna/sc-differential-abundance of TianGzlab/OmicsClaw.
Open the folder on GitHubat commit 90a3bec
Sc Differential Abundance next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Sc Differential Abundance this skillTianGzlab/OmicsClaw | 161 | — | ~2.1k | Automated safety check: Pass | Apache-2.0 | |
| Lamindb Data Managementjaechang-hits/SciAgent-Skills | 374 | 2 repos | ~4k | Automated safety check: Pass | Apache-2.0 | |
| Bio Expression Matrix Sparse HandlingGPTomics/bioSkills | 1.2k | 1 repos | ~5.6k | Automated safety check: Pass | MIT | |
| Scanpy Single-Cell Analysisdavila7/claude-code-templates | 33k | 15 repos | ~2.8k | Automated safety check: Pass | MIT | |
| PyDESeq2 Differential Expressiondavila7/claude-code-templates | 33k | 11 repos | ~4k | Automated safety check: Pass | MIT | |
| Single-Cell Initial AnalysisLigphiDonk/Oh-my--paper | 739 | 1 repos | ~1.4k | Automated safety check: Pass | MIT |
jaechang-hits/SciAgent-Skills
Open-source FAIR biology data framework. An agent skill from jaechang-hits/SciAgent-Skills.
GPTomics/bioSkills
Stores and operates on sparse expression matrices for single-cell and large bulk RNA-seq, covering dgCMatrix/dgRMatrix/dgTMatrix when-each-is-fast, the dgCMatrix (CSC, R) <- CSR (Python) implicit…
davila7/claude-code-templates
Walks through single-cell RNA-seq analysis with Scanpy: loading .h5ad and 10X data, QC, normalization, PCA and UMAP, Leiden clustering, marker genes and cell type annotation.
davila7/claude-code-templates
Runs differential gene expression analysis on bulk RNA-seq counts with PyDESeq2: design formulas, Wald tests, FDR correction and volcano or MA plots.
LigphiDonk/Oh-my--paper
Runs a seven-step quality-control and exploration pipeline on scRNA-seq, CyTOF or flow cytometry data and writes a plain-language report of what it found.
K-Dense-AI/scientific-agent-skills
Infers candidate gene regulatory networks from bulk or single-cell expression data using AertsLab Arboreto GRNBoost2 and GENIE3.
TianGzlab/OmicsClaw
Load when the user needs Deterministic fixed-period 24-hour single-component cosinor OLS rhythm analysis for a bulk RNA time-course CSV.
TianGzlab/OmicsClaw
Load when correcting batch effects in bulk expression using R sva ComBat or the legacy Python parametric approximation.
TianGzlab/OmicsClaw
Load when discovering bulk gene co-expression modules and hub genes with R WGCNA.
TianGzlab/OmicsClaw
Load when comparing gene expression between two conditions in bulk RNA-seq count data.
TianGzlab/OmicsClaw
Load when estimating cell-type proportions in bulk RNA-seq samples from a single-cell or signature-matrix reference.
TianGzlab/OmicsClaw
Load when running pathway / GO term enrichment on a bulk RNA-seq DE result list.
Works with
Categories
Load when testing whether cell-type / cluster proportions or neighbourhood densities differ between conditions in a multi-sample scRNA AnnData via Milo, scCODA, simple proportion screen, or R…. Sc Differential Abundance is an agent skill from TianGzlab/OmicsClaw. Load when testing whether cell-type / cluster proportions or neighbourhood densities differ between conditions in a multi-sample scRNA AnnData via Milo, scCODA, simple proportion screen, or R Monte-Carlo permutation.
Sc Differential Abundance fits situations like: tasks that involve Bioinformatics; tasks that involve DataFrames.
Run `npx skills add TianGzlab/OmicsClaw --skill sc-differential-abundance -a claude-code`. Or copy the skill folder (skills/singlecell/scrna/sc-differential-abundance in TianGzlab/OmicsClaw) into .claude/skills/sc-differential-abundance in your project. Claude Code loads it when a task matches its description.
Run `npx skills add TianGzlab/OmicsClaw --skill sc-differential-abundance -a codex`. Or copy the skill folder (skills/singlecell/scrna/sc-differential-abundance in TianGzlab/OmicsClaw) into .agents/skills/sc-differential-abundance in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add TianGzlab/OmicsClaw --skill sc-differential-abundance -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sc-differential-abundance, .gemini/skills/sc-differential-abundance, .github/skills/sc-differential-abundance and .opencode/skills/sc-differential-abundance in your project.
Going by SKILL.md and its folder, Sc Differential Abundance needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Sc Differential Abundance is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.1k tokens (SKILL.md is roughly 8.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Sc Differential Abundance: Lamindb Data Management (jaechang-hits/SciAgent-Skills, 374 stars), Bio Expression Matrix Sparse Handling (GPTomics/bioSkills, 1.2k stars), Scanpy Single-Cell Analysis (davila7/claude-code-templates, 33k stars) and PyDESeq2 Differential Expression (davila7/claude-code-templates, 33k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
TianGzlab (a GitHub organization) maintains it in TianGzlab/OmicsClaw, which has 161 GitHub stars. The repository holds 88 skills in this directory. The repository was last updated on October 7, 2026.
Source: TianGzlab/OmicsClaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.