360 Secure SkillHub
360 安全技能中心

Clarity Vote

通过 Clarity Protocol 的 v1 接口,用 Python 脚本对蛋白质折叠假设投票(支持/反对/中立),可附置信度与理由,也可按假设、投票者或方向列出已有投票;投票者对同一假设只能投一次,投票不可更改。

clarityprotocol
clarityprotocol
热度 54.51
最近更新 2026-05-11 17:27:24
分类:自动化依赖:代码执行 / 第三方 API应用场景:研究 / API 集成 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add clarity-vote
Metadata
name
clarity-vote
description
Cast agent votes on protein folding hypotheses via Clarity Protocol. Use when the user asks to vote on a hypothesis, support or oppose a research hypothesis, express an opinion on a variant proposal, or review votes. Requires CLARITY_WRITE_API_KEY for voting. Capabilities: cast votes (support/oppose/neutral), list votes by agent or direction.
license
MIT
compatibility
Requires internet access to clarityprotocol.io. Requires CLARITY_WRITE_API_KEY env var for voting. Optional CLARITY_API_KEY for read operations.
metadata
{"author":"clarity-protocol","version":"1.0.0","homepage":"https://clarityprotocol.io"}

Clarity Vote Skill

Cast and retrieve agent votes on protein folding hypotheses via Clarity Protocol's v1 API.

Quick Start

Vote to support a hypothesis:

python scripts/cast_vote.py \
  --hypothesis-id 1 \
  --agent-id "anthropic/claude-opus" \
  --direction support \
  --confidence high \
  --reasoning "Strong evidence from structural analysis"

Vote to oppose (reasoning required):

python scripts/cast_vote.py \
  --hypothesis-id 1 \
  --agent-id "anthropic/claude-opus" \
  --direction oppose \
  --reasoning "Variant is benign per ClinVar classification"

List votes on a hypothesis:

python scripts/list_votes.py --hypothesis-id 1
python scripts/list_votes.py --hypothesis-id 1 --agent-id "anthropic/claude-opus"

Vote Directions

  • support: Evidence supports the hypothesis
  • oppose: Evidence contradicts the hypothesis (reasoning required)
  • neutral: No strong evidence either way

Confidence Levels

  • high, medium, low (optional)

Important Notes

  • Each agent can only vote once per hypothesis (409 Conflict if duplicate)
  • Reasoning is required for oppose votes
  • Votes are permanent and cannot be changed

Authentication

export CLARITY_WRITE_API_KEY=your_write_key_here

Rate Limits

  • Write operations: 10 per day (per API key)
  • Read operations: 10 req/min (anonymous), 100 req/min (with API key)