SSkilltecabyclaudinhocode
Enviar skill
← Voltar para o catálogo

ccc-skill

Desenvolvimento

Domain expertise for cell-cell communication (CCC) analysis. Intent-to-tool routing, workflow patterns, code templates, and pitfall warnings for LIANA+, CellPhoneDB, CellChat, NicheNet, COMMOT, Squidpy, MEBOCOST, DIALOGUE, and 10+ additional tools across scRNA-seq and spatial transcriptomics data.

1estrelas
Ver no GitHub ↗Autor: Agents365-ai

Cell-Cell Communication Analysis Skill

You are an expert in cell-cell communication (CCC) inference from single-cell and spatial transcriptomics. Use this skill to select the right tool, design the workflow, and generate correct code.

Step 0. Update check (notify, don't pull) — first use per conversation

Throttle to one check per 24 hours per installation; never mutate the skill directory without explicit user consent.

  1. If <this-skill-dir>/.last_update exists and is less than 24 hours old, skip this step entirely.

  2. Otherwise, fetch the latest tag from upstream:

    git -C <this-skill-dir> ls-remote --tags origin 'v*' 2>/dev/null \
      | awk '{print $2}' | sed 's|refs/tags/||' \
      | sort -V | tail -1
    
  3. Compare with this skill's metadata.version from the frontmatter. If the upstream tag is strictly newer (semver), tell the user one line and ask:

    "A newer version of this skill is available: vX.Y.Z → vA.B.C. Want me to git pull?"

    If they say yes, run git -C <this-skill-dir> pull --ff-only. Refresh .last_update either way so the prompt doesn't repeat for 24 hours.

  4. If upstream is the same or older, refresh .last_update silently and continue.

  5. On any failure (offline, not a git checkout — e.g. ClawHub-installed copy, read-only path, no permission), swallow the error silently and continue with the user's task. Do not mention the failure.

Decision Tree

Use this decision tree to recommend the right tool(s). Multiple tools can be combined.

Step 1: What is the primary analysis goal?

GoalRecommended Tool(s)Guide
Ligand-receptor inference (steady-state)LIANA+ rank_aggregate or CellPhoneDBliana.md, cellphonedb.md
LR with signaling pathway hierarchyCellChatcellchat.md
Ligand → downstream target gene predictionNicheNet / MultiNicheNetnichenet.md
Spatial CCC with distance decayCOMMOT or LIANA+ bivariatecommot.md, liana.md
Spatial CCC within scanpy/scverse pipelineSquidpy sq.gr.ligrec()squidpy.md
Spatial CCC + H&E morphologystLearn — docs
Spatial CCC + knowledge graph pathway cascadeSpaTalk — GitHub
Spatial signaling direction / vector fieldsCOMMOTcommot.md
Multi-sample / multi-condition comparisonLIANA+ tensor/MOFA+, CellChat merged, MultiNicheNetliana.md, cellchat.md, nichenet.md
Cross-context CCC pattern discovery (tensor)cell2cell / Tensor-cell2cell — GitHub
Differential CCC network analysisCrossTalkeR — GitHub
Differential CCC with aging focusscDiffCom — GitHub
Multi-view spatial learningLIANA+ MISTyliana.md
Metabolite-mediated CCC (non-protein)MEBOCOSTmebocost.md
Multicellular coordination programsDIALOGUEdialogue.md
Causal signal flow inference (post-CCC)FlowSig — GitHub
GRN + TF perturbation (downstream of CCC)CellOracle — GitHub
Multi-omic GRN (scRNA+scATAC)SCENIC+ — GitHub
Single-cell resolution CCC (not aggregated)NICHES or Scriabin — NICHES, Scriabin
Neural-specific CCC (brain data)NeuronChat — GitHub

Step 2: What data type?

Data TypeCompatible Tools
scRNA-seq (Python/AnnData)LIANA+, CellPhoneDB, MEBOCOST, Squidpy
scRNA-seq (R/Seurat)CellChat, NicheNet, DIALOGUE, NICHES, Scriabin
Spatial spot-based (Visium)LIANA+ bivariate, COMMOT, CellChat v2, Squidpy, stLearn, SpaTalk
Spatial single-cell (MERFISH, Xenium)COMMOT, LIANA+ bivariate/inflow, CellChat v3
Multi-modal (MuData)LIANA+
Multi-sample comparisonLIANA+ tensor/MOFA+, CellChat merged, MultiNicheNet, cell2cell, scDiffCom
Brain / neuronalNeuronChat (specialized LR database)

Step 3: Language preference?

LanguageTools
PythonLIANA+, CellPhoneDB, COMMOT, Squidpy, MEBOCOST, CellOracle, SCENIC+, FlowSig, stLearn, cell2cell
RCellChat, NicheNet/MultiNicheNet, DIALOGUE, NICHES, Scriabin, SpaTalk, CrossTalkeR, scDiffCom, NeuronChat

Tools with Full Guides (8)

ToolLanguageGuideUnique Strength
LIANA+Pythonliana.mdMulti-method meta-analysis + spatial + tensor/MOFA+
CellPhoneDBPythoncellphonedb.mdCurated DB + heteromeric complexes + v5 scoring
CellChatRcellchat.mdPathway hierarchy + rich visualization + comparison
NicheNetRnichenet.mdLigand→TF→target prediction + MultiNicheNet
COMMOTPythoncommot.mdOptimal transport spatial CCC + vector fields
SquidpyPythonsquidpy.mdscverse ecosystem LR analysis, zero-friction spatial
MEBOCOSTPythonmebocost.mdMetabolite-mediated CCC (non-protein signals)
DIALOGUERdialogue.mdMulticellular programs (cross-cell-type coordination)

Additional Tools (brief reference)

These tools are referenced in the decision tree but do not have dedicated guides. Use official documentation.

ToolLanguageStarsWhen to UseLink
CellOraclePython440GRN + in silico TF perturbation → predict cell state after signalGitHub
SCENIC+Python251Multi-omic GRN (scRNA+scATAC) → regulatory context of CCCGitHub
stLearnPython244Spatial CCC combining H&E morphology + expressionGitHub
MultiNicheNetR185Multi-sample differential CCC (pseudobulk + edgeR)GitHub
ScriabinR106Single-cell resolution CCC, atlas-scaleGitHub
FlowSigPython86Causal flow inference on top of CCC outputs (post-analysis)GitHub
cell2cellPython79Tensor decomposition across contexts (time/tissue/disease)GitHub
SpaTalkR76Spatial + knowledge graph LR→target pathway cascadeGitHub
NICHESR58Single-cell resolution niche interactions (cell-pair objects)GitHub
CrossTalkeRR/Python49Differential CCC network visualization + centralityGitHub
NeuronChatR45Neural-specific LR database (synaptic, gap junction, neuromodulator)GitHub
scDiffComR25Differential CCC with built-in 5K LR database, aging atlasGitHub

Universal CCC Principles

LR Database Selection

  • consensus (LIANA+ default): union of multiple databases — broadest coverage, recommended for discovery
  • CellPhoneDB: manually curated, strong on heteromeric complex

Como adicionar

/plugin marketplace add Agents365-ai/ccc-skill

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Comentários · Nenhum comentário

Entre para comentar. Entrar

  • Ainda não há comentários. Seja o primeiro.