Token导航 LogoToken导航

Agent Skill · 研究检索

tooluniverse-single-cell(工具宇宙单细胞)

tooluniverse-single-cell 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

tooluniverse-single-cell 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 32,144。

总安装 2,570周安装 105GitHub Stars 1,337下载 832核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tooluniverse-single-cell(工具宇宙单细胞)
来源仓库:https://github.com/mims-harvard/tooluniverse
仓库路径:skills/tooluniverse-single-cell
安装命令:
npx skills add https://github.com/mims-harvard/tooluniverse --skill tooluniverse-single-cell
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/mims-harvard/tooluniverse --skill tooluniverse-single-cell

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息,适合快速定位候选结果。可根据关键词、任务场景或来源线索在多种宿主中调用。通过 GitHub 安装,支持 Codex、Claude、Cursor、Gemini CLI 等宿主环境。安装前建议确认权限范围、维护状态及是否触发联网或文件读写操作。

可结合来源仓库和原始 README 进一步核验具体用法。

来源仓库内路径:skills/tooluniverse-single-cell

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/mims-harvard/tooluniverse --skill tooluniverse…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

tooluniverse-single-cell 怎么安装?

在终端执行 npx skills add https://github.com/mims-harvard/tooluniverse --skill tooluniverse-single-ce…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

tooluniverse-single-cell 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

tooluniverse-single-cell 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

tooluniverse-single-cell 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

tooluniverse-single-cell 用的人多吗?

公开数据是累计安装 2,570 次,近一周安装 105 次,下载 832 次,GitHub 1,337 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

tooluniverse-single-cell 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 来源仓库有 1,337 星,维护活跃度相对可查。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
tooluniverse-single-cell

工具宇宙单细胞 · 本页

2,5701,337需要联网未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Single-Cell Genomics and Expression Matrix Analysis

Comprehensive single-cell RNA-seq analysis and expression matrix processing using scanpy, anndata, scipy, and ToolUniverse.


LOOK UP, DON'T GUESS

When uncertain about any scientific fact, SEARCH databases first (PubMed, UniProt, ChEMBL, ClinVar, etc.) rather than reasoning from memory. A database-verified answer is always more reliable than a guess.


When to Use This Skill

Apply when users:

  • Have scRNA-seq data (h5ad, 10X, CSV count matrices) and want analysis
  • Ask about cell type identification, clustering, or annotation
  • Need differential expression analysis by cell type or condition
  • Want gene-expression correlation analysis (e.g., gene length vs expression by cell type)
  • Ask about PCA, UMAP, t-SNE for expression data
  • Need Leiden/Louvain clustering on expression matrices
  • Want statistical comparisons between cell types (t-test, ANOVA, fold change)
  • Ask about marker genes, batch correction, trajectory, or cell-cell communication

BixBench Coverage: 18+ questions across 5 projects (bix-22, bix-27, bix-31, bix-33, bix-36)

NOT for (use other skills instead):

  • Bulk RNA-seq DESeq2 only -> tooluniverse-rnaseq-deseq2
  • Gene enrichment only -> tooluniverse-gene-enrichment
  • VCF/variant analysis -> tooluniverse-variant-analysis

Core Principles

  1. Data-first - Load, inspect, validate before analysis
  2. AnnData-centric - All data flows through anndata objects
  3. Cell type awareness - Per-cell-type subsetting when needed
  4. Statistical rigor - Normalization, multiple testing correction, effect sizes
  5. Question-driven - Parse what the user is actually asking

Required Packages

import scanpy as sc, anndata as ad, pandas as pd, numpy as np
from scipy import stats
from scipy.cluster.hierarchy import linkage, fcluster
from sklearn.decomposition import PCA
from statsmodels.stats.multitest import multipletests
import gseapy as gp  # enrichment
import harmonypy     # batch correction (optional)

Install: pip install scanpy anndata leidenalg umap-learn harmonypy gseapy pandas numpy scipy scikit-learn statsmodels


