Cellxgene Census
davila7/claude-code-templates
Query CZ CELLxGENE Census (61M+ cells). An agent skill from davila7/claude-code-templates.
Routes agents to the right tangermeme reference for analyzing trained genomic deep learning models, from attributions and motif experiments to variant effects and design.
$ npx skills add jmschrei/tangermeme --skill tangermeme -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install jmschrei/tangermeme tangermeme --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/jmschrei/tangermeme.git skills-src && mkdir -p .claude/skills && cp -r skills-src/tangermeme/_skills/data .claude/skills/tangermeme && 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 "tangermeme" agent skill from https://github.com/jmschrei/tangermeme/tree/main/tangermeme/_skills/data into .claude/skills/tangermeme/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tangermeme", 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/jmschrei/tangermeme/tree/main/tangermeme/_skills/dataType 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 jmschrei/tangermeme --skill tangermeme -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install jmschrei/tangermeme tangermeme --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jmschrei/tangermeme.git skills-src && mkdir -p .agents/skills && cp -r skills-src/tangermeme/_skills/data .agents/skills/tangermeme && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "tangermeme" agent skill from https://github.com/jmschrei/tangermeme/tree/main/tangermeme/_skills/data into .agents/skills/tangermeme/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tangermeme", 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 jmschrei/tangermeme --skill tangermeme -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install jmschrei/tangermeme tangermeme --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jmschrei/tangermeme.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/tangermeme/_skills/data .cursor/skills/tangermeme && 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 "tangermeme" agent skill from https://github.com/jmschrei/tangermeme/tree/main/tangermeme/_skills/data into .cursor/skills/tangermeme/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tangermeme", 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/jmschrei/tangermeme.git --path tangermeme/_skills/data--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 jmschrei/tangermeme --skill tangermeme -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install jmschrei/tangermeme tangermeme --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jmschrei/tangermeme.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/tangermeme/_skills/data .gemini/skills/tangermeme && 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 "tangermeme" agent skill from https://github.com/jmschrei/tangermeme/tree/main/tangermeme/_skills/data into .gemini/skills/tangermeme/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tangermeme", 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 jmschrei/tangermeme tangermemeInstalls 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 jmschrei/tangermeme --skill tangermeme -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/jmschrei/tangermeme.git skills-src && mkdir -p .github/skills && cp -r skills-src/tangermeme/_skills/data .github/skills/tangermeme && 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 "tangermeme" agent skill from https://github.com/jmschrei/tangermeme/tree/main/tangermeme/_skills/data into .github/skills/tangermeme/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tangermeme", 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 jmschrei/tangermeme --skill tangermeme -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install jmschrei/tangermeme tangermeme --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jmschrei/tangermeme.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/tangermeme/_skills/data .opencode/skills/tangermeme && 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 "tangermeme" agent skill from https://github.com/jmschrei/tangermeme/tree/main/tangermeme/_skills/data into .opencode/skills/tangermeme/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tangermeme", 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.
tangermemeRoutes agents to the right tangermeme reference for analyzing trained genomic deep learning models, from attributions and motif experiments to variant effects and design.
tangermeme is a library for asking what a genomic sequence-to-function model learned once training is done. It offers atomic sequence operations, batched prediction, attribution, perturbation experiments and sequence design, and it stays assumption-free: any PyTorch model, any alphabet, raw outputs returned rather than distances. This skill is a router that sends the agent to one reference file per topic and insists they be read before any tangermeme code is written, since several functions have non-obvious defaults.
Two ideas are explained first. The func argument lets ablate, marginalize, space, variant_effect and product functions take any function with the model-and-inputs signature, so swapping predict for deep_lift_shap turns a predictions experiment into an attributions one. Models must also be wrapped so that calling them returns a single tensor, shaped batch by outputs for DeepLIFT/SHAP and pisa. A task table then points to references for a notebook walkthrough, attributions, saturation mutagenesis, model comparison, variant effects, seqlets, motif effects, loading loci and plotting.
Read from SKILL.md and the folder at commit cebd9b1. 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.
No scripts in the folder and no shell commands in SKILL.md.
From 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.
tangermeme Genomic Model Analysis loads about 1.6k tokens when it runs, and up to ~26k if it reads all its reference files. Until then it costs about 136 tokens; SKILL.md has 632 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 jmschrei/tangermeme at commit cebd9b1, republished under its MIT licence (© jmschrei). 632 words, ~1,573 tokens.
.claude/skills/tangermeme/SKILL.md (or your agent's skills folder). This skill also uses 14 other files; get the full folder from GitHub.tangermeme answers the "what did my genomic model learn, and what do I do with
it after training" question. It provides atomic sequence operations, batched
prediction, attribution, perturbation experiments, and sequence design — all
deliberately assumption-free (any PyTorch model, any alphabet, raw outputs
returned rather than distances).
This skill is a router. Each topic below has a detailed reference file with the exact signatures and footguns. Read the relevant reference file before writing code — do not rely on memory of the API, because several functions have non-obvious defaults (silent wrong-output selection, variable-length returns, reproducibility traps).
The func= plug-point (references/func-pattern.md) — ablate,
marginalize, space, variant_effect.*, and product.* (where it is the
first positional argument) all accept func(model, X, args=, **kwargs).
Swapping predict for
deep_lift_shap turns a "predictions before/after" experiment into an
"attributions before/after" one. Covers the additional_func_kwargs collision
trap. This is what makes the library compose.
Wrapping models (references/model-wrapping.md) — tangermeme assumes
y = model(X) returns a single tensor; deep_lift_shap and pisa need it
to be (batch, n_outputs). Real multi-input / multi-output models must be
wrapped first. Read this before attribution or design on any non-trivial
model. Data preprocessing or output post-processing should be handled in
custom wrappers rather than in custom functions.
| If the task is… | Read |
|---|---|
| starting from scratch — set up a notebook to load a model and run predictions → attributions → seqlets → motif tests, end to end | references/notebook-walkthrough.md |
| attribution via DeepLIFT/SHAP — "which bases drive this prediction", attribution logos, hypothetical contributions for CWMs | references/deep_lift_shap.md |
| attribution via ISM / saturation mutagenesis — the forward-pass alternative; use it when DeepLIFT/SHAP convergence deltas are too high, an op can't be registered, or the model is massively multi-task | references/saturation_mutagenesis.md |
| comparing predictions/attributions across N models (replicates, architectures, ensembles) | references/comparing-models.md |
| effect of a motif / region: marginalize, ablate, spacing between motifs | references/motif-effects.md |
| scoring variant effects (substitution / deletion / insertion, from a VCF) | references/variant-effect.md |
| calling seqlets from attributions (recursive / TF-MoDISco) | references/seqlets.md |
| annotating / counting motifs — TOMTOM/FIMO labels, co-occurrence, spacing | references/annotate.md |
| running a function over a product of inputs (sequence × cell-state × …) | references/product.md |
| plotting logos and drawing seqlet/motif annotations on them | references/plot.md |
| composing predict / deep_lift_shap / saturation_mutagenesis through a perturbation fn | references/func-pattern.md |
| adapting a multi-input/output PyTorch model to the tangermeme contract | references/model-wrapping.md |
| loading sequences/signals at loci, reading FASTA/bigWig/BED/MEME/VCF | references/io-loci.md |
| designing sequences to hit a target output (screen / greedy / beam substitution) | references/design.md |
These are well-covered by the official tutorials and are mostly single-call ops — no dedicated reference file, but here is where to look:
tangermeme.predict.predict — batched, memory-efficient inference. Returns the
model's parameter dtype (override with dtype=) and upcasts each batch from X,
so int8 sequences go straight in; multi-output models return a list. Satisfies the
func= contract.tangermeme.ersatz — atomic sequence ops: insert, substitute,
multisubstitute, delete, randomize, shuffle, dinucleotide_shuffle,
local_dinucleotide_shuffle (most motif-add ops substitute, preserving
length; start/end confine shuffles to a region). All but the two
dinucleotide shuffles accept unknown characters in X as all-zero columns;
dinucleotide_shuffle does with allow_N=True, shuffling each as a fifth
character.tangermeme.utils — one_hot_encode (returns int8), characters,
random_one_hot, reverse_complement (single sequence), pwm_consensus,
set_seed, gc_content, etc.tangermeme.pisa.pisa — per-position (PISA) attribution reusing the DLS hooks.
Footguns: some paths return tensors on the input device, not CPU; and it does
not upcast X, so pass float — it is the one entry point int8 fails on.tangermeme.kmers — k-mer counts, batched k-mers, gapped k-mers.(Motif scanning — FIMO/TOMTOM — is not in tangermeme; it lives in the external
memelite / memesuite-lite package. annotate_seqlets wraps TOMTOM internally.)
(batch, channels, length); channels = one-hot alphabet axis
(default ['A','C','G','T']).X/y observed, X_bar/y_bar designed/target,
y_hat predictions, X_attr attributions.predict, deep_lift_shap, pisa, design.*,
saturation_mutagenesis, product.* take device=None → CUDA if available
else CPU; the model's original device + training mode are restored afterward.PerturbationResult, etc.) — unpack
positionally or by attribute; isinstance(result, tuple) is True.© jmschrei, 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 14 other files (references) in tangermeme/_skills/data of jmschrei/tangermeme.
Open the folder on GitHubat commit cebd9b1
tangermeme Genomic Model Analysis 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 |
|---|---|---|---|---|---|---|
| tangermeme Genomic Model Analysis this skilljmschrei/tangermeme | 316 | — | ~1.6k | Automated safety check: Pass | MIT | |
| Cellxgene Censusdavila7/claude-code-templates | 32k | 11 repos | ~3.8k | Automated safety check: Pass | MIT | |
| Pixi Environment Builderxuzhougeng/wisp-science | 1k | — | ~3.7k | Automated safety check: Pass | AGPL-3.0 | |
| Alphagenome Predictionsgenomicsxai/alphagenome-pytorch | 162 | — | ~868 | Automated safety check: Pass | Apache-2.0 | |
| PyTorch Lightning TrainingOrchestra-Research/AI-Research-SKILLs | 13k | 6 repos | ~2.3k | Automated safety check: Pass | MIT | |
| Ray Train Distributed TrainingOrchestra-Research/AI-Research-SKILLs | 13k | 2 repos | ~2.7k | Automated safety check: Pass | MIT |
davila7/claude-code-templates
Query CZ CELLxGENE Census (61M+ cells). An agent skill from davila7/claude-code-templates.
xuzhougeng/wisp-science
A skill your agent uses when creating, migrating, or debugging pixi environments, especially for scientific Python, bioinformatics, single-cell analysis, CUDA/PyTorch, Jupyter/VS Code kernels…
genomicsxai/alphagenome-pytorch
Run AlphaGenome-PyTorch to get genomic track predictions — via the agt predict CLI (single locus, BED regions, whole chromosomes, raw FASTA sequences, or per-gene count tables/AnnData), variant…
Orchestra-Research/AI-Research-SKILLs
Shows how to organize PyTorch training with Lightning's LightningModule and Trainer, covering validation, DDP, callbacks and learning-rate scheduling.
Orchestra-Research/AI-Research-SKILLs
Scales PyTorch, TensorFlow and Hugging Face training from a single GPU to multi-node clusters with Ray Train, including Ray Tune sweeps and checkpoint recovery.
davila7/claude-code-templates
Build production ML systems with PyTorch 2.x, TensorFlow, and modern ML frameworks.
Works with
Categories
Routes agents to the right tangermeme reference for analyzing trained genomic deep learning models, from attributions and motif experiments to variant effects and design. tangermeme is a library for asking what a genomic sequence-to-function model learned once training is done. It offers atomic sequence operations, batched prediction, attribution, perturbation experiments and sequence design, and it stays assumption-free: any PyTorch model, any alphabet, raw outputs returned rather than distances.
tangermeme Genomic Model Analysis fits situations like: computing DeepLIFT/SHAP attributions for a genomic deep learning model; scoring variant effects or running saturation mutagenesis on a sequence; wrapping a multi-output PyTorch model so tangermeme can analyze it; loading loci, FASTA, bigWig, MEME or VCF data for model analysis.
Run `npx skills add jmschrei/tangermeme --skill tangermeme -a claude-code`. Or copy the skill folder (tangermeme/_skills/data in jmschrei/tangermeme) into .claude/skills/tangermeme in your project. Claude Code loads it when a task matches its description.
Run `npx skills add jmschrei/tangermeme --skill tangermeme -a codex`. Or copy the skill folder (tangermeme/_skills/data in jmschrei/tangermeme) into .agents/skills/tangermeme 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 jmschrei/tangermeme --skill tangermeme -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tangermeme, .gemini/skills/tangermeme, .github/skills/tangermeme and .opencode/skills/tangermeme in your project.
SKILL.md names no scripts, command-line tools or credentials: tangermeme Genomic Model Analysis is instructions for the agent only. Our summary lists: The tangermeme library; A trained PyTorch genomic model.
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.
tangermeme Genomic Model Analysis is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.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 25k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with tangermeme Genomic Model Analysis: Cellxgene Census (davila7/claude-code-templates, 32k stars), Pixi Environment Builder (xuzhougeng/wisp-science, 1k stars), Alphagenome Predictions (genomicsxai/alphagenome-pytorch, 162 stars) and PyTorch Lightning Training (Orchestra-Research/AI-Research-SKILLs, 13k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
jmschrei (a GitHub user) maintains it in jmschrei/tangermeme, which has 316 GitHub stars. The repository was last updated on October 7, 2026.
Source: jmschrei/tangermeme on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.