Kleros curate

From internet-court/internet-court-skill · View interactive version

Kleros curate is an AI agent skill from the GitHub repository internet-court/internet-court-skill. Interact with Kleros Curate registries across Ethereum Mainnet, Gnosis Chain, and Sepolia. Use when the user mentions Curate, Light Curate/LightGeneralizedTCR/LGTCR, Stake Curate/PermanentGTCR/PGTCR, Scout, token-curated registry/TCR, token lists, address/CDN tags, Goldsky, MetaEvidence, Verify Your

How to use this skill

Skill file

Kleros Curate

Kleros Curate is a decentralized verification system for exclusive, policy-driven registries. Registries are

governed by a policy document stored on IPFS — every submission is judged against that policy, and jurors

consult it if a dispute arises.

The deposit/challenge/arbitration cycle:

  1. A submitter proposes an item and locks a submission deposit as a pledge that the item complies with the

registry policy.

  1. The item enters a challenge window (configurable per registry, typically days to weeks). Anyone can review

submissions during this window.

  1. If nobody challenges within the window, the item is accepted and the submitter's deposit is returned in

full — compliant submissions carry no permanent inclusion cost.

  1. If a challenger believes the submission violates the policy, they lock a challenge deposit and open a

Kleros dispute. Impartial Kleros jurors read the policy and render a verdict.

  1. The winner captures the loser's deposit as a bounty. The two-sided stake mechanism rewards accuracy and

discourages frivolous challenges in both directions.

Why use Curate:

Stake Curate especially, successful challengers can recover their challenge deposit and win the item's stake.

standard, define their own policy, deposits, challenge windows, arbitrator/court, and governance. The result

is a fast, low-overhead registry that can power a public Curate view or a custom frontend.

Why onchain-first matters:

Deposit amounts, arbitration costs, MetaEvidence URIs, and challenge windows are all live onchain state —

they change when registry governors update parameters. Any cached or estimated value is a liability: an agent

that submits the wrong deposit amount will have its transaction revert. Always read live values before acting.

Three contract flavors:

widely deployed flavor. Used by the majority of Curate registries across Ethereum, Gnosis, and Sepolia.

Goldsky subgraph as primary data source, different status model (Submitted / Reincluded / Disputed / Absent

token lists, address tags, CDN mappings). Scout IS an overlay on LGTCR — it is not a separate contract

type. Working with Scout always requires both references/scout-registries.md (Scout-specific context)

and references/light-curate.md (LGTCR contract operations).

Non-negotiables

These rules apply across all Curate flavors. They are always in context; reference files may not repeat them.

explicitly accepts the review and compatibility risk.

Which Curate flavor are you using?

Step 1 — Keyword scan (zero cost)

registry discoverable

→ Verification target is Light Curate (LGTCR) on all three supported networks

→ Read references/verify-your-list.md AND references/light-curate.md; do not ask the generic flavor

question for the verification target. Detect the flavor of the registry being listed separately only when

the live verification policy makes it relevant.

→ Scout (overlay on Light Curate — LGTCR contracts on Gnosis)

→ Read references/scout-registries.md AND references/light-curate.md (both required; Scout adds context on top of LGTCR operations)

→ Stake Curate (PGTCR)

→ Read references/stake-curate.md

→ Light Curate (LGTCR) (also the default)

→ Read references/light-curate.md

Step 2 — Ambiguous ("Curate" with no flavor hint)

Step 3 — Contract-type verification (if address provided)