Workflow Decision Tree

START: User question about scRNA-seq data
|
+-- FULL PIPELINE (raw counts -> annotated clusters)
|   Workflow: QC -> Normalize -> HVG -> PCA -> Cluster -> Annotate -> DE
|   See: references/scanpy_workflow.md
|
+-- DIFFERENTIAL EXPRESSION (per-cell-type comparison)
|   Most common BixBench pattern (bix-33)
|   See: analysis_patterns.md "Pattern 1"
|
+-- CORRELATION ANALYSIS (gene property vs expression)
|   Pattern: Gene length vs expression (bix-22)
|   See: analysis_patterns.md "Pattern 2"
|
+-- CLUSTERING & PCA (expression matrix analysis)
|   See: references/clustering_guide.md
|
+-- CELL COMMUNICATION (ligand-receptor interactions)
|   See: references/cell_communication.md
|
+-- TRAJECTORY ANALYSIS (pseudotime)
    See: references/trajectory_analysis.md

Data format handling:

  • h5ad -> sc.read_h5ad()
  • 10X -> sc.read_10x_mtx() or sc.read_10x_h5()
  • CSV/TSV -> pd.read_csv() -> Convert to AnnData (check orientation!)

Data Loading

AnnData expects: cells/samples as rows (obs), genes as columns (var)

adata = sc.read_h5ad("data.h5ad")  # h5ad already oriented

# CSV/TSV: check orientation
df = pd.read_csv("counts.csv", index_col=0)
if df.shape[0] > df.shape[1] * 5:  # genes > samples by 5x => transpose
    df = df.T
adata = ad.AnnData(df)

# Load metadata
meta = pd.read_csv("metadata.csv", index_col=0)
common = adata.obs_names.intersection(meta.index)
adata = adata[common].copy()
for col in meta.columns:
    adata.obs[col] = meta.loc[common, col]

Quality Control

adata.var['mt'] = adata.var_names.str.startswith(('MT-', 'mt-'))
sc.pp.calculate_qc_metrics(adata, qc_vars=['mt'], inplace=True)
sc.pp.filter_cells(adata, min_genes=200)
adata = adata[adata.obs['pct_counts_mt'] < 20].copy()
sc.pp.filter_genes(adata, min_cells=3)

See: references/scanpy_workflow.md for details


Complete Pipeline (Quick Reference)

import scanpy as sc

adata = sc.read_10x_h5("filtered_feature_bc_matrix.h5")

# QC
adata.var['mt'] = adata.var_names.str.startswith('MT-')
sc.pp.calculate_qc_metrics(adata, qc_vars=['mt'], inplace=True)
adata = adata[adata.obs['pct_counts_mt'] < 20].copy()
sc.pp.filter_cells(adata, min_genes=200)
sc.pp.filter_genes(adata, min_cells=3)

# Normalize + HVG + PCA
sc.pp.normalize_total(adata, target_sum=1e4)
sc.pp.log1p(adata)
adata.raw = adata.copy()
sc.pp.highly_variable_genes(adata, n_top_genes=2000)
sc.tl.pca(adata, n_comps=50)

# Cluster + UMAP
sc.pp.neighbors(adata, n_pcs=30)
sc.tl.leiden(adata, resolution=0.5)
sc.tl.umap(adata)

# Find markers + Annotate + Per-cell-type DE
sc.tl.rank_genes_groups(adata, groupby='leiden', method='wilcoxon')

Differential Expression Decision Tree

Single-Cell DE (many cells per condition):
  Use: sc.tl.rank_genes_groups(), methods: wilcoxon, t-test, logreg
  Best for: Per-cell-type DE, marker gene finding

Pseudo-Bulk DE (aggregate counts by sample):
  Use: DESeq2 via PyDESeq2
  Best for: Sample-level comparisons with replicates

Statistical Tests Only:
  Use: scipy.stats (ttest_ind, f_oneway, pearsonr)
  Best for: Correlation, ANOVA, t-tests on summaries

