sc-consensus-pseudotime

sc-consensus-pseudotime is a skill for Claude Code, Codex from TianGzlab/OmicsClaw. It costs 74 tokens per session (1,023 once invoked), scanned A, original, Apache-2.0.

A single-cell analysis that orders cells along a likely biological process by comparing several trajectory methods and combining their results. It also reports how much the methods disagree for each cell.

In plain words
What is it for?
Use it on preprocessed single-cell data when you have a known starting cell or cell group and want to study progression, such as differentiation. It is not intended for branching trajectories with multiple lineages.
Why use it?
A cell order can change depending on the chosen algorithm, making it hard to know whether the result reflects biology or a method choice. This gives one shared ordering with an uncertainty measure.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it on preprocessed single-cell data when you have a known starting…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tiangzlab/omicsclaw/sc-consensus-pseudotime
Install

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.

Any agent
npx skills add TianGzlab/OmicsClaw --skill sc-consensus-pseudotime
Clone the repo
git clone --depth 1 https://github.com/TianGzlab/OmicsClaw

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for sc-consensus-pseudotime

README.md
[![agentmods](https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/sc-consensus-pseudotime.svg)](https://agentmods.dev/skills/tiangzlab/omicsclaw/sc-consensus-pseudotime)
Your own site
<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/sc-consensus-pseudotime"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/sc-consensus-pseudotime.svg" alt="Measured on agentmods" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,023 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00074 $0.01023
Opus 5 $0.00037 $0.00511
Sonnet 5 $0.00015 $0.00205
Haiku 4.5 $0.00007 $0.00102

Measured 3d ago against content hash 674e539f19f4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

sc-consensus-pseudotime 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 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (sc_consensus_pseudotime.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/singlecell/scrna/sc-consensus-pseudotime/SKILL.md · 101 lines

How it starts

The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.

sc-consensus-pseudotime

When to use

Verified continuous consensus over pseudotime methods (ADR 0031). A single pseudotime is sensitive to which algorithm produced it: DPT, Palantir and VIA make different assumptions and can order cells differently. Use this when you have a preprocessed single-cell AnnData and a defined root (a --root-cluster or --root-cell) and want a pseudotime that is not an artifact of one method, with a per-cell uncertainty band.

A pseudotime is only defined up to a monotone reparameterisation and a direction flip, so the runtime makes members comparable by rank-normalisation (cancels the monotone gauge) + a direction safeguard (anchored flip), then aggregates a consensus by per-cell median (default) or agreement-weighted mean, re-ranked to [0, 1]. v1 is agreement-only (scored by mean pairwise Spearman).

Inputs & Outputs

Inputs

  • Modalities: scrna
  • File types: .h5ad
  • Requires a preprocessed AnnData (X normalised, PCA/neighbours present)

Outputs

  • consensus_pseudotime.tsv
  • member_agreement_spearman.csv
  • member_scores.csv
  • selection_audit.json
  • plan.json
  • report.md

Flow

  1. Plan one member per pseudotime method, all sharing the user's root.
  2. Fan out sc-pseudotime --method <m> and gather each member's canonical obs['pseudotime'].
  3. Rank-normalise + direction-align; drop any degenerate (constant) member.
  4. Score members by mean pairwise Spearman; select the top-K.
  5. Aggregate via median/weighted, re-rank to [0, 1], and report per-cell dispersion + a weak-agreement guard.

Gotchas

  • A shared root is required — without --root-cluster/--root-cell the run aborts (the root pins pseudotime direction so the consensus is well-posed).
  • v1 members are single-global-pseudotime methods (dpt/palantir/via); multi-lineage methods (slingshot/monocle3/cellrank) are deferred — they re-introduce branching topology, which is out of scope.
  • A weak-agreement warning (mean Spearman < 0.5) means the methods disagree on the ordering: the data may have no single shared trajectory. It is reported, not fatal.
  • pseudotime_mad is a majority-support metric; read the per-cell range alongside it to catch a lone strongly-disagreeing method.

Read the full file on GitHub · 101 lines

Files

What ships with it

5 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.

Changes

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.

  1. 3d ago First seen · 101 lines · 74 tokens per session scan A 674e539f19f4

Subscribe to this mod's changes

sc-consensus-pseudotime is a skill published in the GitHub repository TianGzlab/OmicsClaw (160 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 74 tokens to every session and 1,023 once invoked, about $0.0004 per session on Opus 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-09-03.

Related

Other skills, from other repositories

Developmental Gene Panel Design Workflow

Panel design for DEVELOPING / dynamic systems (embryonic organs, differentiation, regeneration). The target experiment is usually a LATE / terminal stage, but the biology is a trajectory: terminal cell types are end-products of earlier lineage programs. A panel built from the target stage alone resolves terminal…

aristoteleo/PantheonOS · 129 tokens

Single-Cell Analysis Skills Index

Core skills for single-cell RNA-seq analysis: quality control, cell type annotation, and trajectory inference. These are high-priority actionable workflows — load them first for common single-cell tasks.

aristoteleo/PantheonOS · 48 tokens

trajectory-analysis

Single-cell trajectory inference pipeline covering diffusion pseudotime (DPT), PAGA, RNA velocity with scVelo, and fate mapping with CellRank. Use when the user mentions pseudotime, trajectory, lineage, differentiation, RNA velocity, scVelo, CellRank, PAGA, diffusion map, fate probabilities, terminal states…

awslabs/hcls-agent-skills · 141 tokens

scanpy

Standard single-cell RNA-seq analysis pipeline. Use for QC, normalization, dimensionality reduction (PCA/UMAP/t-SNE), clustering, differential expression, and visualization. Best for exploratory scRNA-seq analysis with established workflows. For deep learning models use scvi-tools; for data format questions use…

synthetic-sciences/openscience · 68 tokens

Virtual Embryo — atlas data + knowledge graph

Query the Virtual Embryo knowledge graph (mouse/human developmental biology: genes, anatomy, Theiler/Carnegie stages, gene expression, diseases, papers) and its 3D atlas catalog (anatomical OPT/light-sheet volumes + 3D spatial- transcriptomics datasets), and visualise those datasets in 3D with the volume3d / spatial3d…

aristoteleo/PantheonOS · 170 tokens

cellxgene-census-query

Query CZ CELLxGENE Census (61M+ cells). Filter by cell type/tissue/disease, retrieve expression data, and integrate with scanpy/PyTorch for population-scale single-cell analysis. Use this skill when: (1) Querying single-cell expression data by cell type, tissue, or disease, (2) Exploring available single-cell datasets…

PharMolix/OpenBioMed · 105 tokens