Bio Sashimi Plots 标志

Bio Sashimi Plots

组织
PKU-YuanGroup
bio-sashimi-plots

使用 ggsashimi(通用工具,可按条件分组叠加显示)、rmats2sashimiplot(适配 rMATS 输出)、MAJIQ-VOILA(以交互式 HTML 展示 LSV 后验概率)、leafviz(用于 LeafCutter 簇的 Shiny 工具)、Jutils(适用于 rMATS/leafcutter/MntJULiP/MAJIQ 输出的通用热图和 sashimi 图),或 pyGenomeTracks(用于制作多轨道出版级图片),创建 sashimi 风格图,展示 RNA-seq 读段覆盖度和剪接连接数量。工具选择取决于上游差异剪接工具的输出格式,以及需求是用于出版还是交互式查看。适用于可视化特定剪接事件、验证差异剪接结果,或制作出版级图片。

Add to TypingMind

概览

发布者PKU-YuanGroup
代码仓库OpenAI4S
技能名称bio-sashimi-plots
星标数
622
复刻数
72
附带文件
2
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 2 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 PKU-YuanGroup 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Bio Sashimi Plots AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/PKU-YuanGroup/OpenAI4S/tree/main/skills/bioskills/bio-alternative-splicing-sashimi-plots
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/PKU-YuanGroup/OpenAI4S.git /tmp/OpenAI4S
mkdir -p .claude/skills
cp -r /tmp/OpenAI4S/skills/bioskills/bio-alternative-splicing-sashimi-plots .claude/skills/bio-sashimi-plots
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Bio Sashimi Plots,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Bio Sashimi Plots。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Bio Sashimi Plots 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Version Compatibility

Reference examples tested with: ggsashimi 1.1+, rmats2sashimiplot 3.0+, MAJIQ 3.0+, leafcutter 0.2.9+, pyGenomeTracks 3.8+, ggplot2 3.5+, pandas 2.2+

Before using code patterns, verify installed versions match. If versions differ:

  • Python: pip show <package> then help(module.function) to check signatures
  • CLI: <tool> --version then <tool> --help to confirm flags

If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying.

Sashimi Plot Visualization

Visualize RNA-seq coverage tracks with splice junction arcs labeled by read count. Sashimi plots originated with MISO (Katz 2010 Nat Methods); modern tools differ in input handling, group aggregation logic, and customization. Tool choice is not interchangeable — some tools work only with specific upstream output formats.

Tool Selection Matrix

ToolBest forInputStrengthsFails when
ggsashimiPublication-quality grouped overlays from any BAMBAMs + region--overlay aggregates samples within a group; clean PDFsNo native rMATS/MAJIQ integration; need to extract coords manually
rmats2sashimiplotOne-line plot from rMATS outputrMATS event file + BAMsNo manual coord extractionrMATS-specific; doesn't handle leafcutter or MAJIQ
MAJIQ-VOILAInteractive LSV browsing with posterior PSI distributionsMAJIQ build + psi/deltapsiSplice-graph topology; LSV-aware; posterior violinsStatic figures; non-academic license
leafvizCluster-level interactive browsing with NMD annotationleafcutter differential outputFilter table + sashimi-like plots; NMD-awareleafcutter-specific
JutilsUnified output across rMATS, leafcutter, MntJULiP, MAJIQTool-specific differential outputHeatmaps, Venn, sashimi tool-agnosticallyOutput less polished than ggsashimi
pyGenomeTracksMulti-track publication figures (RNA-seq + ChIP/ATAC)BigWig + BED + GTFCombine RNA with chromatin tracksNot splicing-specific; configure tracks manually
IGV (interactive)Quick ad-hoc inspectionBAM + regionScrollable, instantNot for publication figures
MISO sashimiHistoricalMISO outputOriginal sashimi formatMISO unmaintained; no longer recommended

Decision Tree by Goal

GoalRecommended tool
Validate a specific rMATS hitrmats2sashimiplot (one-line) or ggsashimi (custom)
Validate a leafcutter clusterleafviz (interactive) or ggsashimi with cluster coordinates
Validate a MAJIQ LSV (complex topology)MAJIQ-VOILA (only tool that shows full LSV graph)
Publication-quality two-condition comparisonggsashimi -O 3 -A mean_j for grouped overlay
Multi-track figure (RNA-seq + H3K4me3 + ATAC)pyGenomeTracks
Quick ad-hoc browsing during developmentIGV sashimi
Tool-agnostic batch heatmap of significant eventsJutils
Interactive cohort-level filtering of leafcutter resultsleafviz Shiny

