genlayer-intelligent-contracts
Qué hace
Esta skill sirve para planear una revisión con IA construida sobre GenLayer, en la que un contrato juzga si las acciones de un agente coinciden con las instrucciones de su dueño. Cubre las reglas, las pruebas que hay que reunir y el formato de decisión, mientras que las skills oficiales de GenLayer se encargan del trabajo de programación.
Cuándo usarla
- ✓Cuando quieres un juez de IA que compruebe si otro agente siguió sus instrucciones.
- ✓Cuando necesitas definir las reglas de puntuación y las pruebas para revisar el rendimiento de un agente.
- ✓Cuando preparas una revisión cuyos resultados alimentarán un sistema de permisos.
Link de la skill
https://github.com/internet-court/internet-court-skill/blob/main/integrations/genlayer-intelligent-contracts/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Quiero un juez de IA que compruebe si mi agente se mantuvo dentro de sus instrucciones y de sus comprobantes.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La skill ayuda a definir lo que el contrato de revisión debe examinar, como el mandato del dueño, el registro de acciones del agente, los comprobantes de transacciones y los resultados. Establece las decisiones posibles, que son continuar, advertir, limitar, revocar o escalar, y remite a las herramientas oficiales de GenLayer para la construcción.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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
Preguntas frecuentes
¿Es lo mismo que la skill Intelligent Oracle?
No. Intelligent Oracle sirve para preguntas de sí o no basadas en pruebas públicas de la web. Esta skill sirve para revisiones abiertas del comportamiento.
¿Puede esta skill desplegar un contrato de GenLayer?
No. Explica qué debe comprobar el contrato, y dice que hay que usar las skills oficiales de GenLayer para construirlo y desplegarlo.
¿Qué decisiones puede devolver la revisión?
Puede devolver continuar, advertir, limitar, revocar o escalar, según lo que muestren las pruebas.
Detalles
Descripción original del autor
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/.
Popularidad
- Estrellas en GitHub
- 7,0 mil
- Posición en el ranking
- #13599
- Licencia
- —
- Actualizada
- 26/10/2026
Comentarios
- …
Más skills de este repositorio
internet-court
7,0 milAyuda a tu agente a pagar, contratar o tratar de forma segura con otro agente de IA o con un servicio de pago, y lo dirige a la guía especializada adecuada.
genlayer-erc7710-connector
7,0 milAyuda a tu agente a conectar el resultado de una revisión de IA con un sistema de permisos, para que una mala revisión limite o cancele los permisos de un agente.
x402-erc7710
7,0 milAyuda a tu agente a pagar servicios web una solicitud a la vez, y a configurar un gasto continuo que se mantenga dentro de un presupuesto de permisos.
0g-compute
7,0 milEnseña a tu agente a crear chatbots, herramientas de imagen y funciones de voz sobre la red descentralizada de GPU 0G, usando patrones de código probados.
Skills parecidas
add-model-provider
394 milPermite que tu agente conecte un nuevo proveedor de modelos de IA a OpenClaw con comandos de configuración seguros, mantenga las claves API fuera del texto plano y haga una prueba en vivo.
acp-router
394 milAyuda a tu agente a enviar una tarea a un asistente de programación como Claude Code o Cursor a través de OpenClaw, para que el trabajo se ejecute en esa herramienta.
browser-automation
394 milEnseña a tu agente a controlar páginas web paso a paso, incluidos los inicios de sesión, las pestañas y la recuperación cuando una página deja de responder.