Bio Clinical Databases Dbsnp Queries 标志

Bio Clinical Databases Dbsnp Queries

组织
PKU-YuanGroup
bio-clinical-databases-dbsnp-queries

解析 rsID,追踪 RsMergeArch/SNPHistory 合并链,并使用 dbSNP Build 156 JSON 架构在 rsID、SPDI、HGVS 和 VCF 表示形式之间进行转换。适用于规范化变异标识符、通过 cluster ID 联结变异数据库,或追踪已弃用 rsID 的历史合并记录。

Add to TypingMind

概览

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

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

  • 兼容任何大语言模型

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

  • 2 个附带文件

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

  • 开源

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

安装

在 TypingMind 中安装 Bio Clinical Databases Dbsnp Queries 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-clinical-databases-dbsnp-queries
  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-clinical-databases-dbsnp-queries .claude/skills/bio-clinical-databases-dbsnp-queries
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

一旦请求与技能匹配,模型就会自动加载 Bio Clinical Databases Dbsnp Queries。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Version Compatibility

Reference examples tested with: myvariant 1.0+, requests 2.31+, biopython 1.83+, Entrez Direct 21.0+. dbSNP Build 156 (September 2022) is the current schema; Build 151 (2017) was the last with relational SQL dumps. Builds 152-155 dual-released JSON+SQL; 156+ is JSON-only.

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. The Variation Services REST API uses path-based versioning (/variation/v0/); E-utilities db=snp returns thin legacy summaries missing build-156 schema fields.

dbSNP Queries and rsID Normalization

'Look up this rsID / normalize variant representations' -> Resolve rsIDs through merge chains, compute canonical SPDI, and convert between rsID, HGVS-g, HGVS-c, and VCF allele representations.

  • Python (aggregator): myvariant.MyVariantInfo().getvariant(rsid, fields=['dbsnp', 'clinvar', 'gnomad_exome'])
  • Python (direct): requests.get(f'https://api.ncbi.nlm.nih.gov/variation/v0/refsnp/{rsid_int}')
  • Python (E-utilities, legacy): Bio.Entrez.esearch(db='snp', term=rsid); returns thin summary
  • Bulk: ftp.ncbi.nlm.nih.gov/snp/latest_release/JSON/refsnp-chr{N}.json.bz2

rsID Is a Cluster Identifier, Not a Variant Identifier

This is the load-bearing concept. dbSNP cluster definition: ss records (submitted SNPs) are mapped to the genome and clustered into RefSNPs by position + variant type, not by allele. A single rsID can point to a locus with multiple alleles:

  • rs12345 may resolve to {A>G, A>T, A>C} at one position; the RefSNP JSON primary_snapshot_data.placements_with_allele[*].alleles enumerates them.
  • ~6-8% of dbSNP rsIDs are multi-allelic.
  • PLINK and many older tools historically misuse rsIDs as if they were variant identifiers, which fails for multi-allelic sites and yields wrong genotype assignments.

Rule: Use rsID as a human-facing label only; use SPDI or ClinGen Allele Registry CA ID for joins.

Build 156 Schema Overhaul: What Changed

AspectBuild 151 (2017)Build 156 (2022) and current
DistributionRelational SQL dumps + XMLJSON per RefSNP, partitioned by chromosome
FTP pathftp/snp/organisms/human_9606/ftp.ncbi.nlm.nih.gov/snp/latest_release/JSON/
Primary keysnp_id, ss_idrefsnp_id, with primary_snapshot_data block
Frequency dataEmbedded sparseALFA aggregated populations
Merge trackingRsMergeArch.bcp.gzrefsnp-merged.json.bz2 (also RsMergeArch.bcp.gz retained for legacy)
WithdrawnSNPHistory.bcp.gzrefsnp-withdrawn.json.bz2
API accessLegacy E-utilities db=snp onlyVariation Services REST /v0/refsnp/{id} returns the full JSON

E-utilities still works for db=snp but returns a thin pre-156 summary missing key fields like primary_snapshot_data.placements_with_allele; pipelines reliant on Entrez get out-of-date data.

RsMergeArch: The Multi-Hop Merge Footgun

When two rsIDs are found to refer to the same allele cluster, the higher (later-assigned) rsID is merged into the lower. RsMergeArch.bcp.gz stores (rsHigh, rsLow, rsCurrent) tuples.

