Token导航 LogoToken导航

Agent Skill · 前端设计

single-cell-cellphonedb-communication-mapping(单细胞 cellphonedb 通信映射)

single-cell-cellphonedb-communication-mapping 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

single-cell-cellphonedb-communication-mapping 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 4,732。

总安装 816周安装 33GitHub Stars 964下载 256核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/starlitnightly/omicverse --skill single-cell-cellphonedb-communication-mapping

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态或协作事项进行整理。可结合来源仓库和 README 核验具体用法,支持代码变更追踪。安装前建议确认权限范围、维护状态及是否会触发联网或命令执行。

注意避免直接操作生产环境,优先使用脱敏数据和最小权限原则。

来源仓库内路径:skills/single-cell-cellphonedb-communication-mapping

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

single-cell-cellphonedb-communication-mapping 怎么安装?

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

single-cell-cellphonedb-communication-mapping 支持哪些 AI 工具?

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

single-cell-cellphonedb-communication-mapping 需要什么权限?

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

single-cell-cellphonedb-communication-mapping 是免费的吗?

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

single-cell-cellphonedb-communication-mapping 用的人多吗?

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

single-cell-cellphonedb-communication-mapping 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

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

前端设计类 Skill 对比

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

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
single-cell-cellphonedb-communication-mapping

单细胞 cellphonedb 通信映射 · 本页

816964需要联网未明确通过

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

SKILL.md 原文

Single-cell CellPhoneDB communication mapping

Overview

Apply this skill when a user wants to quantify ligand-receptor communication between annotated single-cell populations and visualize the result with OmicVerse's CellPhoneDB plotting stack. This skill now covers both the original low-level ov.pl.CellChatViz workflow and the newer public plotting APIs:

  • ov.pl.ccc_heatmap(...)
  • ov.pl.ccc_network_plot(...)
  • ov.pl.ccc_stat_plot(...)

Use the ccc_* functions by default when the goal is to quickly generate publication-ready plots with a stable public API. Drop down to CellChatViz when the user needs method-level control or wants to combine several custom visualizations in one notebook.

Instructions

  1. Prepare the environment

- Use an environment with omicverse>=0.2, scanpy, anndata, pandas, matplotlib, seaborn, and CellPhoneDB resources. - For the newer visualizations, also ensure these optional plotting dependencies are available when needed: - marsilea for heatmap and bubble matrix plotters. - mpl-chord-diagram for chord diagrams. - networkx for diffusion and network-style plots. - adjustText if the user wants improved automatic label repulsion. - Activate OmicVerse plotting defaults with ov.plot_set().

  1. Load and validate the annotated AnnData

- Read the normalized expression matrix with ov.read(...). - Keep the communication grouping column clean, categorical, and aligned with the intended identities. - Recommended checks: celltype_key = "cell_labels" assert celltype_key in adata.obs.columns, f"{celltype_key} missing from adata.obs" adata.obs[celltype_key] = adata.obs[celltype_key].astype("category").cat.remove_unused_categories() assert not adata.obs[celltype_key].isna().any(), f"NaN values found in {celltype_key}" min_per_group = adata.obs[celltype_key].value_counts().min() if min_per_group < 10: print(f"WARNING: smallest group has {min_per_group} cells; sparse groups may destabilize permutations") - Confirm the matrix is log-normalized before running CellPhoneDB. Raw counts can distort permutation-based significance.

  1. Run CellPhoneDB through OmicVerse

- Use ov.single.run_cellphonedb_v5(...) and persist the outputs: cpdb_results, adata_cpdb = ov.single.run_cellphonedb_v5(adata, cpdb_file_path="./cellphonedb.zip", celltype_key="cell_labels", min_cell_fraction=0.005, min_genes=200, min_cells=3, iterations=1000, threshold=0.1, pvalue=0.05, threads=10, output_dir="./cpdb_results", cleanup_temp=True,) - Save cpdb_results and adata_cpdb so downstream plotting can be repeated without rerunning permutations.

  1. Prefer the new public plotting APIs for standard visualization requests

- Use ov.pl.ccc_heatmap(...) for matrix-like plots: - plot_type="heatmap" for aggregated pathway-level communication. - plot_type="focused_heatmap" to highlight stronger interactions after thresholding weak entries. - plot_type="dot" or "bubble" for interaction-level summaries. - plot_type="pathway_bubble" for pathway-focused Marsilea bubble summaries. - plot_type="bubble_lr" for ligand-receptor-pair-specific bubble matrices. - plot_type="role_heatmap", "role_network", or "role_network_marsilea" for signaling role summaries. - plot_type="diff_heatmap" when comparing two communication AnnData objects. - Use ov.pl.ccc_network_plot(...) for graph-like plots: - plot_type="circle" or "circle_focused" for global communication networks. - plot_type="individual_outgoing" / "individual_incoming" for sender- or receiver-centric circle panels. - plot_type="individual" for a single pathway and optionally a selected L-R pair. - plot_type="chord" for cell-type-level pathway chords. - plot_type="gene_chord" for gene-level chord diagrams across pathway-specific ligand and receptor nodes. - plot_type="lr_chord" for specified ligand-receptor pairs. - plot_type="diffusion" for pathway similarity and diffusion-style network structure. - plot_type="diff_network" when comparing two communication objects. - plot_type="bipartite", "arrow", "sigmoid", or "embedding_network" for alternative layouts. - Use ov.pl.ccc_stat_plot(...) for statistics and summary panels: - plot_type="pathway_summary" to rank pathways by communication strength and significance. - plot_type="lr_contribution" to show the dominant ligand-receptor pairs within a pathway. - plot_type="scatter" or "role_scatter" to compare outgoing versus incoming signaling roles. - plot_type="role_network" or "role_network_marsilea" for matrix-style role summaries. - plot_type="sankey" for communication flow summaries.

  1. Use CellChatViz directly when the user needs method-level control