See the flavor reference file for hallmark calls — SKILL.md does not embed function signatures here (contract-type detection belongs in each flavor's reference file).

Action index

Submit item to a registry → references/light-curate.md (LGTCR) or references/stake-curate.md (PGTCR)

Challenge / remove an item → flavor reference file

Submit evidence → flavor reference file

Fund an appeal → flavor reference file

Deploy a new registry (factory) → flavor reference file (factory section)

Fetch MetaEvidence (policy + schema) → references/shared-metaevidence.md

Compute deposits → references/shared-deposits.md

Build item.json → references/shared-item-json.md

Verify / make a deployed list visible on the Curate frontend -> references/verify-your-list.md

Upload to IPFS → references/shared-ipfs-upload.md

ABI / function signatures → references/shared-abi-fragments.md

grep: grep -n "function\|event" references/shared-abi-fragments.md

Scout registry addresses + seed templates → references/scout-registries.md

grep: grep -n "0x\|ATQ\|Address Tags\|Tokens\|CDN" references/scout-registries.md

Common workflows

Submit an item (any flavor):

  1. references/shared-metaevidence.md — fetch schema (columns) and policy URI
  2. references/shared-item-json.md — build the item.json payload
  3. references/shared-ipfs-upload.md — upload item.json to IPFS, get CID
  4. references/shared-deposits.md — compute exact msg.value
  5. Flavor reference (light-curate.md or stake-curate.md) — send the addItem transaction

Challenge or remove an item:

  1. references/shared-metaevidence.md — fetch the applicable policy (clearing policy for removal; registration policy for challenge)
  2. references/shared-ipfs-upload.md — upload evidence JSON to IPFS
  3. references/shared-deposits.md — compute the challenge deposit
  4. Flavor reference — send the challenge or removeItem transaction

Deploy a new registry:

  1. references/shared-metaevidence.md - prepare valid MetaEvidence JSON (policy URI + column schema + logoURI)
  2. references/shared-ipfs-upload.md — upload MetaEvidence JSON to IPFS
  3. references/shared-abi-fragments.md - get known factory/arbitrator addresses and deploy ABI
  4. Flavor reference — call the factory deploy function
  5. references/verify-your-list.md - submit the new registry to the network's list-of-lists if frontend visibility is required

Frontend visibility after deployment:

registry for users.

when the list is intentionally stealth/private.

Use references/verify-your-list.md for the chain-specific addresses and verification safeguards, then

follow the standard LGTCR submission workflow. The registry being listed may be another Curate flavor if

the live verification policy permits it.

Reference files

These 9 files are loaded on demand — only when needed for the current task. The action index above points

to the right file for each operation. Loading an unnecessary reference file wastes context.

references/light-curate.md

Light Curate (LightGeneralizedTCR) operations end-to-end: minimum inputs to ask the user, registry

discovery via eth_getCode and hallmark reads, MetaEvidence retrieval, item.json construction, submit

item, challenge / remove item, submit evidence, fund an appeal, deploy a new registry via factory.

Read this file for any LGTCR contract interaction — and always alongside references/scout-registries.md

when working on Scout.

references/stake-curate.md

Stake Curate (PermanentGTCR) operations end-to-end: PGTCR hallmark detection (distinguishes PGTCR from

LGTCR), ERC20 approval + stake deposit flow, Goldsky subgraph as primary MetaEvidence source with onchain

fallback, PGTCR status model (Submitted / Reincluded / Disputed / Absent), item withdrawal flow, deploy

factory. Read this file for any PGTCR contract interaction.

references/scout-registries.md

Scout-specific overlay for the 4 known Gnosis registries (Tokens / Address Tags / Contract Domain Names /

CDN). Contains: the 4 registry contract addresses used for address-based routing, seed-first submission

pattern (fill from existing seed template, then submit), item.json templates per registry, image guidance,

incentives information. Always read alongside references/light-curate.md — Scout IS LGTCR at the

contract layer; this file adds Scout-only context on top.

references/verify-your-list.md

Three-network workflow for making a deployed registry visible and verified in the Curate frontend. Contains

the canonical Ethereum Mainnet, Gnosis Chain, and Sepolia LightGeneralizedTCR verification addresses,

keeps the transaction target distinct from the registry being listed, and delegates to the standard LGTCR

MetaEvidence, item.json, IPFS, deposit, simulation, and request-finalization procedures.

references/shared-metaevidence.md

Shared MetaEvidence retrieval applicable to all Curate flavors: eth_getLogs method with the correct

topic0, latest applicable MetaEvidence selection, LGTCR registration-vs-clearing classification, Goldsky

subgraph path for PGTCR, MetaEvidence JSON structure, policy URI extraction, and MetaEvidence authoring

guardrails.

Read this file before fetching MetaEvidence for any registry, regardless of flavor.

references/shared-deposits.md

Shared deposit computation covering all Curate flavors: submission deposit formula for LGTCR, challenge

deposit formula for LGTCR, PGTCR stake vs arbitration deposit distinction (ERC20 stake is separate from

the native-token arbitration cost), arbitrationCost() read pattern, msg.value assembly rule.

Read this file before computing any deposit or constructing any transaction value.

references/shared-item-json.md

Strict item.json construction rules: the columns + values schema format, verbatim-copy rule for columns

(copy from MetaEvidence without modification - values is the only dynamic part), GTCR field type allowlist,

forbidden aliases, placeholder rejection, pre-upload validation, and NewItem event sampling to verify

field order before submitting. Read this file before building any item payload for any Curate registry.

references/shared-abi-fragments.md

Shared ABI fragments for all Curate contracts: LightGeneralizedTCR read and write function signatures,

PermanentGTCR read and write function signatures, IArbitrator interface ABI, key event signatures

(MetaEvidence, ItemStatusChange, RequestSubmitted, etc.), known LightGTCRFactory addresses, and known

Kleros V1 arbitrator addresses. Use grep -n "function\|event\|address" to

navigate this file. Read when you need function selectors, calldata encoding, or event topic hashes.

references/shared-ipfs-upload.md

Shared IPFS upload guidance for Curate workflows: durability rationale (external pins can disappear after

onchain anchoring), required recommended path via the kleros-ipfs-upload skill and Kleros x402 endpoint,

/ipfs/<CID> format rule (avoid double-slash when building URLs), and explicit risk warning for any

user-approved external pinning source.

Read before any IPFS upload step inside a Curate workflow.

Feedback

Something broken or confusing in this skill? Report it: fetch feedback/SKILL.md — helps maintainers fix what agents silently trip over.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.