Scgpt
JimLiu/science-skills
Embed and annotate single-cell expression data with scGPT, a foundation model for single-cell biology.
Load when deconvolving spot-level cell-type proportions on a Visium-style spatial AnnData using a labelled scRNA reference (FlashDeconv / Cell2location / RCTD / DestVI / Tangram / others).
$ npx skills add TianGzlab/OmicsClaw --skill spatial-deconv -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install TianGzlab/OmicsClaw spatial-deconv --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/spatial/spatial-deconv .claude/skills/spatial-deconv && 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 "spatial-deconv" agent skill from https://github.com/TianGzlab/OmicsClaw/tree/main/skills/spatial/spatial-deconv into .claude/skills/spatial-deconv/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "spatial-deconv", 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/spatial/spatial-deconvType 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 spatial-deconv -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install TianGzlab/OmicsClaw spatial-deconv --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/spatial/spatial-deconv .agents/skills/spatial-deconv && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "spatial-deconv" agent skill from https://github.com/TianGzlab/OmicsClaw/tree/main/skills/spatial/spatial-deconv into .agents/skills/spatial-deconv/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "spatial-deconv", 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 spatial-deconv -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install TianGzlab/OmicsClaw spatial-deconv --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/spatial/spatial-deconv .cursor/skills/spatial-deconv && 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 "spatial-deconv" agent skill from https://github.com/TianGzlab/OmicsClaw/tree/main/skills/spatial/spatial-deconv into .cursor/skills/spatial-deconv/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "spatial-deconv", 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/spatial/spatial-deconv--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 spatial-deconv -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install TianGzlab/OmicsClaw spatial-deconv --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/spatial/spatial-deconv .gemini/skills/spatial-deconv && 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 "spatial-deconv" agent skill from https://github.com/TianGzlab/OmicsClaw/tree/main/skills/spatial/spatial-deconv into .gemini/skills/spatial-deconv/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "spatial-deconv", 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 spatial-deconvInstalls 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 spatial-deconv -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/spatial/spatial-deconv .github/skills/spatial-deconv && 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 "spatial-deconv" agent skill from https://github.com/TianGzlab/OmicsClaw/tree/main/skills/spatial/spatial-deconv into .github/skills/spatial-deconv/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "spatial-deconv", 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 spatial-deconv -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 spatial-deconv --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/spatial/spatial-deconv .opencode/skills/spatial-deconv && 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 "spatial-deconv" agent skill from https://github.com/TianGzlab/OmicsClaw/tree/main/skills/spatial/spatial-deconv into .opencode/skills/spatial-deconv/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "spatial-deconv", 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.
spatial-deconvLoad when deconvolving spot-level cell-type proportions on a Visium-style spatial AnnData using a labelled scRNA reference (FlashDeconv / Cell2location / RCTD / DestVI / Tangram / others).
Spatial Deconv is an agent skill from TianGzlab/OmicsClaw. Load when deconvolving spot-level cell-type proportions on a Visium-style spatial AnnData using a labelled scRNA reference (FlashDeconv / Cell2location / RCTD / DestVI / Tangram / others). Skip when each spot is a single cell already (Xenium / MERFISH) (use spatial-annotate); tissue-domain detection (use spatial-domains).
Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including reference files (for example `r_visualization/README.md`, `references/methodology.md` and `references/output_contract.md`).
It sits in Research & Science, covering Bioinformatics. It works with AnnData and scvi-tools. 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 MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 6fbd79f. 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 and R), 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.
Spatial Deconv loads about 1.9k tokens when it runs, and up to ~6.7k if it reads all its reference files. Until then it costs about 85 tokens; SKILL.md has 483 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 6fbd79f, republished under its MIT licence (© TianGzlab). 483 words, ~1,874 tokens.
.claude/skills/spatial-deconv/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.The user has a Visium-style multi-cell-per-spot spatial AnnData PLUS a labelled scRNA reference AnnData and wants per-spot cell-type proportions. Eight backends:
flashdeconv (default) — ultra-fast O(N) CPU sketching. No GPU.cell2location — Bayesian deep learning with spatial priors
(--cell2location-n-epochs, --cell2location-detection-alpha,
--cell2location-n-cells-per-spot). Requires scvi-tools +
cell2location + torch.rctd — Robust Cell Type Decomposition (R / spacexr).destvi — multi-resolution VAE (--destvi-n-epochs,
--destvi-n-hidden / --destvi-n-latent / --destvi-n-layers).
Requires scvi-tools + torch.stereoscope — two-stage probabilistic VAE
(--stereoscope-learning-rate). Requires scvi-tools + torch.tangram — gradient-based mapping (--tangram-n-epochs,
--tangram-learning-rate). Requires tangram.spotlight — NMF-based with marker-gene priors
(--spotlight-n-top, --spotlight-min-prop, --spotlight-weight-id).card — Conditional Autoregressive R-based deconvolution.For single-cell-per-spot platforms (Xenium / MERFISH) use
spatial-annotate. For tissue-region detection (no reference needed)
use spatial-domains.
<!-- AUTO-GENERATED from skill.yaml (interface) — do not edit by hand. Regenerate: python scripts/generate_skill_md.py <skill_dir> -->
Inputs
.h5adX normalised, PCA/neighbours present)obsm: spatialOutputs
tables/card_proportions.csvtables/card_refined_proportions.csvtables/celltype_diversity.csvtables/deconv_run_summary.csvtables/deconv_spatial_points.csvtables/deconv_spot_metrics.csvtables/deconv_umap_points.csvtables/dominant_celltype.csvtables/dominant_celltype_counts.csvtables/mean_proportions.csvtables/proportions.csvtables/rctd_proportions.csvtables/ref_celltypes.csvtables/ref_counts.csvtables/ref_meta.csvtables/spatial_coords.csvtables/spatial_counts.csvtables/spotlight_proportions.csvfigures/assignment_margin_distribution.pngfigures/assignment_margin_spatial.pngfigures/celltype_diversity.pngfigures/dominant_celltype.pngfigures/dominant_celltype_distribution.pngfigures/mean_proportions.pngfigures/spatial_proportions.pngfigures/umap_proportions.pngprocessed.h5adreport.mdresult.jsonsaves_h5ad) — adds obs: deconv_{method}_dominant_cell_type, deconv_{method}_dominant_proportion; obsm: deconvolution_{method}--reference .h5ad with cell-type labels). For flashdeconv reference is optional (uses internal heuristic).parser.error validates --input / --reference / numeric flags (lines :300-350).METHOD_PARAM_DEFAULTS.processed.h5ad (with obsm["proportions"]), tables, figures, report.md, result.json.parser.error (exit code 2). spatial_deconv.py:300 for missing --input; :302 for missing input path; :306 for missing --reference on methods that need one; :308 for missing reference path; :335 and :338-350 for per-method numeric flag validation. Wrappers expecting ValueError need to catch exit-2.--reference is required for almost every method (only flashdeconv can run without it). spatial_deconv.py:306 raises parser.error(f"--reference is required for method '{args.method}'") for the others. The reference must have cell-type labels in obs (key auto-resolved from common names).spatial_deconv.py:594 raises ValueError(f"Stored deconvolution matrix '<prop_key>' not found in adata.obsm") when re-rendering an already-deconvolved AnnData and the obsm key is missing. Used by the replot workflow.obsm["spatial"] ↔ obsm["X_spatial"] sync at :534-536. Same dual-key pattern as spatial-domains — both keys exist after a run.--cell2location-detection-alpha must be > 0. spatial_deconv.py:340 enforces. The cell2location default (typically 200) is a regularisation strength — lower values mean less spatial smoothing.--destvi-dropout-rate is in [0, 1), not [0, 1]. spatial_deconv.py:342 enforces strict-less-than-1. dropout=1 would zero out everything.rctd, card) need a working R env. Both rely on R packages (spacexr for RCTD, CARD for CARD). Missing R deps surface as ImportError at runtime, not at preflight.# Demo (synthetic; flashdeconv default)
python omicsclaw.py run spatial-deconv --demo --output /tmp/spatial_deconv_demo
# FlashDeconv (CPU-only, fastest)
python omicsclaw.py run spatial-deconv \
--input visium.h5ad --reference scrna_atlas.h5ad --output results/ \
--method flashdeconv
# Cell2location (Bayesian, GPU)
python omicsclaw.py run spatial-deconv \
--input visium.h5ad --reference scrna_atlas.h5ad --output results/ \
--method cell2location --cell2location-n-epochs 30000 \
--cell2location-n-cells-per-spot 8 --cell2location-detection-alpha 200
# RCTD (R-backed)
python omicsclaw.py run spatial-deconv \
--input visium.h5ad --reference scrna_atlas.h5ad --output results/ \
--method rctd --rctd-mode full
# Tangram (gradient mapping)
python omicsclaw.py run spatial-deconv \
--input visium.h5ad --reference scrna_atlas.h5ad --output results/ \
--method tangram --tangram-n-epochs 1000 --tangram-learning-rate 0.1
# CARD (Conditional Autoregressive R deconv)
python omicsclaw.py run spatial-deconv \
--input visium.h5ad --reference scrna_atlas.h5ad --output results/ \
--method cardreferences/parameters.md — every CLI flag, per-method tunablesreferences/methodology.md — when each backend wins; reference-data prepreferences/output_contract.md — obsm["proportions"] / obs["dominant_celltype"] schemaspatial-preprocess (upstream — produces the input AnnData), sc-cell-annotation (upstream — labels the scRNA reference passed via --reference), spatial-annotate (parallel — for single-cell-per-spot platforms NOT spot deconvolution), spatial-domains (parallel — finds tissue regions WITHOUT a reference; complementary to deconv), spatial-de (downstream — DE between deconv-defined dominant-celltype groups)© TianGzlab, MIT. 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 8 other files (references) in skills/spatial/spatial-deconv of TianGzlab/OmicsClaw.
Open the folder on GitHubat commit 6fbd79f
Spatial Deconv 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 |
|---|---|---|---|---|---|---|
| Spatial Deconv this skillTianGzlab/OmicsClaw | 161 | — | ~1.9k | Automated safety check: Pass | MIT | |
| ScgptJimLiu/science-skills | 227 | 4 repos | ~1.3k | Automated safety check: Pass | Apache-2.0 | |
| ScanpyK-Dense-AI/scientific-agent-skills | 48k | 1 repos | ~5.1k | Automated safety check: Pass | BSD-3-Clause | |
| Cellxgene CensusK-Dense-AI/scientific-agent-skills | 48k | 1 repos | ~3.4k | Automated safety check: Notes | MIT | |
| Anndata Data Structurejaechang-hits/SciAgent-Skills | 370 | 2 repos | ~5.8k | Automated safety check: Pass | BSD-3-Clause | |
| AnndataK-Dense-AI/scientific-agent-skills | 48k | 1 repos | ~3.9k | Automated safety check: Notes | BSD-3-Clause |
JimLiu/science-skills
Embed and annotate single-cell expression data with scGPT, a foundation model for single-cell biology.
K-Dense-AI/scientific-agent-skills
Performs Scanpy single-cell RNA-seq QC, normalization, HVG selection, PCA/UMAP/t-SNE, clustering, exploratory marker ranking, pseudobulk preparation, visualization, and Seurat or…
K-Dense-AI/scientific-agent-skills
Queries the CZ CELLxGENE Census programmatically for versioned public single-cell and spatial transcriptomics data.
jaechang-hits/SciAgent-Skills
Annotated matrices for single-cell genomics. An agent skill from jaechang-hits/SciAgent-Skills.
K-Dense-AI/scientific-agent-skills
Handles annotated matrices in single-cell analysis, .h5ad and Zarr files, and integration with the scverse ecosystem.
aipoch/medical-research-skills
Standard single-cell RNA-seq analysis pipeline. An agent skill from aipoch/medical-research-skills.
TianGzlab/OmicsClaw
Load when removing batch effects from a multi-cohort bulk RNA-seq dataset using ComBat (R or Python implementation).
TianGzlab/OmicsClaw
Load when discovering gene co-expression modules and hub genes in a bulk RNA-seq cohort via WGCNA-style soft-thresholded networks.
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.
TianGzlab/OmicsClaw
Load when converting gene identifiers between Ensembl, Entrez, and HGNC symbol in a bulk RNA-seq count matrix.
Works with
Categories
Load when deconvolving spot-level cell-type proportions on a Visium-style spatial AnnData using a labelled scRNA reference (FlashDeconv / Cell2location / RCTD / DestVI / Tangram / others). Spatial Deconv is an agent skill from TianGzlab/OmicsClaw. Load when deconvolving spot-level cell-type proportions on a Visium-style spatial AnnData using a labelled scRNA reference (FlashDeconv / Cell2location / RCTD / DestVI / Tangram / others).
Spatial Deconv fits situations like: tasks that involve Bioinformatics.
Run `npx skills add TianGzlab/OmicsClaw --skill spatial-deconv -a claude-code`. Or copy the skill folder (skills/spatial/spatial-deconv in TianGzlab/OmicsClaw) into .claude/skills/spatial-deconv in your project. Claude Code loads it when a task matches its description.
Run `npx skills add TianGzlab/OmicsClaw --skill spatial-deconv -a codex`. Or copy the skill folder (skills/spatial/spatial-deconv in TianGzlab/OmicsClaw) into .agents/skills/spatial-deconv 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 spatial-deconv -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/spatial-deconv, .gemini/skills/spatial-deconv, .github/skills/spatial-deconv and .opencode/skills/spatial-deconv in your project.
Going by SKILL.md and its folder, Spatial Deconv needs Python and R 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.
Spatial Deconv is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.5k 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 4.8k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Spatial Deconv: Scgpt (JimLiu/science-skills, 227 stars), Scanpy (K-Dense-AI/scientific-agent-skills, 48k stars), Cellxgene Census (K-Dense-AI/scientific-agent-skills, 48k stars) and Anndata Data Structure (jaechang-hits/SciAgent-Skills, 370 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 95 skills in this directory. The repository was last updated on July 28, 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.