मुख्य सामग्री पर जाएँ
Skillpedia
API और सर्वर (backend)7.0k · #13632

intelligent-oracle

यह क्या करती है

यह स्किल एजेंट को GenLayer पर हाँ-या-ना वाला प्रेडिक्शन मार्केट बनाने देती है, जहाँ AI validators सार्वजनिक वेब सबूतों से नतीजा तय करते हैं। इसमें मार्केट की सेटिंग्स लिखना, सार्वजनिक factory contract से डिप्लॉय करना, और मार्केट की स्थिति जाँचना शामिल है।

कब इस्तेमाल करें

  • ✓जब आप ऐसा हाँ-या-ना प्रेडिक्शन मार्केट बनाना चाहते हों जो सार्वजनिक वेब स्रोतों से तय हो।
  • ✓जब आप चाहते हों कि एजेंट वेब ऐप खोले बिना मार्केट डिप्लॉय करे।
  • ✓जब आपको जाँचना हो कि मार्केट तय हो गया है या विफल हुआ है।

Skill का लिंक

https://github.com/internet-court/internet-court-skill/blob/main/vendored/intelligent-oracle/intelligent-oracle/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/internet-court/internet-court-skill/blob/main/vendored/intelligent-oracle/intelligent-oracle/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मुझे ऐसा हाँ-या-ना प्रेडिक्शन मार्केट चाहिए जो किसी सार्वजनिक वेबसाइट के नतीजे से तय हो।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट आपके विचार को दो परिणामों और एक या अधिक निपटारा नियमों में बदलता है, फिर सेटिंग्स को सख्त प्रारूप से जाँचता है। वह मार्केट को सार्वजनिक factory contract से डिप्लॉय करता है, नए contract को पढ़कर पुष्टि करता है कि विवरण मेल खाते हैं, और तय या विफल होने तक स्थिति देखता है। डिफ़ॉल्ट रूप से यह 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

  1. 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).
  2. Validate — confirm the config matches the strict schema below.
  3. Deploy — call create_new_prediction_market on the public factory contract. This is the parent transaction.
  4. 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.
  5. Verify — read get_dict() on the new oracle address immediately. Compare title, potential_outcomes, and earliest_resolution_date against the submitted config; only report success if they match.
  6. 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.
  • dataSourceDomains or resolutionURLs — exactly one. Use resolutionURLs when 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 मुफ़्त है और उसके लिए फ़ंडेड keys की ज़रूरत नहीं।

एजेंट कैसे पक्का करता है कि मार्केट सही सेट हुआ?

वह नए contract को पढ़ता है और शीर्षक, परिणाम और निपटारे की तारीख की तुलना उस चीज़ से करता है जो उसने भेजी थी।

मार्केट किस आधार पर तय होता है?

यह सार्वजनिक वेब सबूत पर तय होता है, जिसे AI validators तब तक जाँचते हैं जब तक वे सहमति पर न पहुँचें।

जानकारी

लेखक का मूल विवरण

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.

repo: internet-court/internet-court-skill

लोकप्रियता

GitHub स्टार
7.0k
रैंकिंग में स्थान
#13632
लाइसेंस
—
अपडेट की गई
26/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

internet-court

7.0k

यह आपके एजेंट को AI एजेंट या पेड सेवा से सुरक्षित तरीके से भुगतान और लेन-देन की शुरुआती दिशा देती है, और सही विशेष गाइड बताती है।

AI और एजेंटएजेंट

genlayer-erc7710-connector

7.0k

यह आपके एजेंट को AI समीक्षा के नतीजे को अनुमति प्रणाली से जोड़ने देती है, ताकि खराब समीक्षा एजेंट की अनुमतियाँ सीमित कर सके।

AI और एजेंटएजेंट

genlayer-intelligent-contracts

7.0k

यह आपके एजेंट को AI जज के नियम, सबूत और नतीजे तय करने में मदद करती है, जो जाँचता है कि दूसरा एजेंट अपने अधिकार के दायरे में रहा या नहीं।

AI और एजेंटएजेंट

x402-erc7710

7.0k

यह आपके एजेंट को हर अनुरोध पर वेब सेवा का भुगतान करने और तय सीमा के भीतर लगातार खर्च करने की व्यवस्था में मदद करती है।

AI और एजेंटएजेंट

मिलती-जुलती skills