The trap: rsCurrent in any given row is the merge target at the time of that merge event, NOT the current dbSNP rsID. A multi-merge chain (rs3 -> rs2 -> rs1, then later rs1 -> rs0) appears as multiple rows. Naive one-hop lookup resolves to a stale ID.

Withdrawn rsIDs (submitter-withdrawn or QC-failed) live in SNPHistory.bcp.gz, not RsMergeArch. Both tables must be consulted to resolve any historical rsID.

SPDI: The Canonical Variant Representation

SPDI (Sequence:Position:Deletion:Insertion) format: NC_000017.11:43044294:G:A. Position is 0-based, half-open (differs from HGVS's 1-based, fully-closed).

The Contextual Allele transformation (Variant Overprecision Correction Algorithm) returns the right-aligned, normalized canonical form across left-aligned VCFs and right-aligned HGVS conventions. This is the basis for ClinGen Allele Registry CA ID computation.

RepresentationBuild dependencyTranscript dependencyBijective?Best for
VCF (chrom-pos-ref-alt)YesNoYes (same build)Pipelines, bulk
SPDIYes (via RefSeq accession)NoYes for SNV/small indelCanonical normalization
HGVS-gYes (NC_xxxxx.N)NoYes for SNV/small indelHuman-readable genomic
HGVS-cIndirect (via transcript)YesNo (one HGVS-c -> many HGVS-g)Clinical reporting
HGVS-pIndirectYesDegenerate (one HGVS-p -> many HGVS-c)Protein-level annotation
rsIDNone (cluster identifier)NoneNO (multi-allelic)Human label only
CA IDNone (canonical)NoneYesCross-database join

Decision Tree by Query Scenario

ScenarioRecommended pathWhy
Resolve single rsID to coordinates + allelesVariation Services /v0/refsnp/{id}Returns full Build 156 JSON, including merge history
Resolve historical/deprecated rsIDVariation Services /v0/refsnp/{id} -> follow merged_snapshot_data chainSingle-hop RsMergeArch lookup misses multi-hop chains
Batch query 100-10k rsIDsmyvariant.info getvariants(rsids)Aggregated with ClinVar/gnomAD overlay; rate-limit safe
Convert coords <-> rsIDmyvariant.info HGVS query or Variation Services /spdi/{spdi}/rsidSPDI is the canonical bridge
Normalize variant representationsVariation Services /hgvs/{hgvs}/contextualsReturns canonical SPDI, right-aligned
Bulk genomic-wide rsID -> coordsLocal download of refsnp-chr{N}.json.bz2 + parserNo rate limits; weekly snapshots
Joining dbSNP with gnomAD by IDUse SPDI or CA ID, never rsID alonersID is a cluster; alleles may not match
Get population AF for common variantALFA (via Variation Services) for array-genotyped variants; gnomAD for sequencing-derivedDifferent sample compositions

Single rsID Resolution

Goal: Resolve an rsID to full Build 156 RefSNP JSON, including coordinates, alleles, gene context, and merge history.

Approach: Hit Variation Services /v0/refsnp/{id_without_rs}; the response includes primary_snapshot_data (current) and merged_snapshot_data (if this rsID is itself a merge target).

python
import requests

VARSVC = 'https://api.ncbi.nlm.nih.gov/variation/v0'

def refsnp(rsid):
    '''Fetch full Build 156 RefSNP JSON. rsid can be 'rs121913529' or 121913529.'''
    rs_int = str(rsid).lstrip('rs')
    r = requests.get(f'{VARSVC}/refsnp/{rs_int}', timeout=30)
    if r.status_code == 404:
        return None
    r.raise_for_status()
    return r.json()

def summarize_refsnp(payload):
    '''Extract minimal fields. Handles multi-allelic cluster correctly.

    The placement JSON nests assembly metadata; the precise path varies by
    Build / API version. Common variants seen in the wild:
        placement['seq_id_traits_by_assembly'][0]['assembly_name']
        placement['placement_annot']['seq_id_traits_by_assembly'][0]['assembly_name']
    Inspect the actual JSON returned for the current dbSNP Build before
    relying on either path in production.
    '''
    if payload is None or payload.get('is_withdrawn'):
        return None
    primary = payload.get('primary_snapshot_data', {})
    placements = primary.get('placements_with_allele', [])
    def assembly_name(p):
        traits = (p.get('placement_annot') or p).get('seq_id_traits_by_assembly') or []
        return traits[0].get('assembly_name') if traits else ''
    grch38 = next((p for p in placements if 'GRCh38' in (assembly_name(p) or '')), None)
    if grch38 is None:
        return None
    alleles = []
    for allele in grch38.get('alleles', []):
        spdi = allele.get('allele', {}).get('spdi', {})
        alleles.append({
            'ref': spdi.get('deleted_sequence'),
            'alt': spdi.get('inserted_sequence'),
            'seq_id': spdi.get('seq_id'),
            'pos_0based': spdi.get('position')
        })
    return {
        'rsid': payload.get('refsnp_id'),
        'gene': primary.get('allele_annotations', [{}])[0].get('assembly_annotation', [{}])[0].get('genes', [{}])[0].get('locus'),
        'placements_grch38': alleles,
        'is_multiallelic': len(alleles) > 2,
        'merge_history': payload.get('merged_snapshot_data', [])
    }

Multi-Hop Merge Resolution

Goal: Resolve a possibly-deprecated rsID to the current canonical rsID, following the full merge chain.

Approach: Recursively follow merged_snapshot_data until the response has no further merge entries, with cycle detection.

python
def resolve_merge_chain(rsid, max_hops=10):
    '''Follow multi-hop merge chain. Cycle-safe with max_hops cap.'''
    seen = set()
    current = str(rsid).lstrip('rs')
    for _ in range(max_hops):
        if current in seen:
            return {'error': 'merge cycle detected', 'chain': list(seen)}
        seen.add(current)
        payload = refsnp(current)
        if payload is None:
            return {'error': 'not found', 'final_rsid': current, 'chain': list(seen)}
        if payload.get('is_withdrawn'):
            return {'status': 'withdrawn', 'final_rsid': current, 'chain': list(seen)}
        primary = payload.get('primary_snapshot_data')
        if primary is not None:
            return {'status': 'resolved', 'final_rsid': payload.get('refsnp_id'), 'chain': list(seen)}
        merged = payload.get('merged_snapshot_data', [])
        if not merged:
            return {'status': 'orphan', 'final_rsid': current, 'chain': list(seen)}
        current = str(merged[0].get('merged_into', ''))
    return {'error': 'hop limit', 'chain': list(seen)}

SPDI <-> HGVS <-> VCF Conversion

Goal: Move between variant representations using Variation Services as the canonical bridge.

Approach: SPDI endpoints handle build resolution and right-alignment; HGVS contextuals applies the Variant Overprecision Correction Algorithm.

python
def hgvs_to_spdi_canonical(hgvs):
    '''Resolve HGVS to canonical SPDI via the Variant Overprecision Correction Algorithm.'''
    r = requests.get(f'{VARSVC}/hgvs/{hgvs}/contextuals', timeout=30)
    if not r.ok:
        return None
    contextuals = r.json().get('data', {}).get('spdis', [])
    return contextuals[0] if contextuals else None

def spdi_to_rsid(spdi_str):
    '''SPDI 'NC_000017.11:43044294:G:A' -> rsID if a cluster exists.'''
    r = requests.get(f'{VARSVC}/spdi/{spdi_str}/rsids', timeout=30)
    if not r.ok:
        return None
    rsids = r.json().get('data', {}).get('rsids', [])
    return rsids[0] if rsids else None

def vcf_to_canonical_spdi(chrom, pos, ref, alt, assembly='GRCh38'):
    '''VCF (1-based) -> SPDI (0-based, right-aligned).'''
    refseq_map = {('1', 'GRCh38'): 'NC_000001.11', ('17', 'GRCh38'): 'NC_000017.11'}
    refseq = refseq_map.get((str(chrom).lstrip('chr'), assembly))
    if refseq is None:
        return None
    raw_spdi = f'{refseq}:{pos - 1}:{ref}:{alt}'
    r = requests.get(f'{VARSVC}/spdi/{raw_spdi}/canonical_representative', timeout=30)
    return r.json().get('data', {}).get('spdi') if r.ok else None

ALFA Frequencies vs gnomAD

SourceSample basisVariants coveredWhen to use
ALFA~1M dbGaP subjects (array + WGS) across 12 ancestry groups447M+ sites; broader (includes array-only)Common variants, dbGaP-deposited cohorts
gnomAD v4807k WGS+WES individuals across 9 ancestry groupsSequencing-derived (deeper at rare variants)Rare-variant FAF95, ACMG BS1/BA1

ALFA does NOT provide FAF95-style upper-bound CIs; raw AF only. ALFA captures consent-tier metadata enabling consent-respecting lookups for variants gnomAD doesn't carry.

python
def alfa_frequency(rsid, ancestry='Total'):
    '''Pull ALFA per-population AF via Variation Services.'''
    payload = refsnp(rsid)
    if payload is None:
        return None
    freq_records = payload.get('primary_snapshot_data', {}).get('allele_annotations', [{}])[0].get('frequency', [])
    alfa_records = [f for f in freq_records if 'ALFA' in f.get('study_name', '')]
    for record in alfa_records:
        if record.get('common_name') == ancestry:
            return {
                'allele': record.get('observation', {}).get('inserted_sequence'),
                'count': record.get('allele_count'),
                'total': record.get('total_count'),
                'freq': record.get('allele_count') / record.get('total_count') if record.get('total_count') else None
            }
    return None

Per-Operation Failure Modes

1. Treating rsID as a unique variant identifier

  • Trigger: Join two databases by rsID expecting a single variant.
  • Mechanism: rsID is a cluster identifier; multi-allelic clusters have 2-4 alleles at one position.
  • Symptom: Allele mismatches at low rate (~6-8% of sites); silent merger of unrelated variants.
  • Fix: Normalize both sides to SPDI or CA ID before joining.

2. Single-hop RsMergeArch lookup

  • Trigger: Read one row of RsMergeArch.bcp.gz and treat rsCurrent as the final answer.
  • Mechanism: Multi-hop merges (rs3 -> rs2 -> rs1 -> rs0) span multiple rows; each row records one hop only.
  • Symptom: Resolved rsID is itself stale; subsequent queries return outdated annotation.
  • Fix: Follow merge chains recursively via Variation Services merged_snapshot_data (handles multi-hop in one call).

3. Confusing withdrawn vs merged

  • Trigger: Query a withdrawn rsID and find no merge target.
  • Mechanism: Withdrawn rsIDs live in SNPHistory.bcp.gz, not RsMergeArch. They are NOT merged into anything; the cluster was QC-failed or submitter-retracted.
  • Symptom: 404 from naive lookup; pipelines proceed with stale rsID.
  • Fix: Check is_withdrawn field in RefSNP JSON; flag the variant for manual review.

4. E-utilities thin summary

  • Trigger: Use Entrez.esummary(db='snp') and treat output as authoritative.
  • Mechanism: E-utilities db=snp returns a pre-Build-156 summary missing primary_snapshot_data.placements_with_allele, frequency data, and merge history.
  • Symptom: Annotations look incomplete or out-of-date.
  • Fix: Use Variation Services REST /v0/refsnp/{id} for full JSON.

5. SPDI 0-based vs HGVS 1-based mismatch

  • Trigger: Build SPDI string from VCF position without converting to 0-based.
  • Mechanism: SPDI position is 0-based half-open; VCF is 1-based.
  • Symptom: Coordinate off-by-one; SPDI does not resolve to expected rsID.
  • Fix: SPDI position = (VCF position - 1). For indels, also normalize ref/alt.

6. Strand/orientation ambiguity for A/T C/G variants

  • Trigger: Merge variants across builds or platforms relying on rsID alone.
  • Mechanism: rsID is locus-level; opposite-strand alleles get the same rsID with different ref/alt representation.
  • Symptom: Strand-flipped genotypes after merge.
  • Fix: Use SPDI (which encodes strand via deleted/inserted sequence) or MAF-match for ambiguous variants.

Reconciliation: When Sources Disagree

PatternLikely causeAction
dbSNP rsID returns 404 in current buildWithdrawn (in refsnp-withdrawn.json.bz2)Check withdrawal reason; consider manual curation
rsID resolves to different coords across buildsGenome assembly change (GRCh37 -> GRCh38)Use SPDI with explicit RefSeq accession; lift over via pyliftover
ALFA AF and gnomAD AF disagree by >2xDifferent sample compositions; ALFA includes array-only sites under-represented in gnomADTrust gnomAD for sequencing data; ALFA for array-derived; use the more relevant source
Multiple rsIDs map to one SPDITrue duplicates from independent submissions; rare since Build 152 enforced cluster mergingPick the lowest rsID per RsMergeArch convention
One rsID has different ref allele in dbSNP vs gnomADdbSNP uses NCBI's ref; gnomAD aligns to its build assemblyNormalize to SPDI before joining

Quantitative Thresholds and Conventions

ThresholdConventionSource
Build 156Current as of Sep 2022; JSON-only distributiondbSNP NCBI
Multi-allelic rate~6-8% of dbSNP rsIDs are multi-allelicoperational estimate
Variation Services rate limit10 req/s with API key; 3 req/s withoutNCBI E-utilities policy
SPDI position0-based, half-openNCBI SPDI specification
HGVS position1-based, fully-closedHGVS nomenclature
ALFA samples~1M individuals across 12 ancestries (2024 release)NCBI dbGaP aggregation
Bulk download chunksOne file per chromosome (refsnp-chr{N}.json.bz2)NCBI FTP

Common Errors

SymptomCauseSolution
404 from Variation Services on valid rsIDrsID is withdrawn or never assignedCheck refsnp-withdrawn.json.bz2; consider strand-flipped equivalent
Merge chain resolves but final rsID has different allelesMulti-allelic cluster; pick allele matching the variantFilter placements_with_allele.alleles[*] by allele match
ALFA frequency missing for common variantVariant not in dbGaP-deposited studiesFall back to gnomAD (sequencing-derived)
Entrez.esummary returns old dataLegacy E-utilities, not Build 156 schemaSwitch to Variation Services REST /v0/refsnp/{id}
HGVS-c conversion fails for synonymous variantsSome HGVS-c rely on non-MANE transcripts not in NCBI defaultSpecify transcript explicitly; use VEP --mane_select
SPDI for indel does not round-tripLeft/right alignment mismatchUse /spdi/{spdi}/canonical_representative for normalization
Bulk JSON parse OOMrefsnp-chr1.json.bz2 is ~20GB uncompressedStream parse with bz2.BZ2File + line-by-line JSON; do not load whole file

Anticipated Reviewer Pushback

PushbackStandard response
"Why not just use rsID for the join?"rsID is a cluster identifier; ~6-8% of clusters are multi-allelic, causing silent mismatches. We use SPDI / CA ID.
"This annotation says rs12345 but the literature says rs67890"rsIDs are merged; we resolved through RsMergeArch / merged_snapshot_data to the current canonical rsID.
"dbSNP frequency != gnomAD frequency"ALFA (dbSNP-embedded) and gnomAD use different sample sets and different ascertainment (array vs sequencing); reconciled per use case.
"Why wasn't Entrez used?"Entrez db=snp returns the pre-Build-156 summary missing key fields; we use Variation Services REST for the full JSON.
"Coordinate off-by-one in the SPDI"SPDI is 0-based half-open; VCF is 1-based; intentional conversion applied.

References

  • Phan L et al. 2025. The evolution of dbSNP: 25 years of impact in genomic research. Nucleic Acids Res 53:D925.
  • Sayers EW et al. 2024. Database resources of the National Center for Biotechnology Information. Nucleic Acids Res 52:D33.
  • Holmes JB et al. 2020. SPDI: data model for variants and applications at NCBI. Bioinformatics 36:1902.
  • NCBI Variation Services API: https://api.ncbi.nlm.nih.gov/variation/v0/
  • dbSNP FTP layout: ftp.ncbi.nlm.nih.gov/snp/latest_release/JSON/
  • ALFA release notes: https://www.ncbi.nlm.nih.gov/snp/docs/gsr/alfa/
  • ClinGen Allele Registry: https://reg.clinicalgenome.org/docs/cg-car/

Related Skills

  • clinical-databases/myvariant-queries - Aggregated rsID + annotation queries
  • clinical-databases/clinvar-lookup - ClinVar VariationID vs rsID linkage
  • clinical-databases/gnomad-frequencies - Frequency lookups by canonical SPDI
  • clinical-databases/variant-prioritization - Pipeline using normalized variant IDs
  • database-access/entrez-search - General Entrez query patterns

附带文件

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

常见问题

Bio Clinical Databases Dbsnp Queries AI 技能有什么作用?

解析 rsID,追踪 RsMergeArch/SNPHistory 合并链,并使用 dbSNP Build 156 JSON 架构在 rsID、SPDI、HGVS 和 VCF 表示形式之间进行转换。适用于规范化变异标识符、通过 cluster ID 联结变异数据库,或追踪已弃用 rsID 的历史合并记录。

为什么在 TypingMind 中使用 Bio Clinical Databases Dbsnp Queries?

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

如何在 TypingMind 中安装 Bio Clinical Databases Dbsnp Queries?

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

哪些 AI 模型可以使用 Bio Clinical Databases Dbsnp Queries?

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

Bio Clinical Databases Dbsnp Queries 可以搭配多少个 AI 模型使用?

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

Bio Clinical Databases Dbsnp Queries AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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