genlayer-intelligent-contracts
यह क्या करती है
यह स्किल GenLayer पर बनी AI समीक्षा की योजना के लिए है, जहाँ एक कॉन्ट्रैक्ट जाँचता है कि किसी एजेंट के कदम मालिक के निर्देशों से मेल खाते हैं या नहीं। यह नियम, इकट्ठा किए जाने वाले सबूत और फ़ैसले का प्रारूप तय करती है, जबकि कोडिंग का काम आधिकारिक GenLayer स्किल संभालती हैं।
कब इस्तेमाल करें
- ✓जब आप चाहते हों कि एक AI जज जाँचे कि दूसरा एजेंट अपने निर्देशों के भीतर रहा या नहीं।
- ✓जब आपको एजेंट के प्रदर्शन की समीक्षा के लिए स्कोरिंग नियम और सबूत तय करने हों।
- ✓जब आप ऐसी समीक्षा तैयार कर रहे हों जिसके नतीजे अनुमति प्रणाली को भेजे जाएँगे।
Skill का लिंक
https://github.com/internet-court/internet-court-skill/blob/main/integrations/genlayer-intelligent-contracts/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मुझे एक AI जज चाहिए जो जाँचे कि मेरा एजेंट अपने निर्देशों और रसीदों के दायरे में रहा या नहीं।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल बताती है कि समीक्षा कॉन्ट्रैक्ट को क्या देखना चाहिए, जैसे मालिक का अधिकार-पत्र, एजेंट का कार्य लॉग, लेन-देन की रसीदें और आउटपुट। यह संभावित फ़ैसले तय करती है, जो हैं: जारी रखें, चेतावनी दें, सीमित करें, रद्द करें या उच्च स्तर पर भेजें, और निर्माण के काम के लिए 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
कमेंट
- …
इस repository की और skills
internet-court
7.0kयह आपके एजेंट को AI एजेंट या पेड सेवा से सुरक्षित तरीके से भुगतान और लेन-देन की शुरुआती दिशा देती है, और सही विशेष गाइड बताती है।
genlayer-erc7710-connector
7.0kयह आपके एजेंट को AI समीक्षा के नतीजे को अनुमति प्रणाली से जोड़ने देती है, ताकि खराब समीक्षा एजेंट की अनुमतियाँ सीमित कर सके।
x402-erc7710
7.0kयह आपके एजेंट को हर अनुरोध पर वेब सेवा का भुगतान करने और तय सीमा के भीतर लगातार खर्च करने की व्यवस्था में मदद करती है।
0g-compute
7.0kयह आपके एजेंट को 0G विकेंद्रीकृत GPU नेटवर्क पर चैटबॉट, इमेज टूल और स्पीच फ़ीचर बनाना सिखाती है, परखे हुए कोड पैटर्न के साथ।
मिलती-जुलती skills
add-model-provider
394kयह आपके एजेंट को सुरक्षित कमांड से OpenClaw में नया AI मॉडल प्रोवाइडर जोड़ने, API कीज़ को सादे टेक्स्ट से बचाने और लाइव टेस्ट चलाने देती है।
acp-router
394kयह आपके एजेंट को OpenClaw के ज़रिए Claude Code या Cursor जैसे कोडिंग असिस्टेंट को काम भेजने देती है, ताकि काम उसी टूल में चले।
browser-automation
394kयह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।