ggsashimi for Publication Overlays

Goal: Generate publication-quality sashimi plot for a region with samples grouped by condition and per-sample tracks aggregated.

Approach: Define samples + groups + colors in a TSV (no header), then call ggsashimi with coordinates, GTF, and visual flags.

python
import subprocess
import pandas as pd

# ggsashimi input: col1 = sample id, col2 = BAM path, col3 = group (for -O/-C overlay/color)
groups = pd.DataFrame({
    'sample_id': ['ctrl1', 'ctrl2', 'ctrl3', 'trt1', 'trt2', 'trt3'],
    'bam': ['ctrl1.bam', 'ctrl2.bam', 'ctrl3.bam', 'trt1.bam', 'trt2.bam', 'trt3.bam'],
    'group': ['Control', 'Control', 'Control', 'Treatment', 'Treatment', 'Treatment']
})
groups.to_csv('sashimi_groups.tsv', sep='\t', index=False, header=False)

subprocess.run([
    'ggsashimi.py',
    '-b', 'sashimi_groups.tsv',
    '-c', 'chr17:43094000-43125000',
    '-o', 'BRCA1_sashimi',
    '-M', '10',
    '--alpha', '0.25',
    '--height', '3',
    '--width', '10',
    '--shrink',
    '--fix-y-scale',
    '--ann-height', '4',
    '-g', 'gencode_v45.gtf',
    '--base-size', '14',
    '-O', '3',
    '-A', 'mean_j',
    '-F', 'pdf'
], check=True)

Key ggsashimi flags (Garrido-Martin 2018 PLoS Comput Biol):

  • --overlay 3 (or -O 3): aggregate multiple samples within a group into a single overlay track with summary statistics — its signature feature
  • -A mean_j: junction aggregation method (mean, median, mean_j accounts for sample-wise normalization); use mean_j for biological replicates
  • --shrink: rescale long introns (>2x flanking exons) for compact display
  • --fix-y-scale: identical y-axis across groups (essential for visual comparison)
  • --alpha 0.25: transparency for per-sample coverage in overlay mode
  • -M 10: minimum junction reads to display (lower = noisier; 5-10 typical; raise to 20+ for crowded plots)
  • --ann-height: gene annotation track height
  • -F pdf: output format (pdf, png, svg, eps)

Batch Plotting from rMATS Hits

Goal: Auto-generate sashimi plots for all significant rMATS differential events.

Approach: Parse SE.MATS.JC.txt, expand coordinates to flanking exons + 500nt context, iterate ggsashimi.

python
import subprocess
import pandas as pd
from pathlib import Path

diff = pd.read_csv('rmats_output/SE.MATS.JC.txt', sep='\t')
sig = diff[(diff['FDR'] < 0.05) & (diff['IncLevelDifference'].abs() > 0.10)]

Path('sashimi_plots').mkdir(exist_ok=True)
for idx, ev in sig.head(25).iterrows():
    region = f'{ev["chr"]}:{ev["upstreamES"] - 500}-{ev["downstreamEE"] + 500}'
    safe_name = f'{ev["geneSymbol"]}_{ev["chr"]}_{ev["upstreamES"]}'
    subprocess.run([
        'ggsashimi.py',
        '-b', 'sashimi_groups.tsv',
        '-c', region,
        '-o', f'sashimi_plots/{safe_name}',
        '-M', '5',
        '--shrink',
        '--fix-y-scale',
        '-O', '3',
        '-A', 'mean_j',
        '-g', 'annotation.gtf',
        '-F', 'pdf'
    ], check=True)

For MXE events, plot from upstreamES of exon 1 to downstreamEE of exon 2 to show both alternative exons in the same figure.

rmats2sashimiplot

Goal: Plot directly from rMATS event coordinates without manual region calculation.

Approach: Pass rMATS event file + BAM lists + event type; rmats2sashimiplot extracts coordinates and produces per-event PDFs.

