← 返回 Skills 市场
clarityprotocol

Clarity Clinical

作者 clarityprotocol · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
518
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install clarity-clinical
功能描述
Query clinical variant data from ClinVar and gnomAD via Clarity Protocol. Use when the user asks about ClinVar classification, clinical significance, pathoge...
使用说明 (SKILL.md)

Clarity Clinical Skill

Access clinical variant annotations from ClinVar and population frequency data from gnomAD through Clarity Protocol's integrated database.

Quick Start

List all clinical variants:

python scripts/query_clinical.py

Filter by gene symbol:

python scripts/query_clinical.py --gene-symbol MAPT

Get details for a specific variant:

python scripts/query_clinical.py --gene MAPT --variant NM_005910.6:c.926C>T

Get variant details in readable format:

python scripts/query_clinical.py --gene MAPT --variant NM_005910.6:c.926C>T --format summary

Clinical Variant Fields

Each clinical variant includes:

  • gene_symbol: HGNC gene symbol
  • variant_notation: Full HGVS notation (transcript-based)
  • clinvar_significance: Clinical significance classification (e.g., "Pathogenic", "Benign")
  • clinvar_review_status: Review status stars (e.g., "criteria provided, multiple submitters")
  • clinvar_last_evaluated: Date of last ClinVar evaluation
  • gnomad_af: Allele frequency in gnomAD (population prevalence)
  • gnomad_ac: Allele count in gnomAD
  • gnomad_an: Total allele number in gnomAD
  • fetched_at: When this data was retrieved from ClinVar/gnomAD

ClinVar Significance Values

  • Pathogenic: Strong evidence for disease causation
  • Likely pathogenic: Moderate evidence for disease causation
  • Benign: Strong evidence of no disease causation
  • Likely benign: Moderate evidence of no disease causation
  • Uncertain significance: Insufficient evidence
  • Conflicting interpretations: Disagreement among submitters

gnomAD Frequency Interpretation

  • af \x3C 0.0001: Very rare (\x3C 0.01%)
  • af \x3C 0.001: Rare (\x3C 0.1%)
  • af \x3C 0.01: Uncommon (\x3C 1%)
  • af >= 0.01: Common (>= 1%)

Rate Limits

  • Anonymous (no API key): 10 requests/minute
  • With API key: 100 requests/minute

To use an API key, set the CLARITY_API_KEY environment variable:

export CLARITY_API_KEY=your_key_here
python scripts/query_clinical.py --gene-symbol MAPT

Get your API key at https://clarityprotocol.io

Error Handling

404 Not Found: The specified gene/variant combination does not exist in the clinical database.

429 Rate Limit: You've exceeded the rate limit. The script will display how long to wait.

500 Server Error: The API server encountered an error. Try again later.

Timeout: The request took longer than 30 seconds.

Pagination

Clinical variant lists are paginated. The API returns a next_cursor field if more results are available.

Use Cases

  • Check if a variant is pathogenic in ClinVar
  • Get population frequency data for a mutation
  • Compare clinical significance across variants in a gene
  • Assess variant review status quality
  • Filter common vs. rare variants using gnomAD
安全使用建议
This skill appears to do what it claims: call clarityprotocol.io to retrieve ClinVar/gnomAD-derived annotations. Before installing, confirm you are comfortable with the agent making outbound requests to https://clarityprotocol.io. If you plan to use an API key, store CLARITY_API_KEY securely; the key is only sent as an X-API-Key header to the Clarity Protocol domain. Ensure your environment has Python and the requests package available. If you will query sensitive patient data or PHI, be mindful that any variant identifiers you submit will go to the third-party API — avoid sending protected health information unless your usage complies with your policies and local regulations.
功能分析
Type: OpenClaw Skill Name: clarity-clinical Version: 1.0.0 The skill bundle is benign. All files align with the stated purpose of querying clinical variant data from clarityprotocol.io. The `SKILL.md` provides clear, non-malicious instructions without any prompt injection attempts. The Python scripts (`api_client.py`, `query_clinical.py`) use standard libraries for argument parsing (`argparse`), secure API communication (`requests`) to the documented `https://clarityprotocol.io` endpoint, and safely retrieve an optional API key from environment variables (`os.environ.get`). There is no evidence of data exfiltration, malicious execution, persistence mechanisms, or obfuscation.
能力评估
Purpose & Capability
Name/description (clinical variant queries) align with the included client and query scripts. The API_BASE, endpoints, and declared rate limits match the stated functionality; no unrelated services or credentials are requested.
Instruction Scope
SKILL.md and scripts only direct the agent to call the Clarity Protocol API and format results. The instructions do not read unrelated system files, environment variables beyond optional CLARITY_API_KEY, or send data to unexpected endpoints.
Install Mechanism
There is no install spec (instruction-only + included scripts), which minimizes installer risk. The scripts import the Python requests library but the skill does not declare dependencies — user environment must have Python and requests available. This is an operational note rather than a security incoherence.
Credentials
Only an optional CLARITY_API_KEY is referenced (used to raise rate limits). No other secrets, keys, or unrelated environment variables are required or accessed.
Persistence & Privilege
The skill is not always-enabled, does not request persistent system modifications, and does not attempt to modify other skills or global agent settings. It performs outbound API calls only when invoked.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clarity-clinical
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clarity-clinical 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release – query clinical variant data from ClinVar and gnomAD via Clarity Protocol. - Search clinical variants by gene and detailed variant annotations. - Fetch clinical significance, review status, and allele frequency data. - Supports filtering by gene or specific variant. - Displays variant classification, population frequency, and quality metrics. - Built-in error handling for missing data, rate limits, and server issues. - Anonymous usage allows 10 requests/min; API key increases to 100 requests/min.
元数据
Slug clarity-clinical
版本 1.0.0
许可证
累计安装 2
当前安装数 2
历史版本数 1
常见问题

Clarity Clinical 是什么?

Query clinical variant data from ClinVar and gnomAD via Clarity Protocol. Use when the user asks about ClinVar classification, clinical significance, pathoge... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 518 次。

如何安装 Clarity Clinical?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install clarity-clinical」即可一键安装,无需额外配置。

Clarity Clinical 是免费的吗?

是的,Clarity Clinical 完全免费(开源免费),可自由下载、安装和使用。

Clarity Clinical 支持哪些平台?

Clarity Clinical 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Clarity Clinical?

由 clarityprotocol(@clarityprotocol)开发并维护,当前版本 v1.0.0。

💬 留言讨论