Statistical Tests (Quick Reference)

from scipy import stats
from statsmodels.stats.multitest import multipletests

# Pearson/Spearman correlation
r, p = stats.pearsonr(gene_lengths, mean_expression)

# Welch's t-test
t_stat, p_val = stats.ttest_ind(group1, group2, equal_var=False)

# ANOVA
f_stat, p_val = stats.f_oneway(group1, group2, group3)

# Multiple testing correction (BH)
reject, pvals_adj, _, _ = multipletests(pvals, method='fdr_bh')

Batch Correction (Harmony)

import harmonypy
sc.tl.pca(adata, n_comps=50)
ho = harmonypy.run_harmony(adata.obsm['X_pca'][:, :30], adata.obs, 'batch', random_state=0)
adata.obsm['X_pca_harmony'] = ho.Z_corr.T
sc.pp.neighbors(adata, use_rep='X_pca_harmony')
sc.tl.leiden(adata, resolution=0.5)
sc.tl.umap(adata)

ToolUniverse Integration

Data Discovery (before analysis)

  • CxGDisc_search_datasets: Search CELLxGENE Discover for scRNA-seq datasets by disease, tissue, organism. Use broad disease terms (e.g., "breast cancer" not "triple-negative").
  • GEO_search_rnaseq_datasets / geo_search_datasets: Search GEO for scRNA-seq studies
  • NCBI_SRA_search_runs: Search SRA for sequencing runs (query="single cell RNA-seq [disease]")
  • OmicsDI_search_datasets: Cross-repository dataset search

Cell Type Markers

  • CellMarker_search_by_cell_type: Tissue-specific cell markers (use CellMarker_list_cell_types first — exact names required, e.g., "Regulatory T(Treg) cell" not "Regulatory T cell")
  • CellMarker_search_cancer_markers: Cancer-context markers with experimental evidence
  • CellMarker_search_by_gene: Reverse lookup — which cell types express a gene?
  • HPA_search_genes_by_query: Cell-type marker gene search

Gene Annotation

  • MyGene_query_genes / MyGene_batch_query: Gene ID conversion
  • ensembl_lookup_gene: Ensembl gene details
  • UniProt_get_function_by_accession: Protein function

Cell-Cell Communication

  • OmniPath_get_ligand_receptor_interactions: L-R pairs (CellPhoneDB, CellChatDB)
  • OmniPath_get_signaling_interactions: Downstream signaling
  • OmniPath_get_complexes: Multi-subunit receptors

Enrichment (Post-DE)

  • PANTHER_enrichment: GO enrichment (BP, MF, CC)
  • STRING_functional_enrichment: Network-based enrichment
  • ReactomeAnalysis_pathway_enrichment: Reactome pathways

Clinical Context (for tumor immunology)

  • DGIdb_get_drug_gene_interactions: Drug interactions for immune checkpoint targets (genes=["CD274"] for PD-L1)
  • civic_search_evidence_items: Clinical evidence for mutations/biomarkers
  • TIMER2_immune_estimation: TCGA immune infiltration correlation
  • search_clinical_trials: Clinical trial matching
  • GTEx_get_expression_summary: Normal tissue baseline expression
  • PubMed_search_articles: Literature context

Scanpy vs Seurat Equivalents

OperationSeurat (R)Scanpy (Python)
Load dataRead10X()sc.read_10x_mtx()
NormalizeNormalizeData()sc.pp.normalize_total() + sc.pp.log1p()
Find HVGsFindVariableFeatures()sc.pp.highly_variable_genes()
PCARunPCA()sc.tl.pca()
ClusterFindClusters()sc.tl.leiden()
UMAPRunUMAP()sc.tl.umap()
Find markersFindMarkers()sc.tl.rank_genes_groups()
Batch correctionRunHarmony()harmonypy.run_harmony()

Reasoning Framework for Result Interpretation

Evidence Grading