bash
rmats2sashimiplot \
    --b1 ctrl1.bam,ctrl2.bam,ctrl3.bam \
    --b2 trt1.bam,trt2.bam,trt3.bam \
    -t SE \
    -e rmats_output/SE.MATS.JC.txt \
    --l1 Control \
    --l2 Treatment \
    -o sashimi_rmats \
    --exon_s 1 \
    --intron_s 5 \
    --color '#1f77b4,#ff7f0e' \
    --group-info group_def.txt

--exon_s 1 --intron_s 5 shrinks intron-to-exon visual ratio 5:1 (introns drawn 1/5 their actual length). The --group-info flag (newer versions) allows custom replicate groupings.

MAJIQ-VOILA Interactive HTML

Goal: Browse LSV posterior PSI distributions interactively with splice-graph topology.

Approach: Run voila on MAJIQ output to generate self-contained HTML.

bash
# MAJIQ V3 (June 2025+) uses Zarr-format splicegraph (V2's .sql is deprecated)
voila view -p 5000 -j 8 build/splicegraph.zarr psi_output/sample.psi.voila -o voila_psi_html

voila view -p 5000 -j 8 build/splicegraph.zarr deltapsi_output/group1_group2.deltapsi.voila -o voila_dpsi_html

VOILA shows:

  • Complete LSV graphs (single source / single target nodes)
  • Per-junction posterior PSI violin plots
  • ΔPSI distributions across all conditions
  • Confidence by junction within an LSV

The only tool that visualizes complex multi-junction LSVs intuitively. For events that don't fit canonical SE/A5SS/A3SS, VOILA is the visualization of choice.

leafviz Shiny App

Goal: Browse leafcutter clusters with intron-level effects, sashimi-like plots, and NMD annotation.

Approach: Prepare leafviz input from leafcutter differential output, then launch Shiny.

bash
prepare_results.R \
    -o leafviz \
    -m groups.txt \
    leafcutter_perind_numers.counts.gz \
    ds_results_cluster_significance.txt \
    ds_results_effect_sizes.txt \
    annotation_codes
r
library(leafviz)
run_leafviz('leafviz.RData')

Standalone alternative: jackhump/leafviz GitHub repo for the lightweight installable subset. Useful for cohort-level interactive filtering.

Jutils for Tool-Agnostic Output

Goal: Visualize differential splicing output uniformly across rMATS, leafcutter, MntJULiP, and MAJIQ.

Approach: Convert tool output to Jutils' standard format, then plot.

bash
python3 jutils.py convert-results --rmats-dir rmats_output/ --out-dir jutils_out/
python3 jutils.py heatmap --tsv-file jutils_out/rmats.tsv --meta-file meta.tsv --q-value 0.05
python3 jutils.py sashimi --tsv-file jutils_out/rmats.tsv --meta-file meta.tsv \
    --gtf annotation.gtf --coordinate chr1:1000-2000 --bam-list bam_list.tsv
python3 jutils.py venn-diagram --tsv-file-list jutils_out/rmats.tsv,jutils_out/leafcutter.tsv

(Yang 2021 Bioinformatics) Useful when comparing multiple tools' outputs across publications or doing meta-analysis.

pyGenomeTracks for Multi-Track Figures

Goal: Combine splicing with chromatin or coverage tracks for publication figures.

Approach: Define tracks in an INI file (genes, BAM, BigWig, BED), then run pyGenomeTracks --tracks tracks.ini --region ... -o figure.pdf.

ini
[gene_models]
file = annotation.gtf
height = 3
title = GENCODE v45
fontsize = 10
file_type = gtf

[ctrl_coverage]
file = ctrl_merged.bw
title = Control
color = #1f77b4
height = 3
file_type = bigwig

[trt_coverage]
file = trt_merged.bw
title = Treatment
color = #ff7f0e
height = 3
file_type = bigwig

[junctions]
file = junctions.bedpe
title = Junctions
height = 2
file_type = links
links_type = arcs

The junctions.bedpe file must be in BEDPE format (6 columns: chr1 start1 end1 chr2 start2 end2 [+ optional score]). Convert from regtools .bed12 junctions:

bash
# Convert regtools junctions BED12 to BEDPE for pyGenomeTracks.
# regtools BED12 column 11 is blockSizes (anchor_left, anchor_right);
# column 12 is blockStarts (0, intron_length + anchor_left).
# Intron start = chromStart + anchor_left = $2 + a[1]
# Intron end   = chromStart + blockStarts[2] = $2 + b[2]
awk 'BEGIN{OFS="\t"} {split($11,a,","); split($12,b,","); s=$2+a[1]; e=$2+b[2]; print $1, s, s+1, $1, e-1, e, $5}' \
    regtools_junctions.bed > junctions.bedpe
bash
pyGenomeTracks --tracks tracks.ini --region chr17:43094000-43125000 -o figure.pdf

Reading Sashimi Plots (Interpretation Guide)

Visual elementWhat it represents
Filled coverage trackRead coverage at each genomic position (depth-normalized in -A mode)
Arc / curve between exonsJunction-spanning reads; arc connects donor to acceptor
Number on arcCount of junction-spanning reads (raw, not normalized, unless -A set)
Arc thicknessOften proportional to read count (tool-dependent)
Gene model belowExons (boxes) and introns (lines) from GTF
Multiple parallel tracksPer-sample (default) or per-group (with -O)

Junction count interpretation: the number on an arc is the absolute count of reads whose CIGAR string contained an N operation matching that intron coordinate. Higher = more usage. Compare counts on inclusion vs skipping arcs to estimate PSI visually.

