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.
npx skills add scverse/decoupler --skill datagit clone --depth 1 https://github.com/scverse/decouplerWrote 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.
[](https://agentmods.dev/skills/scverse/decoupler/data)<a href="https://agentmods.dev/skills/scverse/decoupler/data"><img src="https://agentmods.dev/badge/skills/scverse/decoupler/data/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.
<a href="https://agentmods.dev/skills/scverse/decoupler/data"><img src="https://agentmods.dev/badge/skills/scverse/decoupler/data.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00192 | $0.02595 |
| Opus 5.5 | $0.00077 | $0.01038 |
| Sonnet 5.5 | $0.00038 | $0.00519 |
| Haiku 4.5 | $0.00019 | $0.00260 |
Grade A, and why
decoupler 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 17d ago.
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.
How it starts
The opening of the file, as written. The whole thing — 145 lines — stays where its author put it; the contents beside it link to each section on GitHub.
decoupler 2.x
decoupler scores “sources” (TFs, pathways, gene sets) from a long-format net DataFrame with
columns source, target, and optionally weight. The 2.x API is dc.pp (preprocess),
dc.op (download networks from OmniPath), dc.mt (scoring methods), dc.tl (ranking),
dc.pl (plots), dc.ds (example datasets). The 1.x functions (run_ulm, get_progeny,
get_acts) no longer exist.
Core mechanics (not guessable)
- Scoring on AnnData writes in place, returns None.
dc.mt.ulm(data=adata, net=net)storesadata.obsm["score_ulm"]andadata.obsm["padj_ulm"]. Every method usesscore_<method>andpadj_<method>, so a secondulmcall with another network overwrites the first. Extract before re-running:score = dc.pp.get_obsm(adata, key="score_ulm")returns a new AnnData whose.Xis the score matrix (obs = cells, var = sources) and keeps.obsand.obsm. - Scoring on a DataFrame (obs × genes) returns a tuple
(scores, padj)of DataFrames. - Default method is
ulm. Use it unless the user names another.mt.decoupleruns many methods andmt.consensusaverages them; do not use them as a substitute forulm. - Input scale matters. Methods assume roughly normal values: use log-normalized expression
(
sc.pp.normalize_total+sc.pp.log1p) or a contrast-level test statistic (the PyDESeq2 Waldstatcolumn or a t-value). Never scorelog2FoldChange(LFC): it lacks the confidence weighting and changes the ranking. Never run on raw integer counts. Do not normalize twice: anadata.X.max()far above 50 means raw counts; a max around 5–12 with non-integer values means already log-normalized. - Bundled datasets (
dc.ds.*) come ready to use. When a task names a decoupler example dataset, load it withdc.ds.<name>(); do not substitute another package's copy. The single-cell and spatial ones are already log-normalized and annotated (obscelltypeand similar): do not runsc.pp.normalize_totalorsc.pp.log1pagain, and use the existing annotation column instead of re-clustering or hand-annotating. The bulk and pseudobulk ones hold raw counts for the contrast recipe. List inreferences/resources.md. - Load networks with defaults.
dc.op.collectri(organism=...)for TFs,dc.op.progeny(organism=...)for pathways,dc.op.hallmark(organism=...)for MSigDB hallmarks. In 2.xprogenyalready defaults to all significant targets (top=inf); do not passtop=500(a 1.x habit) unless the user asks. CollecTRI is the documented TF network; use DoRothEA only when the user names it. - Ranking helpers return sorted DataFrames.
dc.tl.rankby_group(adata=score, groupby=col, reference="rest", method="t-test_overestim_var")gives columnsgroup, reference, name, stat, meanchange, pval, padj, sorted bystatdescending within each group. "Most active in group G" =df[df.group == G]top rows bystat(positive = higher in G).dc.tl.rankby_order(adata=score, order=col)ranks sources by association with a continuous ordering (defaultstat="dcor", distance correlation, sorted descending). Keep the defaults unless asked otherwise. - Pass the score AnnData (not the expression AnnData) to the ranking helpers.
What ships with it
2 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.
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.
- 17d ago Changed · -1 lines 55ccf998bb60
- 1mo ago Changed · +1 lines 87e92e797f69
- 1mo ago Changed · +59 lines · -28 tokens per session 7bc1fbc62242
- 3mo ago First seen · 86 lines · 220 tokens per session scan A adcc7f625de2
decoupler is a skill published in the GitHub repository scverse/decoupler (302 stars, last pushed 5d ago), licensed BSD-3-Clause. It adds 192 tokens to every session and 2,595 once invoked, about $0.0008 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.
decoupler compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| decouplerscverse/decoupler | Skill | 302 | 5d ago | BSD-3-Clause | A | 192 | Claude Code, Codex |
| alterlab-anndataAlterLab-IEU/AlterLab-Academic-Skills | Skill | 86 | 19d ago | MIT | A | 133 | Claude Code |
| alterlab-rdkitAlterLab-IEU/AlterLab-Academic-Skills | Skill | 86 | 19d ago | MIT | A | 130 | Claude Code |
| alterlab-scikit-learnAlterLab-IEU/AlterLab-Academic-Skills | Skill | 86 | 19d ago | MIT | A | 79 | Claude Code |
| alterlab-sympyAlterLab-IEU/AlterLab-Academic-Skills | Skill | 86 | 19d ago | MIT | A | 86 | Claude Code |
| alterlab-aeonAlterLab-IEU/AlterLab-Academic-Skills | Skill | 86 | 19d ago | MIT | A | 81 | Claude Code |
| alterlab-cirqAlterLab-IEU/AlterLab-Academic-Skills | Skill | 86 | 19d ago | MIT | A | 158 | Claude Code |