본문으로 건너뛰기
Skillpedia
에이전트7.0k · #13599

genlayer-intelligent-contracts

하는 일

이 스킬은 GenLayer 기반 AI 검토를 설계하는 데 쓰입니다. 이 검토에서 컨트랙트는 에이전트의 행동이 소유자의 지시와 맞는지 판단합니다. 규칙, 수집할 증거, 결정 형식을 다루며, 실제 코딩 작업은 공식 GenLayer 스킬이 맡습니다.

사용하는 경우

  • ✓다른 에이전트가 지시를 따랐는지 확인하는 AI 심판을 원할 때.
  • ✓에이전트 성과 검토를 위한 채점 규칙과 증거를 정해야 할 때.
  • ✓결과가 권한 시스템에 전달될 검토를 준비할 때.

스킬 링크

https://github.com/internet-court/internet-court-skill/blob/main/integrations/genlayer-intelligent-contracts/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/internet-court/internet-court-skill/blob/main/integrations/genlayer-intelligent-contracts/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 에이전트가 지시와 영수증의 범위 안에서 행동했는지 확인하는 AI 심판을 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 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

  1. Extract the review target:
    • Objective, allowed authority, prohibited behavior, expected outputs, review cadence, evidence sources, and revocation triggers.
  2. Draft a rubric:
    • Include relevance, mandate compliance, transaction safety, budget discipline, artifact quality, evidence completeness, and user-value criteria.
  3. Define evidence schema:
    • Use structured action receipts, transaction hashes, deployed addresses, agent rationales, output artifacts, costs, and prior warnings.
  4. Define decisions:
    • continue, warn, constrain, revoke, and optionally escalate.
  5. Define effect path:
    • For ERC-7710, load ../genlayer-erc7710-connector/SKILL.md to specify how a revoke or constrain decision reaches the EVM revocation controller or delegation manager.
  6. 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/.

repo: internet-court/internet-court-skill

인기도

GitHub 스타
7.0k
순위
#13599
라이선스
—
업데이트
2026. 10. 26.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