Color convention: by convention, control = blue (#1f77b4), treatment = orange (#ff7f0e); always document. Use ColorBrewer or matplotlib defaults for >2 groups.

Per-Tool Failure Modes

ggsashimi: Off-Strand Junction Artifacts

Trigger: Stranded RNA-seq library plotted without strand specification.

Mechanism: ggsashimi reads BAM strand from CIGAR + flag; without strand info, antisense junctions appear as artifacts.

Symptom: Implausible junctions in regions with overlapping antisense genes; "noise" arcs at unexpected locations.

Fix: Set library strandedness with -s MATE2_SENSE (dUTP/TruSeq reverse-stranded PE; use -s MATE1_SENSE for forward, -s SENSE/ANTISENSE for single-end); verify orientation with RSeQC infer_experiment.py. Alternatively, pre-filter BAM by strand with samtools view -f 16 / -F 16.

rmats2sashimiplot: Wrong Coordinate Convention

Trigger: Older versions or non-default rMATS output.

Mechanism: rmats2sashimiplot expects 1-based coordinates from rMATS' .MATS.JC.txt; rMATS outputs 0-based half-open in some columns.

Symptom: Plot region shifted by 1 nt; arcs misaligned with gene model.

Fix: Verify rmats2sashimiplot version matches rMATS-turbo output convention; use ggsashimi for cleaner control.

MAJIQ-VOILA: Browser Memory

Trigger: Loading large VOILA HTML in browser (cohort with hundreds of LSVs).

Mechanism: VOILA HTML embeds all LSV data; large cohorts produce >100 MB HTMLs.

Symptom: Browser unresponsive on opening; "page unresponsive" warnings.

Fix: Filter LSVs in MAJIQ before voila step (--changing-pvalue-threshold 0.95 and --changing-between-group-dpsi-threshold 0.2); split into per-gene HTMLs.

leafviz: Annotation Codes Mismatch

Trigger: Using leafviz with annotation_codes from different GENCODE version than leafcutter clusters.

Mechanism: annotation_codes encodes intron-to-event-class mapping per GTF version.

Symptom: Many clusters show as "unannotated" despite being in canonical GTF.

Fix: Generate annotation_codes from the same GENCODE version used in differential analysis.

Customization Reference

Visual goalggsashimi flag
Reduce intron whitespace--shrink
Identical y-axis across groups--fix-y-scale
Per-group overlay aggregation-O 3 -A mean_j
Larger figure--width 12 --height 4
Bigger fonts--base-size 16
Vector output-F pdf or -F svg
Custom paletteEdit colors in groups TSV
Filter junction noise-M 10 (raise to 20+)
Transparency--alpha 0.25
Restrict to protein-codingpre-filter the GTF (awk '$0 ~ /protein_coding/'); ggsashimi has no feature-filter flag

Best Practices

TipRationale
Use --shrink for genes with large intronsKeeps exons visible (TTN, brain genes with multi-kb introns)
--fix-y-scale for cross-group comparisonsOtherwise auto-rescaling visually exaggerates differences
Aggregate replicates with -O 3 -A mean_jReduces clutter; per-sample variance still shown via alpha
Limit to 3-4 groups per figureMore becomes hard to read
Include 200-500 nt flanking exonsShow full splicing context
For MXE events, plot both alternative exonsOtherwise only half of the event is visible
Check accessibility colorsUse ColorBrewer-safe palettes for color-blind readers
Always include a legendSashimi figures without legends are uninformative for non-experts
Specify output format explicitlyPDF for publication; PNG for slides; SVG for editing

Common Errors

ErrorCauseSolution
ggsashimi: 'samtools' not foundsamtools not in PATHInstall via conda; which samtools to verify
ggsashimi: empty plotRegion has no reads or wrong chromosome nameCheck BAM with samtools view sample.bam chr1:100-200; chrom name match (chr1 vs 1)
rmats2sashimiplot: KeyError 'IJC_SAMPLE_1'Old rmats2sashimiplot with new rMATS outputUpdate both to matching versions
voila: out of memoryLarge LSV cohortFilter by deltapsi threshold before voila
pyGenomeTracks: ini parse errorMissing closing bracket or invalid track typeValidate INI syntax; check pyGenomeTracks --listTracks for supported types
leafviz: missing exon fileannotation_codes path wrongRe-run prepare_results.R with correct paths

Troubleshooting

IssueCauseSolution
No junctions shownDefault -M 10 too strictLower to -M 3 or -M 5
Plot too crowdedMany samples without aggregationUse -O 3 to overlay groups
Annotation missing or wrong geneGTF lacks gene_name attribute or wrong buildVerify GTF version vs BAM reference; pre-filter the GTF to the relevant features
Memory issues on large regions>100 kb regions with many samplesPlot smaller windows or pre-extract reads with samtools view
Y-axis dominated by one peakOutlier sampleUse -A mean_j to aggregate; or filter outlier

Related Skills

  • differential-splicing - Identify events to plot; sashimi plots are validation
  • splicing-quantification - Context for PSI values; sashimi provides visual confirmation
  • data-visualization/genome-tracks - Multi-track figure design (pyGenomeTracks, Gviz)
  • data-visualization/ggplot2-fundamentals - ggsashimi customization (extends ggplot2)
  • data-visualization/color-palettes - Accessible color choices
  • data-visualization/volcano-and-ma-plots - Volcano complement to sashimi
  • data-visualization/heatmaps-clustering - Heatmap complement to sashimi

References

  • Katz et al 2010 Nat Methods - MISO sashimi plot original
  • Garrido-Martin et al 2018 PLoS Comput Biol - ggsashimi
  • Yang et al 2021 Bioinformatics - Jutils
  • Vaquero-Garcia et al 2016 eLife - MAJIQ / VOILA
  • Li et al 2018 Nat Genet - leafcutter / leafviz
  • Ramirez et al 2018 Nat Commun - pyGenomeTracks

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Bio Sashimi Plots AI 技能有什么作用?

使用 ggsashimi(通用工具,可按条件分组叠加显示)、rmats2sashimiplot(适配 rMATS 输出)、MAJIQ-VOILA(以交互式 HTML 展示 LSV 后验概率)、leafviz(用于 LeafCutter 簇的 Shiny 工具)、Jutils(适用于 rMATS/leafcutter/MntJULiP/MAJIQ 输出的通用热图和 sashimi 图),或 pyGenomeTracks(用于制作多轨道出版级图片),创建 sashimi 风格图,展示 RNA-seq 读段覆盖度和剪接连接数量。工具选择取决于上游差异剪接工具的输出格式,以及需求是用于出版还是交互式查看。适用于可视化特定剪接事件、验证差异剪接结果,或制作出版级图片。

为什么在 TypingMind 中使用 Bio Sashimi Plots?

因为您只需安装一次,就能搭配任何模型使用。Bio Sashimi Plots 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Bio Sashimi Plots?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/PKU-YuanGroup/OpenAI4S/tree/main/skills/bioskills/bio-alternative-splicing-sashimi-plots。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Bio Sashimi Plots?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Bio Sashimi Plots 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Bio Sashimi Plots 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Bio Sashimi Plots AI 技能免费吗?

是的。PKU-YuanGroup 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