intelligent-oracle
Fungsinya
Skill ini memungkinkan agent membangun pasar prediksi ya atau tidak di GenLayer, di mana validator AI menyelesaikan hasilnya dengan bukti web publik. Skill ini mencakup penulisan pengaturan pasar, deployment melalui kontrak pabrik publik, dan pemeriksaan status pasar.
Kapan dipakai
- โSaat Anda ingin membuat pasar prediksi ya atau tidak yang diselesaikan dari sumber web publik.
- โKetika Anda ingin agent men-deploy pasar tanpa membuka aplikasi web.
- โKetika Anda perlu memeriksa apakah pasar sudah terselesaikan atau gagal.
Link skill
https://github.com/internet-court/internet-court-skill/blob/main/vendored/intelligent-oracle/intelligent-oracle/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
โSaya ingin pasar prediksi ya atau tidak yang diselesaikan dari hasil di sebuah situs web publik.โ
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent mengubah ide Anda menjadi dua hasil dan satu atau lebih aturan penyelesaian, lalu memeriksa pengaturan terhadap format yang ketat. Agent men-deploy pasar melalui kontrak pabrik publik, membaca kontrak baru untuk memastikan detailnya sesuai, dan memantau statusnya sampai terselesaikan atau muncul error. Secara default, agent memakai GenLayer Studio.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Apakah men-deploy memerlukan biaya?
Skill ini menyatakan jaringan default, GenLayer Studio, bisa dipakai gratis dan tidak memerlukan kunci yang didanai.
Bagaimana agent memastikan pasar sudah diatur dengan benar?
Agent membaca kontrak baru dan membandingkan judul, hasil, dan tanggal penyelesaiannya dengan yang dikirim.
Apa yang menjadi dasar penyelesaian pasar?
Pasar diselesaikan berdasarkan bukti web publik yang diperiksa validator AI hingga mencapai konsensus.
Detail
Deskripsi asli dari pembuat
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.
Popularitas
- Bintang GitHub
- 7.0k
- Peringkat
- #13632
- Lisensi
- โ
- Diperbarui
- 26/10/2026
Komentar
- โฆ
Skill lain dari repositori ini
internet-court
7.0kMembantu agent Anda membayar, menyewa, atau bertransaksi dengan aman bersama agent AI lain atau layanan berbayar, dan mengarahkannya ke panduan khusus yang tepat.
genlayer-erc7710-connector
7.0kMembantu agent Anda menghubungkan hasil tinjauan AI ke sistem izin, sehingga tinjauan yang buruk dapat membatasi atau mencabut izin agent.
genlayer-intelligent-contracts
7.0kMembantu agent Anda menentukan aturan, bukti, dan keluaran dari hakim AI yang memeriksa apakah agent lain mengikuti mandatnya.
x402-erc7710
7.0kMembantu agent Anda membayar layanan web per permintaan, dan mengatur pengeluaran berkelanjutan yang tetap dalam anggaran izin.
Skill serupa
api-connector-builder
280kMembuat agent Anda membangun koneksi API baru mengikuti pola yang sudah ada. Gunakan saat ingin menambah integrasi lagi tanpa membuat cara baru.
api-design
280kMembantu agent Anda merancang REST API sesuai praktik terbaik. Berguna untuk mengatur cara API berkomunikasi, menampilkan error, dan mengorganisasi data.
backend-patterns
280kMembantu agent Anda dengan pola arsitektur sisi server dan optimasi database. Berguna untuk membangun atau meninjau kode yang berjalan di server.