Borrowing it
Nothing to install: this file belongs to cafferychen777/ChatSpatial. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/cafferychen777/ChatSpatial/main/.agents/skills/differential-analysis/SKILL.mdgit clone --depth 1 https://github.com/cafferychen777/ChatSpatialWrote 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/cafferychen777/chatspatial/differential-analysis)<a href="https://agentmods.dev/skills/cafferychen777/chatspatial/differential-analysis"><img src="https://agentmods.dev/badge/skills/cafferychen777/chatspatial/differential-analysis/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/cafferychen777/chatspatial/differential-analysis"><img src="https://agentmods.dev/badge/skills/cafferychen777/chatspatial/differential-analysis.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.00074 | $0.01781 |
| Opus 5 | $0.00037 | $0.00890 |
| Sonnet 5 | $0.00015 | $0.00356 |
| Haiku 4.5 | $0.00007 | $0.00178 |
Grade A, and why
differential-analysis 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 10d 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 — 257 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Differential Analysis
Overview
This skill answers: What genes/features differ between groups in this spatial data?
Three main comparison types:
- Marker genes: What defines each cluster/cell type?
- Condition comparison: How does treatment/disease change expression?
- Regional comparison: What differs between spatial domains?
Decision Tree: Which Comparison?
Q: What are you comparing?
│
├─ Clusters or cell types
│ └─ Marker Finding
│ ├─ Wilcoxon rank-sum - Default, robust
│ ├─ t-test - Parametric, fast
│ └─ Logistic regression - Handles confounders
│
├─ Experimental conditions (treated vs control)
│ └─ Condition Comparison
│ ├─ Pseudobulk + DESeq2 - Gold standard for replicates
│ ├─ MAST - Single-cell aware
│ └─ Mixed models - Complex designs
│
└─ Spatial domains or regions
└─ Regional Comparison
├─ Same as marker finding
└─ Consider spatial autocorrelation
Marker Gene Finding
Purpose
Identify genes that distinguish one group from all others (1 vs rest) or from a specific group (pairwise).
Method Selection
| Method | When to Use | Strengths |
|---|---|---|
| Wilcoxon | Default choice | Non-parametric, robust |
| t-test | Large datasets | Fast, well-understood |
| Logreg | Confounders present | Adjusts for covariates |
Workflow
Step 1: Define Groups
Ensure grouping column exists in adata.obs:
- Clusters:
leiden,louvain - Cell types:
cell_type,annotation - Domains:
spatial_domain
Step 2: Run Marker Finding
Use find_markers tool with:
groupby: Column name defining groupsmethod: "wilcoxon", "t-test", or "logreg"n_genes: Number of top markers to return per group
Step 3: Interpret Results
Key output columns:
names: Gene namescores: Test statisticpvals_adj: Adjusted p-value (FDR corrected)logfoldchanges: Log2 fold changepct_nz_group: Percent expressing in grouppct_nz_reference: Percent expressing in other groups
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.
- 10d ago First seen · 257 lines · 74 tokens per session scan A 84e97d100286
differential-analysis is a skill published in the GitHub repository cafferychen777/ChatSpatial (44 stars, last pushed 25d ago), licensed MIT. It adds 74 tokens to every session and 1,781 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-08-30.
Other skills, from other repositories
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…
bulkrna-deconvolution
Load when estimating cell-type proportions in bulk RNA-seq samples from a single-cell or signature-matrix reference. Skip when the data is already single-cell (no deconvolution needed); spatial deconvolution (use spatial-deconv).
bulkrna-trajblend
Load when placing bulk RNA-seq samples on a single-cell reference's pseudotime axis (NNLS deconvolution + nearest-neighbour mapping). Skip when plain cell-type proportions (use bulkrna-deconvolution); native single-cell trajectory inference (use sc-pseudotime).
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…
single-cell-scrna-seq-analysis-scanpy
Complete single-cell RNA-seq analysis workflow built on Scanpy and AnnData. Use this skill when: (1) Loading diverse single-cell data formats (10X, h5ad, CSV), (2) Performing quality control and filtering, (3) Normalization, dimensionality reduction, and clustering, (4) Marker gene identification and cell type…
single-cell-multi-omics-analysis-scvi
Probabilistic deep learning framework for single-cell multi-omics data analysis. Use this skill when: (1) Analyzing single-cell RNA-seq data with batch correction, (2) Integrating multi-modal data (CITE-seq, ATAC-seq, multi-omics), (3) Performing cell type annotation with scANVI, (4) Spatial transcriptomics…