intelligent-oracle
하는 일
이 스킬은 에이전트가 GenLayer에서 예/아니요 예측 시장을 만들도록 합니다. AI 검증자들이 공개 웹 증거로 결과를 정산합니다. 시장 설정을 작성하고, 공개 팩토리 컨트랙트로 배포하며, 시장 상태를 확인하는 과정을 다룹니다.
사용하는 경우
- ✓공개 웹 자료로 정산되는 예/아니요 예측 시장을 만들고 싶을 때.
- ✓웹 앱을 열지 않고 에이전트가 시장을 배포하게 하고 싶을 때.
- ✓시장이 정산되었는지 또는 실패했는지 확인해야 할 때.
스킬 링크
https://github.com/internet-court/internet-court-skill/blob/main/vendored/intelligent-oracle/intelligent-oracle/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“공개 웹사이트의 결과로 정산되는 예/아니요 예측 시장을 만들어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 여러분의 아이디어를 두 가지 결과와 하나 이상의 정산 규칙으로 바꾸고, 엄격한 형식에 맞춰 설정을 확인합니다. 공개 팩토리 컨트랙트를 통해 시장을 배포하고, 새 컨트랙트를 읽어 세부 정보가 맞는지 확인하며, 정산되거나 오류가 날 때까지 상태를 지켜봅니다. 기본값은 GenLayer Studio입니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Intelligent Oracle
An Intelligent Oracle is a GenLayer prediction-market contract whose outcome is settled by LLM-driven validators reaching consensus over public web evidence. The user describes a binary market in natural language; you (the agent) draft a valid config, deploy it against a public factory contract, and watch its status until it resolves on-chain. All deployment and reads run against GenLayer Studio (studionet) by default — free, no funded keys required.
Workflow
- Design — turn the user's idea into a binary market with two outcomes, one or more resolution rules, and a verified source domain (or a fixed URL).
- Validate — confirm the config matches the strict schema below.
- Deploy — call
create_new_prediction_marketon the public factory contract. This is the parent transaction. - Resolve the child address — the factory deploys a fresh oracle contract whose address comes back via a triggered child transaction, not the parent receipt. You must poll for the child tx.
- Verify — read
get_dict()on the new oracle address immediately. Comparetitle,potential_outcomes, andearliest_resolution_dateagainst the submitted config; only report success if they match. - Monitor — read
get_status()periodically. When status is"Resolved"or"Error", settlement is final.
Network and factory address
Before deploying, fetch the current network pointer from this site:
GET https://intelligentoracle.com/oracle-meta.json
Shape:
{
"factoryAddress": "0x...",
"rpcUrl": "https://studio.genlayer.com/api",
"chain": "studionet",
"updatedAt": "YYYY-MM-DD"
}
If unreachable, default to rpcUrl: "https://studio.genlayer.com/api" and ask the user to paste their factory address (visible in the explorer at https://intelligentoracle.com/explorer).
The oracle config
Eight fields, strictly validated. The deployment call passes them in this exact order.
| field | type | rule |
|---|---|---|
predictionMarketId |
string |
Default "0". Free-form. |
title |
string |
Non-empty. Concise market title. |
description |
string |
Non-empty. One-paragraph resolution summary. |
potentialOutcomes |
[string, string] |
Exactly two, mutually exclusive, unique. Use ["Yes", "No"] whenever the question is binary. |
rules |
string[] |
One or more non-empty plain-English rules. |
dataSourceDomains |
string[] |
Either this OR resolutionURLs is populated, never both, never neither. Bare domains only (espn.com, not https://www.espn.com/...). |
resolutionURLs |
string[] |
Fixed URLs. Use only when the user explicitly provides URLs that don't change. |
earliestResolutionDate |
"YYYY-MM-DD" |
Strictly after today. |
Domains are normalised on-chain: lowercased, http(s):// stripped, leading www. stripped. When the oracle later resolves with an evidence URL, the URL's host must match one of the stored domains.
Behavioral contract when guiding the user
This is the same prompt the hosted assistant runs on. Follow it verbatim — these rules are what make the drafts good.
Absolute rule — text before any draft. Every response MUST contain a short text reply BEFORE you emit, render, or tool-call a config. The user does not see structured payloads; they only see your text. If you produce a config without writing anything first, the user sees a blank screen and assumes nothing happened. Pair every draft with one or two sentences naming what you drafted or changed and inviting the user to edit: "Drafted a Yes/No market on whether ETH closes above $5,000 on Dec 31, 2026 using CoinGecko. Tweak any field."
Required fields you must populate:
title— concise market title.description— a clear summary of what will be resolved.potentialOutcomes— exactly two mutually exclusive outcomes. Never produce more than two.rules— one or more natural-language resolution rules.dataSourceDomainsorresolutionURLs— exactly one. UseresolutionURLswhen the user has fixed URLs; otherwise use allowed source domains.earliestResolutionDate—YYYY-MM-DD, strictly after today.
Behavior:
- Draft on the first turn whenever a topic is supplied. Use sensible defaults for any missing field rather than asking. The user can edit afterwards.
- Extract first. Ask only when a required field is genuinely missing AND no reasonable default exists AND the value would change s
자주 묻는 질문
배포하는 데 비용이 드나요?
스킬은 기본 네트워크인 GenLayer Studio는 무료로 쓸 수 있고 자금이 든 키가 필요 없다고 말합니다.
에이전트는 시장이 올바르게 설정되었는지 어떻게 확인하나요?
새 컨트랙트를 읽고, 제출한 제목, 결과, 정산 날짜를 비교합니다.
시장은 무엇을 기준으로 정산되나요?
AI 검증자들이 합의에 이를 때까지 확인하는 공개 웹 증거로 정산됩니다.
상세 정보
작성자의 원본 설명
Design, deploy, and monitor a GenLayer Intelligent Oracle prediction market from any coding agent. Use when a user wants to create a settled-by-web-evidence prediction market without opening the web UI.
인기도
- GitHub 스타
- 7.0k
- 순위
- #13632
- 라이선스
- —
- 업데이트
- 2026. 10. 26.
댓글
- …
이 저장소의 다른 스킬
internet-court
7.0k에이전트가 다른 AI 에이전트나 유료 서비스와 안전하게 결제하거나 거래하도록 돕고, 적합한 전문 가이드를 알려 줍니다.
genlayer-erc7710-connector
7.0k에이전트가 GenLayer 검토 결과를 권한 시스템에 연결하도록 돕습니다. 나쁜 검토는 에이전트의 권한을 제한하거나 취소할 수 있습니다.
genlayer-intelligent-contracts
7.0k에이전트가 다른 에이전트가 위임받은 범위를 지켰는지 확인하는 AI 심판의 규칙, 증거, 결과를 정하도록 돕습니다.
x402-erc7710
7.0k에이전트가 웹 서비스 요금을 요청 한 건마다 결제하고, 권한 예산 안에서 지속적인 지출을 설정하도록 돕습니다.
비슷한 스킬
api-connector-builder
280k에이전트가 기존 패턴을 따라 새로운 API 연결을 만들도록 합니다. 새로운 방식을 도입하지 않고 연동을 하나 더 추가할 때 씁니다.
api-design
280k에이전트가 모범 사례에 따라 REST API를 설계하도록 돕습니다. API가 통신하는 방식, 오류를 보여 주는 방식, 데이터를 정리하는 방식을 정하는 데 유용합니다.
backend-patterns
280k에이전트가 서버 쪽 아키텍처 패턴과 데이터베이스 최적화를 다루도록 돕습니다. 서버에서 실행되는 코드를 만들거나 검토할 때 유용합니다.