nla-arbitrate
它能做什么
这项技能面向在自然语言托管中担任裁决者的人。智能体会列出待处理的请求,把要求与提交的工作并列显示,并把你的决定记录在链上。
适用场景
- ✓当你被指定为预言机,并希望亲自审核待处理的托管请求时。
- ✓当自动预言机没有运行,但仍需要做出决定的时候。
- ✓当你希望托管中指定的 AI 模型自动做出决定的时候。
技能链接
https://github.com/internet-court/internet-court-skill/blob/main/vendored/arkhai/nla-arbitrate/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我想作为预言机,审核正在等待我决定的待处理托管履约。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体运行 nla 命令行工具,列出你的钱包为预言机的请求。它会把每项要求与履约并排显示,并请你批准或拒绝。在自动模式下,它会使用托管中设定的模型做出决定。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Manual NLA Arbitration
Manually arbitrate escrow fulfillments using the nla escrow:arbitrate CLI command, bypassing the automated oracle listener.
When to use this
- The user wants to manually review and decide on escrow fulfillments
- The user is the oracle (their wallet address was specified as the oracle when escrows were created)
- The automated oracle is not running, or the user wants more control over decisions
Step-by-step instructions
1. Verify oracle identity
The user's wallet must be the oracle address specified in the escrow:
nla wallet:show
2a. Arbitrate a specific escrow
To review fulfillments for a known escrow UID:
# Interactive mode - prompts for approve/reject
nla escrow:arbitrate --escrow-uid <uid>
# Auto mode - uses the LLM specified in the escrow's demand
nla escrow:arbitrate --escrow-uid <uid> --auto
2b. Scan for all pending requests
To find all unarbitrated fulfillments where the user is the oracle:
# Interactive mode
nla escrow:arbitrate --escrow-uid all
# Auto mode
nla escrow:arbitrate --escrow-uid all --auto
3. Review and decide
In interactive mode, the command displays each pending fulfillment with:
- Escrow UID and fulfillment UID
- The demand text
- The fulfillment text
- The arbitration provider/model specified
Then prompts for a decision: approve, reject, or skip.
In auto mode (--auto), the command uses the LLM provider/model specified in the escrow's demand to arbitrate automatically. Requires at least one LLM API key via environment variables or flags (--openai-api-key, --anthropic-api-key, --openrouter-api-key).
4. Verify
After arbitration, check the result:
nla escrow:status --escrow-uid <escrow_uid>
Key details
- The user's wallet address MUST match the oracle address in the escrow - otherwise the on-chain contract rejects the decision
- Each arbitration decision is recorded as a permanent on-chain attestation
- In interactive mode, type
skiporsto skip a fulfillment without deciding - Auto mode reads LLM API keys from environment variables (OPENAI_API_KEY, etc.) or CLI flags
- If no pending requests are found, the command explains possible reasons (no fulfillments yet, already arbitrated, or wrong oracle address)
Prerequisites
nlaCLI installed and configured- Private key set via
nla wallet:set,--private-keyflag, orPRIVATE_KEYenv var - ETH in the oracle's account for gas (submitting decisions costs gas)
- For auto mode: at least one LLM provider API key
Examples
# Scan for all pending requests, decide interactively
nla escrow:arbitrate --escrow-uid all
# Auto-arbitrate a specific escrow using LLM
nla escrow:arbitrate --escrow-uid 0xabc123... --auto
# Auto-arbitrate all pending, with explicit API key
nla escrow:arbitrate --escrow-uid all --auto --openai-api-key sk-...
常见问题
智能体如何知道我是正确的预言机?
它会把你的钱包地址与托管上设置的预言机地址进行比对。
我可以只审核一个托管,而不是扫描全部吗?
可以。你可以提供特定的托管 ID,或要求查看所有待处理的请求。
自动模式会做什么?
它会使用托管中指定的 AI 模型来做出决定。
详情
作者的原始描述
Manually arbitrate NLA escrow fulfillments as an alternative to the automated oracle. Use when the user wants to review pending arbitration requests, evaluate demands against fulfillments, and submit on-chain decisions. Supports both interactive and LLM-auto modes.
热度
- GitHub 星标
- 7.0k
- 排名
- #13614
- 许可证
- —
- 更新时间
- 2026/10/26
评论
- …
同一仓库的更多技能
internet-court
7.0k帮你的智能体安全地向其他 AI 智能体或付费服务付款、雇用或进行交易,并指引它找到合适的专业指南。
genlayer-erc7710-connector
7.0k帮你的智能体把 AI 审核结果与权限系统连接起来,使不合格的审核可以限制或取消智能体的权限。
genlayer-intelligent-contracts
7.0k帮你的智能体定义 AI 裁判的规则、证据和输出,用于检查另一个智能体是否遵循了其授权范围。
x402-erc7710
7.0k帮你的智能体按次为网络服务付款,并设置在权限预算范围内的持续支出。