- Create a stable palette mapping from cell labels: color_dict = dict(zip(adata.obs["cell_labels"].cat.categories, adata.uns["cell_labels_colors"])) viz = ov.pl.CellChatViz(adata_cpdb, palette=color_dict) - Recommended direct workflow: - viz.compute_aggregated_network(...) then viz.netVisual_circle(...). - viz.compute_pathway_communication(...) then viz.get_significant_pathways_v2(...). - viz.netVisual_heatmap_marsilea(...) or viz.netVisual_heatmap_marsilea_focused(...). - viz.netVisual_bubble_marsilea(...) for pathway bubbles. - viz.netVisual_bubble_lr(...) for selected ligand-receptor pairs. - viz.netVisual_chord_cell(...), viz.netVisual_chord_gene(...), and viz.netVisual_chord_LR(...). - viz.netVisual_individual(...) for one pathway / one enriched pair. - viz.netAnalysis_computeCentrality() followed by role heatmap, scatter, and network plots. - viz.netAnalysis_contribution(pathway) for pathway-level pair contribution analysis. - viz.netVisual_diffusion(...) for pathway similarity structure.

  1. Highlight the new visualization capabilities clearly

- The newer additions worth surfacing in answers are: - gene_chord: gene-level chord diagrams, not just cell-type-level chords. - bubble_lr: Marsilea bubble summaries centered on explicit ligand-receptor pairs. - focused_heatmap: thresholded pathway heatmaps that suppress weak interactions. - role_network_marsilea: richer role summaries with dendrograms, color bars, and importance bars. - diffusion: pathway similarity network based on communication patterns. - pathway_summary and lr_contribution: higher-level summary/statistical views for prioritization. - When the user says "new visualization", prioritize demonstrating one of these rather than only the legacy circle plot.

  1. Parameter tips for the newer plots

- For pathway bubbles: - group_pathways=True groups by pathway rather than individual L-R pairs. - transpose=True is useful when too many cell-pair rows make labels unreadable. - add_violin=True can expose score distributions but makes figures denser. - For ligand-receptor bubbles: - show_all_pairs=True is useful when the user wants to compare a fixed panel of pairs even if some are weak or absent. - pair_lr_use or interaction_use should match the pair naming in adata.var. - For gene chords: - Require adata.var["gene_a"] and adata.var["gene_b"]. - Use rotate_names=True when genes or cell-type labels are long. - For focused heatmaps and focused circle plots: - Tune min_interaction_threshold to remove weak edges before plotting. - For role plots: - Run viz.netAnalysis_computeCentrality() first when using the low-level API. - Use pattern="incoming" and pattern="outgoing" separately if the user wants interpretable sender vs receiver programs.

  1. Troubleshooting

- Metadata alignment: the communication grouping column must be categorical and free of missing values. - Database bundle: cpdb_file_path must point to a valid CellPhoneDB v5 SQLite zip. - Sparse groups: very small sender or receiver groups often cause unstable or empty outputs. - Missing columns in adata.var: - classification is needed for pathway-filtered plotting. - gene_a and gene_b are needed for gene-level or ligand-receptor-specific plots. - Optional dependency errors: - install marsilea for pathway_bubble, bubble_lr, focused heatmaps, and role-network Marsilea views. - install mpl-chord-diagram for chord plots. - install adjustText if label overlap is severe. - Palette mismatches: rebuild the palette from sorted categories in adata.obs[celltype_key].cat.categories and the corresponding adata.uns[f"{celltype_key}_colors"].

Examples

  • "Run CellPhoneDB and then use ov.pl.ccc_heatmap(..., plot_type='focused_heatmap') to show the strongest pathways."
  • "Create a gene-level chord diagram for FGF signaling with ov.pl.ccc_network_plot(..., plot_type='gene_chord')."
  • "Compare selected ligand-receptor pairs across sender-receiver combinations with plot_type='bubble_lr'."
  • "Summarize the top pathways and then rank within-pathway ligand-receptor contributions with ccc_stat_plot(..., plot_type='pathway_summary') and plot_type='lr_contribution'."
  • "Use CellChatViz directly to compute centrality and render Marsilea role-network plots."

References

平台分布

Codex

37.03%
按下载量换算95

Claude

29.18%
按下载量换算75

Cursor

18.71%
按下载量换算48

Gemini CLI

9.09%
按下载量换算23

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

继续浏览同类 Skills