ChatSpatial: Skill for Claude Code

.agents/skills/cell-dynamics/SKILL.md

cell-dynamics is a skill for Claude Code from cafferychen777/ChatSpatial. It costs 86 tokens per session (1,398 once invoked), scanned A, original, MIT.

An analysis of how cells change state, develop, and choose different fates. It uses trajectory or pseudotime methods to order cells along a process, and RNA velocity when spliced and unspliced RNA measurements are available.

In plain words
What is it for?
Use it to study development, differentiation, cell-fate decisions, pseudotime, trajectories, or RNA velocity in single-cell and spatial data.
Why use it?
It helps study gradual transitions that are not visible from a simple grouping of cells. The results can suggest developmental paths, differentiation routes, and likely future cell states.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: agent in frontmatter; installed under .agents/ (shared by several agents).

This is cafferychen777/ChatSpatial's own configuration. It tells Claude Code how to work on ChatSpatial itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ChatSpatial configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/cafferychen777/ChatSpatial/main/.agents/skills/cell-dynamics/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/cafferychen777/ChatSpatial

Made for: Claude Code.

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 cell-dynamics

README.md
[![agentmods](https://agentmods.dev/badge/skills/cafferychen777/chatspatial/cell-dynamics/github.svg)](https://agentmods.dev/skills/cafferychen777/chatspatial/cell-dynamics)
Your own site
<a href="https://agentmods.dev/skills/cafferychen777/chatspatial/cell-dynamics"><img src="https://agentmods.dev/badge/skills/cafferychen777/chatspatial/cell-dynamics/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.

agentmods 80×15 button for cell-dynamics

Your own site · 80×15
<a href="https://agentmods.dev/skills/cafferychen777/chatspatial/cell-dynamics"><img src="https://agentmods.dev/badge/skills/cafferychen777/chatspatial/cell-dynamics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,398 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00086 $0.01398
Opus 5 $0.00043 $0.00699
Sonnet 5 $0.00017 $0.00280
Haiku 4.5 $0.00009 $0.00140

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

Security

Grade A, and why

cell-dynamics 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.

.agents/skills/cell-dynamics/SKILL.md · 200 lines

How it starts

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

Cell Dynamics Analysis

Overview

This skill answers: How do cells change over time, and what are their fate decisions?

Two complementary approaches:

  1. RNA Velocity: Infers directionality from spliced/unspliced ratios
  2. Pseudotime/Trajectory: Orders cells along developmental paths

Decision Tree: Which Approach?

Q: Does your data have spliced/unspliced information?
│
├─ YES (velocyto/kallisto processed)
│   │
│   └─ RNA Velocity Analysis
│       ├─ scVelo (deterministic) - Fast, good default
│       ├─ scVelo (dynamical) - More accurate, slower
│       └─ VeloVI - Deep learning, handles noise
│       │
│       └─ Then: CellRank for fate probability
│
└─ NO (standard scRNA-seq/spatial)
    │
    └─ Pseudotime Analysis
        ├─ Palantir - Multi-lineage, fate probabilities
        ├─ DPT (Diffusion Pseudotime) - Classic, fast
        └─ PAGA - Trajectory + clustering

RNA Velocity Workflow

Prerequisites

Data must contain:

  • adata.layers['spliced']: Spliced counts
  • adata.layers['unspliced']: Unspliced counts

Check with: 'spliced' in adata.layers and 'unspliced' in adata.layers

Step 1: Preprocessing for Velocity

Velocity-specific preprocessing:
1. Filter genes by spliced/unspliced detection
2. Normalize spliced and unspliced separately
3. Compute moments (first/second order)

Step 2: Compute Velocity

Use analyze_velocity_data tool with method selection:

Mode Speed Accuracy When to Use
deterministic Fast Good Initial exploration
stochastic Moderate Better Publication, noisy data
dynamical Slow Best Complex dynamics, time recovery

Step 3: Visualize Velocity

Use visualize_data with plot_type="velocity":

  • subtype="stream": Velocity streamlines on embedding
  • subtype="phase": Phase portraits for specific genes
  • subtype="proportions": Spliced/unspliced ratios
  • subtype="heatmap": Velocity across pseudotime

Read the full file on GitHub · 200 lines

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. 10d ago First seen · 200 lines · 86 tokens per session scan A b8af8f322818

Subscribe to this mod's changes

cell-dynamics is a skill published in the GitHub repository cafferychen777/ChatSpatial (44 stars, last pushed 25d ago), licensed MIT. It adds 86 tokens to every session and 1,398 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.

Related

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…

PharMolix/OpenBioMed · 105 tokens

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

TianGzlab/OmicsClaw · 54 tokens

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

TianGzlab/OmicsClaw · 65 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

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…

PharMolix/OpenBioMed · 85 tokens

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…

PharMolix/OpenBioMed · 94 tokens