genlayer-intelligent-contracts
ما الذي تفعله
هذه المهارة لتخطيط مراجعة بالذكاء الاصطناعي مبنية على GenLayer، يحكم فيها عقد على ما إذا كانت أفعال الوكيل تطابق تعليمات المالك. وتغطي القواعد والأدلة الواجب جمعها وصيغة القرار، بينما تتولى المهارات الرسمية لـ GenLayer أعمال البرمجة.
متى تستخدمها
- ✓عندما تريد قاضيًا بالذكاء الاصطناعي يتحقق من أن وكيلًا التزم بتعليماته.
- ✓عندما تحتاج إلى تحديد قواعد التقييم والأدلة لمراجعة أداء وكيل.
- ✓عندما تُعد مراجعة ستغذي نظام صلاحيات بنتائجها.
رابط المهارة
https://github.com/internet-court/internet-court-skill/blob/main/integrations/genlayer-intelligent-contracts/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أريد قاضيًا بالذكاء الاصطناعي يتحقق من أن وكيلي بقي ضمن تعليماته وإيصالاته.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تساعد المهارة في تحديد ما يجب أن ينظر إليه عقد المراجعة، مثل تفويض المالك وسجل أفعال الوكيل وإيصالات المعاملات ومخرجاته. وتحدد القرارات الممكنة، وهي: متابعة، أو تحذير، أو تقييد، أو إلغاء، أو تصعيد، وتحيل إلى أدوات GenLayer الرسمية لأعمال البناء.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
GenLayer Intelligent Contracts
Use this adapter when GenLayer is the judgment layer for agent behavior. It should define what the supervisor contract must review and emit: the user's mandate, the agent's action log, transaction receipts, rationales, artifacts, outputs, and the decision about whether authority should continue, be warned, be constrained, or be revoked.
This skill is not the Intelligent Oracle skill. Intelligent Oracle is for binary public web evidence markets. Use this skill for open-ended review of performance, relevance, quality, safety, and mandate compliance.
This skill is also not the GenLayer deployment skill. For writing, deploying, testing, and interacting with GenLayer Intelligent Contracts, use the official GenLayer skills at https://skills.genlayer.com/ or the GenLayer docs. If those skills are available in the environment, load them for implementation. If not, tell the user to install/enable them and keep this skill focused on Internet Court interfaces.
Core Model
Mandate + rubric + evidence
-> Agent executes transactions
-> Receipts and outputs are submitted
-> GenLayer Intelligent Contract reviews behavior
-> Decision: continue, warn, constrain, revoke, or escalate
-> Internet Court / revocation controller executes the workflow result
GenLayer can judge qualitative criteria. It does not automatically revoke an EVM delegation unless the system includes a concrete cross-chain message, relayer, controller, or account module that consumes the GenLayer decision.
Workflow
- Extract the review target:
- Objective, allowed authority, prohibited behavior, expected outputs, review cadence, evidence sources, and revocation triggers.
- Draft a rubric:
- Include relevance, mandate compliance, transaction safety, budget discipline, artifact quality, evidence completeness, and user-value criteria.
- Define evidence schema:
- Use structured action receipts, transaction hashes, deployed addresses, agent rationales, output artifacts, costs, and prior warnings.
- Define decisions:
continue,warn,constrain,revoke, and optionallyescalate.
- Define effect path:
- For ERC-7710, load
../genlayer-erc7710-connector/SKILL.mdto specify how arevokeorconstraindecision reaches the EVM revocation controller or delegation manager.
- For ERC-7710, load
- Add auditability:
- Store the reviewed action ids, score, reasoning summary, decision timestamp, and next review requirements.
Review Input
Use this as the default review request shape:
type AgentPerformanceReviewInput = {
mandateId: string;
objective: string;
authoritySummary: string;
prohibitedActions: string[];
rubric: string[];
reviewWindow: {
startsAt: string;
endsAt: string;
};
actionReceipts: AgentActionReceipt[];
outputs: Array<{
artifactId: string;
uri: string;
summary: string;
}>;
costs: {
txCount: number;
nativeGasSpent: string;
tokenSpent?: string;
};
priorDecisions: AgentReviewDecision[];
};
For wallet-spend supervision, include an on-chain spend snapshot in each review window:
type WalletSpendSnapshot = {
mandateId: string;
permissionHash: `0x${string}`;
sourceChainId: 84532;
spendReporter: `0x${string}`;
actionType: `0x${string}`;
policyHash: `0x${string}`;
resourceHash: `0x${string}`;
delegator: `0x${string}`;
delegate: `0x${string}`;
asset: `0x${string}`;
payTo: `0x${string}`;
spent: bigint;
maxTotalSpend: bigint;
maxPerRequest: bigint;
requestCount: bigint;
validAfter: number;
validUntil: number;
controllerNonce: bigint;
reviewWindowId: `0x${string}`;
evidenceBundleHash: `0x${string}`;
observedAt: number;
};
On Base Sepolia demos, prefer a reporter contract that reads spend state directly from a permission/accounting manager and sends this snapshot through the GenLayer Studio bridge boilerplate. x402 is one source; contract-call, deployment, compute-credit, or subscription managers can expose the same shape.
Decision Output
type AgentReviewDecision = {
mandateId: string;
decision: "continue" | "warn" | "constrain" | "revoke" | "escalate";
score: number;
reasoning: string;
violations: string[];
constraints?: {
maxTxsPerPeriod?: number;
maxGasPerTx?: string;
requireHumanApprovalFor?: string[];
disabledActions?: string[];
};
reviewedActionIds: string[];
issuedAt: string;
};
Use constrain when the agent is useful
الأسئلة الشائعة
هل هي نفس مهارة Intelligent Oracle؟
لا. Intelligent Oracle مخصصة للأسئلة ذات الإجابة بنعم أو لا استنادًا إلى أدلة عامة من الويب. أما هذه المهارة فمخصصة لمراجعات مفتوحة للسلوك.
هل تستطيع هذه المهارة نشر عقد GenLayer؟
لا. تشرح ما يجب أن يفحصه العقد، وتوضح أن استخدام مهارات GenLayer الرسمية هو المطلوب للبناء والنشر.
ما القرارات التي يمكن أن تعيدها المراجعة؟
يمكن أن تعيد متابعة، أو تحذيرًا، أو تقييدًا، أو إلغاءً، أو تصعيدًا، بحسب ما تُظهره الأدلة.
التفاصيل
الوصف الأصلي من المؤلف
Internet Court adapter for GenLayer Intelligent Contract supervision. Use to specify agent-performance rubrics, evidence schemas, decision outputs, and ERC-7710 connector expectations, while delegating actual GenLayer contract writing, linting, testing, deployment, and CLI interaction to the official GenLayer skills at https://skills.genlayer.com/.
الشعبية
- نجوم GitHub
- 7.0k
- الترتيب
- #13599
- الترخيص
- —
- آخر تحديث
- 26/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
internet-court
7.0kيساعد وكيلك على الدفع لوكيل ذكاء اصطناعي آخر أو لخدمة مدفوعة، أو التعامل معهما بأمان، ويوجهه إلى الدليل المتخصص المناسب.
genlayer-erc7710-connector
7.0kيساعد وكيلك على ربط نتيجة مراجعة الذكاء الاصطناعي بنظام الصلاحيات، بحيث يمكن لمراجعة سيئة أن تقيّد صلاحيات الوكيل أو تلغيها.
x402-erc7710
7.0kيساعد وكيلك على الدفع مقابل خدمات الويب طلبًا تلو الآخر، وعلى إعداد إنفاق مستمر يبقى ضمن ميزانية الصلاحيات.
0g-compute
7.0kيعلّم وكيلك بناء روبوتات محادثة وأدوات صور وميزات كلام على شبكة 0G اللامركزية لوحدات GPU، باستخدام أنماط برمجية مجربة.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.