nla-create
できること
このスキルは、あなたが言葉で説明した条件のもとで、トークンをオンチェーンのエスクローにロックする手助けをします。その後、AIのオラクルが、提出された履行が条件を満たすかを判断します。
使う場面
- ✓誰かが、あなたが言葉で説明した条件を満たすまで、トークンをロックしたいとき。
- ✓エスクローのための、明確な要求の書き方を手伝ってほしいとき。
- ✓作業を判断するAIのプロバイダーやモデルを選びたいとき。
スキルのリンク
https://github.com/internet-court/internet-court-skill/blob/main/vendored/arkhai/nla-create/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“誰かが明確な製品レビューを書いたら解放されるエスクローに、トークンをロックしたいです。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、要求、トークンの額、トークンのアドレス、オラクルのアドレスを尋ねてから、nlaコマンドラインツールを実行してエスクローを作ります。その前に、ネットワークとウォレットを確認できます。AIモデルが、結果を書かれた要求に照らして判断します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Create NLA Escrow
Help the user create a blockchain escrow backed by a natural language demand using the nla CLI.
Overview
An NLA escrow locks ERC20 tokens on-chain. Anyone can attempt to fulfill the escrow's natural language demand. An AI oracle evaluates fulfillments and releases the tokens if the demand is satisfied.
Step-by-step instructions
1. Gather requirements
Collect the following from the user conversationally:
Required:
- Demand: The natural language condition that must be fulfilled. Help the user craft something clear and unambiguous.
- Amount: Number of tokens to escrow (in the token's smallest unit - no automatic decimal conversion).
- Token address: ERC20 token contract address (
0x...). - Oracle address: Address of the oracle that will arbitrate.
Optional:
- Arbitration provider:
OpenAI(default),Anthropic, orOpenRouter. - Arbitration model: e.g.
gpt-4o-mini(default),claude-3-5-sonnet-20241022,openai/gpt-4o. - Arbitration prompt: Custom prompt template with
{{demand}}and{{obligation}}placeholders.
2. Check prerequisites
# Verify CLI is available
which nla
# Check current network
nla network
# Check wallet is configured
nla wallet:show
If no wallet is configured, the user must either:
- Run
nla wallet:set --private-key <key> - Pass
--private-key <key>to the command - Set the
PRIVATE_KEYenvironment variable
3. Help craft the demand
Guide the user to write an effective demand:
- Be specific and evaluable by an LLM
- Consider: what counts as valid fulfillment? Is the condition verifiable?
- For claims requiring real-world knowledge, suggest models with search (Perplexity search is available if the oracle has it configured)
- The demand, provider, model, and prompt are all encoded on-chain and publicly visible - never include secrets
4. Execute escrow creation
nla escrow:create \
--demand "<demand text>" \
--amount <amount> \
--token <token_address> \
--oracle <oracle_address> \
[--arbitration-provider "<provider>"] \
[--arbitration-model "<model>"] \
[--arbitration-prompt "<prompt>"]
5. Record output
The command outputs an escrow UID (0x...). This UID is needed for fulfillment and collection. Present it clearly to the user and explain next steps.
Key details
- Available networks:
anvil(local),sepolia,base-sepolia,mainnet. Switch withnla switch <network>. - For local dev,
nla devstarts Anvil, deploys contracts, creates mock tokens, and starts the oracle. - Public demo oracle on Sepolia:
0xc5c132B69f57dAAAb75d9ebA86cab504b272Ccbc. - Default arbitration prompt:
Evaluate the fulfillment against the demand and decide whether the demand was validly fulfilled Demand: {{demand}} Fulfillment: {{obligation}}
Example
nla escrow:create \
--demand "Provide a valid proof that P != NP" \
--amount 1000000 \
--token 0xa513e6e4b8f2a923d98304ec87f64353c4d5c853 \
--oracle 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 \
--arbitration-provider "Anthropic" \
--arbitration-model "claude-3-5-sonnet-20241022"
よくある質問
良い要求はどう書けばよいですか?
AIのオラクルが推測せずに判断できるように、明確で具体的に書いてください。
どのAIプロバイダーがエスクローを判断できますか?
OpenAI、Anthropic、OpenRouterが挙げられ、既定はOpenAIです。
額には小数点が含まれますか?
変換は行われません。額はトークンの最小単位で入力する必要があります。
詳細
作者による元の説明
Create a Natural Language Agreement escrow on-chain. Use when the user wants to lock ERC20 tokens in an escrow with a natural language demand that an AI oracle will arbitrate. Handles demand crafting, parameter gathering, and CLI execution.
人気
- GitHubのスター
- 7.0k
- ランキング
- #13615
- ライセンス
- —
- 更新日
- 2026/10/26
コメント
- …
このリポジトリの他のスキル
internet-court
7.0kエージェントが、他のAIエージェントや有料サービスと安全に支払い、雇用、取引できるよう支援し、適切な専門ガイドを案内します。
genlayer-erc7710-connector
7.0kエージェントが、AIによるレビューの結果を権限の仕組みにつなぎ、悪いレビューがエージェントの権限を制限または取り消せるよう支援します。
genlayer-intelligent-contracts
7.0kエージェントが、別のエージェントが委任された範囲を守ったかを判定するAIの審査役について、ルール、証拠、出力を定義できるよう支援します。
x402-erc7710
7.0kエージェントが、リクエストごとにウェブサービスの支払いを行い、許可された予算の範囲内で継続的な支出を設定できるよう支援します。
似ているスキル
api-connector-builder
280kエージェントが既存のパターンに従って、新しいAPI連携を構築します。新しい方式を作らずに、もう一つ連携を追加したいときに使います。
api-design
280kエージェントがベストプラクティスに沿ってREST APIを設計できるようにします。APIの通信方法、エラーの表示方法、データの整理方法を決めるのに役立ちます。
backend-patterns
280kエージェントのサーバーサイドのアーキテクチャパターンとデータベースの最適化を支援します。サーバー上で動くコードを作成またはレビューするときに役立ちます。