nla-create
Skill này làm gì
Skill này giúp bạn khóa token trong một escrow trên chuỗi với một điều kiện viết bằng ngôn ngữ tự nhiên. Sau đó một oracle AI quyết định liệu bản nộp có đáp ứng điều kiện đó hay không.
Khi nào nên dùng
- ✓Khi bạn muốn khóa token cho đến khi ai đó đáp ứng một điều kiện bạn mô tả bằng lời.
- ✓Khi bạn cần giúp viết một yêu cầu rõ ràng cho escrow.
- ✓Khi bạn muốn chọn nhà cung cấp hoặc mô hình AI sẽ thẩm định công việc.
Liên kết skill
https://github.com/internet-court/internet-court-skill/blob/main/vendored/arkhai/nla-create/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi muốn khóa token trong một escrow sẽ giải ngân khi ai đó viết một đánh giá sản phẩm rõ ràng.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent hỏi yêu cầu, số lượng token, địa chỉ token và địa chỉ oracle, rồi chạy công cụ dòng lệnh nla để tạo escrow. Nó có thể kiểm tra mạng và ví trước. Một mô hình AI đánh giá kết quả theo yêu cầu bằng văn bản.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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"
Câu hỏi thường gặp
Làm sao để viết một yêu cầu tốt?
Hãy làm nó rõ ràng và cụ thể, để oracle AI có thể đánh giá kết quả mà không phải đoán.
Những nhà cung cấp AI nào có thể thẩm định escrow?
OpenAI, Anthropic và OpenRouter được liệt kê, với OpenAI là mặc định.
Số tiền có bao gồm số thập phân không?
Không có chuyển đổi nào được thực hiện. Bạn phải nhập số tiền theo đơn vị nhỏ nhất của token.
Chi tiết
Mô tả gốc của tác giả
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.
Độ phổ biến
- Sao GitHub
- 7.0k
- Vị trí xếp hạng
- #13615
- Giấy phép
- —
- Cập nhật
- 26/10/2026
Bình luận
- …
Thêm skill từ kho mã này
internet-court
7.0kGiúp agent của bạn thanh toán, thuê hoặc giao dịch an toàn với một agent AI khác hoặc dịch vụ trả phí, và chỉ đến hướng dẫn chuyên sâu phù hợp.
genlayer-erc7710-connector
7.0kGiúp agent của bạn kết nối kết quả đánh giá AI với hệ thống quyền hạn, để một đánh giá xấu có thể hạn chế hoặc hủy quyền của agent.
genlayer-intelligent-contracts
7.0kGiúp agent của bạn xác định quy tắc, bằng chứng và đầu ra của một AI judge kiểm tra xem agent khác có làm đúng nhiệm vụ được ủy quyền hay không.
x402-erc7710
7.0kGiúp agent của bạn trả tiền cho dịch vụ web theo từng yêu cầu, và thiết lập chi tiêu định kỳ nằm trong ngân sách quyền hạn.
Skill tương tự
api-connector-builder
280kGiúp agent của bạn xây dựng kết nối API mới theo đúng mẫu đã có, dùng khi bạn cần thêm một tích hợp mà không tạo cách làm mới.
api-design
280kGiúp agent của bạn thiết kế REST API theo các thực hành tốt nhất, hữu ích để định nghĩa cách API giao tiếp, hiển thị lỗi và tổ chức dữ liệu.
backend-patterns
280kGiúp agent của bạn với các mẫu kiến trúc phía máy chủ và tối ưu cơ sở dữ liệu, hữu ích khi xây dựng hoặc rà soát code chạy trên máy chủ.