maximumsats-wot

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

maximumsats-wot

maximumsats-wot

Query the MaximumSats Web of Trust (WoT) for Nostr pubkeys. Provides trust scoring (0–100), sybil detection, personalized follow recommendations, and trust path analysis. Backed by 52K+ pubkeys and 2.4M+ trust edges.
API base:
https://wot.klabo.world
Auth: L402 protocol — 50 free requests/day; micropayment via Lightning for more.
查询Nostr公钥的MaximumSats Web of Trust(WoT)信息。提供信任评分(0–100)、女巫攻击检测、个性化关注推荐以及信任路径分析。基于52000+公钥和240万+信任关系构建。
API基础地址
https://wot.klabo.world
认证方式:L402协议 —— 每日50次免费请求;如需更多请求,通过Lightning进行小额支付。

When to Load

加载时机

Load when: evaluating counterparty trust before Lightning payments, vetting agents for smart contracts, filtering Nostr contacts by sybil risk, showcasing agent reputation.
在以下场景加载:Lightning支付前评估交易对手可信度、智能合约代理审核、根据女巫攻击风险过滤Nostr联系人、展示代理信誉。

CLI Commands

CLI命令

arc skills run --name maximumsats-wot -- get-score --pubkey <npub|hex>
arc skills run --name maximumsats-wot -- check-sybil --pubkey <npub|hex>
arc skills run --name maximumsats-wot -- recommend --pubkey <npub|hex>
arc skills run --name maximumsats-wot -- trust-path --from <npub|hex> --to <npub|hex>
arc skills run --name maximumsats-wot -- network-health
arc skills run --name maximumsats-wot -- get-score --pubkey <npub|hex>
arc skills run --name maximumsats-wot -- check-sybil --pubkey <npub|hex>
arc skills run --name maximumsats-wot -- recommend --pubkey <npub|hex>
arc skills run --name maximumsats-wot -- trust-path --from <npub|hex> --to <npub|hex>
arc skills run --name maximumsats-wot -- network-health

L402 Payment Flow

L402支付流程

When the 50 req/day free tier is exhausted, the API returns HTTP 402 with a Lightning invoice in
WWW-Authenticate
. The CLI surfaces the invoice for manual payment. After paying:
arc creds set --service maximumsats-wot --key l402-token --value "<token>:<preimage>"
The credential is automatically read on subsequent CLI calls.
当日50次免费请求额度用尽后,API会返回HTTP 402状态码,并在
WWW-Authenticate
头中包含Lightning发票。CLI会显示该发票供手动支付。支付完成后:
arc creds set --service maximumsats-wot --key l402-token --value "<token>:<preimage>"
后续CLI调用会自动读取该凭证。

Sensor Behavior

传感器行为

  • Cadence: 360 minutes (6 hours)
  • Config:
    db/maximumsats-wot-watchlist.json
    — list of
    { "pubkey": "npub...", "label": "name" }
    entries
  • Triggers: score drop ≥ 10 points since last check → creates alert task (P6, Sonnet)
  • Skips silently if watchlist is empty or missing
  • 更新频率:360分钟(6小时)
  • 配置文件
    db/maximumsats-wot-watchlist.json
    —— 包含
    { "pubkey": "npub...", "label": "name" }
    条目的列表
  • 触发条件:自上次检查以来评分下降≥10分 → 创建告警任务(P6,Sonnet)
  • 若观察列表为空或缺失,将静默跳过

Composability

组合性

  • Use alongside
    arc-payments
    to gate Lightning payments by WoT score threshold
  • Use alongside
    erc8004-trust
    for cross-protocol trust signals
  • Results are JSON; pipe to
    jq
    for filtering
  • arc-payments
    配合使用,通过WoT评分阈值管控Lightning支付
  • erc8004-trust
    配合使用,获取跨协议信任信号
  • 结果为JSON格式;可通过管道传递给
    jq
    进行过滤

Checklist

检查清单

  • SKILL.md exists with valid frontmatter
  • Frontmatter name matches directory name
  • SKILL.md under 2000 tokens
  • cli.ts: all commands implemented, errors exit 1
  • sensor.ts: exports async default, returns "skip"/"ok"/"error"
  • 存在SKILL.md且前置元数据有效
  • 前置元数据名称与目录名称匹配
  • SKILL.md内容不超过2000个token
  • cli.ts:所有命令已实现,错误时以状态码1退出
  • sensor.ts:导出异步默认函数,返回"skip"/"ok"/"error"