Scanpy Single-Cell Analysis
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.
Load when computing RNA velocity vectors on a scRNA AnnData with spliced / unspliced layers via scVelo (stochastic / dynamical / steady-state); dynamical mode additionally exports latent time.
$ npx skills add TianGzlab/OmicsClaw --skill sc-velocity -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install TianGzlab/OmicsClaw sc-velocity --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-velocity .claude/skills/sc-velocity && 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-velocity" agent skill from https://github.com/TianGzlab/OmicsClaw/tree/main/skills/singlecell/scrna/sc-velocity into .claude/skills/sc-velocity/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sc-velocity", 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-velocityType 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-velocity -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install TianGzlab/OmicsClaw sc-velocity --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-velocity .agents/skills/sc-velocity && 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-velocity" agent skill from https://github.com/TianGzlab/OmicsClaw/tree/main/skills/singlecell/scrna/sc-velocity into .agents/skills/sc-velocity/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sc-velocity", 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-velocity -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install TianGzlab/OmicsClaw sc-velocity --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-velocity .cursor/skills/sc-velocity && 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-velocity" agent skill from https://github.com/TianGzlab/OmicsClaw/tree/main/skills/singlecell/scrna/sc-velocity into .cursor/skills/sc-velocity/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sc-velocity", 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-velocity--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-velocity -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install TianGzlab/OmicsClaw sc-velocity --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-velocity .gemini/skills/sc-velocity && 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-velocity" agent skill from https://github.com/TianGzlab/OmicsClaw/tree/main/skills/singlecell/scrna/sc-velocity into .gemini/skills/sc-velocity/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sc-velocity", 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-velocityInstalls 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-velocity -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-velocity .github/skills/sc-velocity && 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-velocity" agent skill from https://github.com/TianGzlab/OmicsClaw/tree/main/skills/singlecell/scrna/sc-velocity into .github/skills/sc-velocity/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sc-velocity", 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-velocity -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-velocity --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-velocity .opencode/skills/sc-velocity && 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-velocity" agent skill from https://github.com/TianGzlab/OmicsClaw/tree/main/skills/singlecell/scrna/sc-velocity into .opencode/skills/sc-velocity/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sc-velocity", 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-velocityLoad when computing RNA velocity vectors on a scRNA AnnData with spliced / unspliced layers via scVelo (stochastic / dynamical / steady-state); dynamical mode additionally exports latent time.
Sc Velocity is an agent skill from TianGzlab/OmicsClaw. Load when computing RNA velocity vectors on a scRNA AnnData with spliced / unspliced layers via scVelo (stochastic / dynamical / steady-state); dynamical mode additionally exports latent time. Skip when input lacks spliced+unspliced layers (use sc-velocity-prep); trajectory pseudotime ordering (use sc-pseudotime).
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files, including reference files (for example `_api.py`, `examples/example_step.py` and `references/methodology.md`).
It sits in Research & Science, covering Bioinformatics. 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.
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 Velocity loads about 1.5k tokens when it runs, and up to ~3.5k if it reads all its reference files. Until then it costs about 82 tokens; SKILL.md has 599 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). 599 words, ~1,543 tokens.
.claude/skills/sc-velocity/SKILL.md (or your agent's skills folder). This skill also uses 10 other files; get the full folder from GitHub.velocity = load_skill("sc-velocity")
adata = velocity.velocity(read_input("velocity_ready.h5ad"), mode="stochastic",
n_jobs=4, random_state=0)
write_output(velocity.velocity_summary(adata), "tables/velocity_summary.csv")
write_output(velocity.top_velocity_genes(adata), "tables/top_velocity_genes.csv")
write_output(adata, "intermediate/adata_velocity.h5ad")The function modifies the input, including scVelo gene filtering.
examples/example_step.py uses velocity_simulation, a seeded kinetic
simulation with spliced/unspliced layers. The old CLI demo is retained only
for compatibility and does not establish biological velocity.
<!-- api:begin generated from _api.py; regenerate with run.py api <skill dir> --write -->
velocity(adata, *, mode: str='stochastic', n_jobs: int=4, random_state: int=0)Compute scVelo velocity in place, including its gene filtering.
Both spliced and unspliced count layers are required. The shared method filters/normalizes expression, explicitly constructs seeded neighbors, computes moments, velocity and its graph, plus latent time in dynamical mode. Fewer than five cells or genes, graph failures and latent-time failures raise errors; no placeholder outputs are created. Gene filtering modifies every aligned matrix. A failed call can leave partial preprocessing, so retry from a fresh input copy.
:param mode: stochastic (default), steady_state or dynamical. :param n_jobs: Dynamics worker budget, default 4; the shared small-data branch uses one worker. Graph workers follow scVelo's own settings. :param random_state: Neighbor seed, default 0. :returns: The same AnnData. Inspect velocity_diagnostics before interpretation. :raises ValueError: Layers, mode, worker budget or input dimensions are invalid. :raises RuntimeError: Velocity graph or dynamical latent-time computation fails. :raises ImportError: scvelo is unavailable.
run_info(adata, *, keep: bool=True) -> dictRead the completed run's mode, seed and placeholder policy; empty after failure.
Completion does not establish biological fit validity. keep=False removes the record from uns.
velocity_diagnostics(adata) -> dictReturn zero/NaN and expressed-velocity-gene checks, not fit validation.
The API rejects placeholder fallbacks. For objects without a completed API run record, placeholder_fallback_used is unknown (None). These numerical checks do not establish biological fit validity.
velocity_summary(adata) -> pd.DataFrameReturn method, dimensions and latent-time availability as metric/value rows.
velocity_cells_table(adata) -> pd.DataFrameReturn cell_id, optional UMAP coordinates, velocity magnitude and latent time.
top_velocity_genes(adata, *, n_top: int=40) -> pd.DataFrameRank genes by mean absolute velocity and retain their signed mean.
stream_figure(adata, *, basis: str='umap')Return a scVelo stream Figure; X_<basis> must already be present.
<!-- api:end -->
Modes are stochastic (default), steady_state and dynamical.
The shared backend filters and normalizes expression, computes moments,
velocity and its graph, and attempts latent time for dynamical mode.
random_state=0 explicitly seeds the neighbor graph before moments.
n_jobs=4 controls dynamics; the legacy small-data branch uses one worker
and graph workers follow scVelo's settings.
The API never terminates its caller. The compatibility CLI drains its own loky workers and remaining descendants before exiting; it no longer kills the process group that may contain a notebook kernel.
_api.py:14 (velocity): scvelo 0.3.4's stochastic fit fails with NumPy 2.4
when its least-squares code assigns a one-element array to a scalar.
The tested CI combination is scvelo 0.3.4 with NumPy 2.0.2.velocity can remove genes from X and all aligned layers (_api.py:14).velocity_diagnostics(adata), not just the presence of a velocity layer.
It detects zero/NaN output, not biological validity (_api.py:61)._api.py:14).ValueError before fitting.
A failed call can leave partial preprocessing; retry from a fresh copy
of the input (_api.py:14).stream_figure requires an
existing display embedding such as X_umap (_api.py:130).sc-velocity-prep; copied or scaled
expression layers do not supply the required kinetic signal (_api.py:14).Input AnnData must contain layers["spliced"] and layers["unspliced"].
The API returns the annotated object and table/Figure helpers.
CLI files include processed.h5ad, its adata_with_velocity.h5ad alias,
tables/velocity_summary.csv, tables/velocity_cells.csv,
tables/top_velocity_genes.csv, report.md, result.json, plots and
figure-data manifests. Latent-time plots depend on that obs column;
R-enhanced plots are optional.
python skills/singlecell/scrna/sc-velocity/sc_velocity.py --demo --output /tmp/sc_velocity_demo
python skills/singlecell/scrna/sc-velocity/sc_velocity.py --input velocity_ready.h5ad --mode stochastic --output results/anndata, joblib, matplotlib, numpy, pandas, psutil, scanpy, scikit-learn, scipy, scvelo, seaborn
© 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 10 other files (references) in skills/singlecell/scrna/sc-velocity of TianGzlab/OmicsClaw.
Open the folder on GitHubat commit 90a3bec
Sc Velocity 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 Velocity this skillTianGzlab/OmicsClaw | 161 | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| 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 | |
| Anndataaipoch/medical-research-skills | 1.9k | — | ~1.7k | Automated safety check: Pass | MIT | |
| Multiomics StatisticsVectorSpaceLab/AREX-Skill | 331 | — | ~1k | Automated safety check: Pass | GPL-3.0 |
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.
aipoch/medical-research-skills
Data structure for annotated matrices in single-cell analysis; use when reading/writing .h5ad (or zarr) and exchanging data with the scverse ecosystem.
VectorSpaceLab/AREX-Skill
A skill your agent uses for OmicVerse bulk RNA-seq, enrichment/signature scoring, metabolomics, proteomics, microbiome, and statistical table workflows.
JimLiu/science-skills
Embed and annotate single-cell expression data with scGPT, a foundation model for single-cell biology.
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 computing RNA velocity vectors on a scRNA AnnData with spliced / unspliced layers via scVelo (stochastic / dynamical / steady-state); dynamical mode additionally exports latent time. Sc Velocity is an agent skill from TianGzlab/OmicsClaw. Load when computing RNA velocity vectors on a scRNA AnnData with spliced / unspliced layers via scVelo (stochastic / dynamical / steady-state); dynamical mode additionally exports latent time.
Sc Velocity fits situations like: tasks that involve Bioinformatics.
Run `npx skills add TianGzlab/OmicsClaw --skill sc-velocity -a claude-code`. Or copy the skill folder (skills/singlecell/scrna/sc-velocity in TianGzlab/OmicsClaw) into .claude/skills/sc-velocity in your project. Claude Code loads it when a task matches its description.
Run `npx skills add TianGzlab/OmicsClaw --skill sc-velocity -a codex`. Or copy the skill folder (skills/singlecell/scrna/sc-velocity in TianGzlab/OmicsClaw) into .agents/skills/sc-velocity 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-velocity -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-velocity, .gemini/skills/sc-velocity, .github/skills/sc-velocity and .opencode/skills/sc-velocity in your project.
Going by SKILL.md and its folder, Sc Velocity 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 Velocity 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 1.5k tokens (SKILL.md is roughly 6.2k 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 2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Sc Velocity: Scanpy Single-Cell Analysis (davila7/claude-code-templates, 33k stars), PyDESeq2 Differential Expression (davila7/claude-code-templates, 33k stars), Single-Cell Initial Analysis (LigphiDonk/Oh-my--paper, 739 stars) and Anndata (aipoch/medical-research-skills, 1.9k 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.