nla-create
ما الذي تفعله
تساعدك هذه المهارة على قفل الرموز في ضمان على السلسلة مع شرط بلغة بسيطة. يحكم أوراكل بالذكاء الاصطناعي لاحقًا فيما إذا كان التنفيذ المُرسل يستوفي ذلك الشرط.
متى تستخدمها
- ✓عندما تريد قفل الرموز إلى أن يستوفي أحد شرطًا تصفه بالكلمات.
- ✓عندما تحتاج إلى مساعدة في كتابة مطلب واضح للضمان.
- ✓عندما تريد اختيار مزود أو نموذج الذكاء الاصطناعي الذي سيحكم في العمل.
رابط المهارة
https://github.com/internet-court/internet-court-skill/blob/main/vendored/arkhai/nla-create/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أريد قفل رموز في ضمان يُفرج عنها عندما يكتب أحد مراجعة منتج واضحة.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يسأل الوكيل عن المطلب ومبلغ الرموز وعنوان الرمز وعنوان الأوراكل، ثم يشغّل أداة nla لإنشاء الضمان. ويمكنه أن يتحقق من الشبكة والمحفظة أولًا. ويحكم نموذج ذكاء اصطناعي في النتيجة وفق المطلب المكتوب.
المحتوى التقني (ملف 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"
الأسئلة الشائعة
كيف أكتب مطلبًا جيدًا؟
اجعله واضحًا ومحددًا، حتى يحكم الأوراكل بالذكاء الاصطناعي في النتيجة دون تخمين.
أي مزودي الذكاء الاصطناعي يستطيعون الحكم في الضمان؟
تُذكر 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
- الترخيص
- —
- آخر تحديث
- 26/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
internet-court
7.0kيساعد وكيلك على الدفع لوكيل ذكاء اصطناعي آخر أو لخدمة مدفوعة، أو التعامل معهما بأمان، ويوجهه إلى الدليل المتخصص المناسب.
genlayer-erc7710-connector
7.0kيساعد وكيلك على ربط نتيجة مراجعة الذكاء الاصطناعي بنظام الصلاحيات، بحيث يمكن لمراجعة سيئة أن تقيّد صلاحيات الوكيل أو تلغيها.
genlayer-intelligent-contracts
7.0kيساعد وكيلك على تحديد قواعد وأدلة ومخرجات قاضٍ بالذكاء الاصطناعي يتحقق مما إذا كان وكيل آخر التزم بتفويضه.
x402-erc7710
7.0kيساعد وكيلك على الدفع مقابل خدمات الويب طلبًا تلو الآخر، وعلى إعداد إنفاق مستمر يبقى ضمن ميزانية الصلاحيات.
مهارات مشابهة
api-connector-builder
280kيبني وكيلك اتصالات API جديدة على النمط الموجود، ويفيد عندما تحتاج إلى تكامل إضافي دون ابتكار طريقة جديدة للعمل.
api-design
280kيساعد وكيلك على تصميم واجهات REST API وفق أفضل الممارسات، ويوضح كيف تتواصل وكيف تُعرض الأخطاء وكيف تُنظَّم البيانات.
backend-patterns
280kيساعد وكيلك على أنماط بنية الخادم وتحسين قاعدة البيانات، ويفيد في بناء الشيفرة التي تعمل على الخادم أو مراجعتها.