GradeCriteriaExample
High confidenceMarker padj < 0.01, log2FC > 1, expressed in > 25% of cluster cellsCD3D as T-cell marker with padj = 1e-50, log2FC = 3.2, pct = 0.85
Moderate confidencepadj < 0.05, log2FC > 0.5, or expressed in 10-25% of clusterFOXP3 in Treg cluster with padj = 0.001, pct = 0.18
Low confidencepadj < 0.05 but log2FC < 0.5 or low pct_diff between clustersUbiquitously expressed gene with marginal enrichment
UnreliableFewer than 20 cells in cluster, or QC metrics suggest doubletsCluster with mean nGenes > 6000 and high doublet score

Interpretation Guidance

  • QC metric thresholds: Standard filters are nGenes > 200 (remove empty droplets), nGenes < 5000-6000 (remove doublets), pct_counts_mt < 20% (remove dying cells). These thresholds are tissue-dependent: immune cells tolerate stricter nGene filters; neurons may have higher mitochondrial content naturally. Always visualize distributions before setting cutoffs.
  • Cluster resolution guidance: Leiden resolution 0.3-0.5 yields broad cell types (T cells, B cells, myeloid). Resolution 0.8-1.2 resolves subtypes (CD4 naive, CD4 memory, Treg). Resolution > 2.0 risks over-clustering (splitting biologically homogeneous populations). Validate by checking that each cluster has distinct marker genes.
  • Marker gene confidence levels: A strong marker is highly specific (high pct_diff between cluster and rest) and highly expressed (high log2FC). Genes expressed in many clusters with small fold changes are poor markers. Cross-reference with known markers from CellMarker or HPA databases.
  • Pseudo-bulk vs single-cell DE: For comparing conditions (treatment vs control), pseudo-bulk DE (aggregate by sample, then DESeq2) is more statistically valid than single-cell DE, which inflates significance due to non-independence of cells from the same sample.
  • Batch effects: If samples cluster by batch rather than biology on UMAP, apply Harmony or other correction before biological interpretation.

Synthesis Questions

  1. Do the identified clusters correspond to known cell types based on canonical markers, or do some clusters lack clear biological identity (potentially doublets or low-quality cells)?
  2. At the chosen clustering resolution, are there clusters that merge when resolution is lowered, suggesting they may be a single cell type split by technical noise?
  3. For differential expression between conditions, are the results consistent between single-cell and pseudo-bulk approaches, and do the top DE genes have known biological relevance?
  4. Do QC-flagged cells (high mito, extreme gene counts) concentrate in specific clusters, and does removing them change the clustering structure?
  5. If batch correction was applied, do post-correction clusters still maintain expected cell-type-specific marker expression?

Troubleshooting

IssueSolution
ModuleNotFoundError: leidenalgpip install leidenalg
Sparse matrix errors.toarray(): X = adata.X.toarray() if issparse(adata.X) else adata.X
Wrong matrix orientationMore genes than samples? Transpose
NaN in correlationFilter: valid = ~np.isnan(x) & ~np.isnan(y)
Too few cells for DENeed >= 3 cells per condition per cell type
Memory errorUse sc.pp.highly_variable_genes() to reduce features

Reference Documentation

Detailed Analysis Patterns: analysis_patterns.md (per-cell-type DE, correlation, PCA, ANOVA, cell communication)

Core Workflows:

  • references/scanpy_workflow.md - Complete scanpy pipeline
  • references/seurat_workflow.md - Seurat to Scanpy translation
  • references/clustering_guide.md - Clustering methods
  • references/marker_identification.md - Marker genes, annotation
  • references/trajectory_analysis.md - Pseudotime
  • references/cell_communication.md - OmniPath/CellPhoneDB workflow
  • references/troubleshooting.md - Detailed error solutions

平台分布

Codex

35.38%
按下载量换算294

Claude

28.58%
按下载量换算238

Cursor

16.83%
按下载量换算140

Gemini CLI

9.74%
按下载量换算81

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills