Agent skill · software engineering · aiskillstore

intelligent-oracle

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.

Why this skill is useful

Adds executable scripts for deploying and monitoring GenLayer Intelligent Oracle contracts that are not available in public documentation.

What it needs

Requires curl installed locally. About 11k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

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 createnewpredictionmarket 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 getdict() on the new oracle address immediately. Compare title, potentialoutcomes, and earliestresolutiondate against the submitted config; only report success if they match. 6. Monitor — read getstatus() periodically. When status is "Resolved" or "Error", settlement is final. Network and factory address Before deploying, fetch the current network pointer from this site: Shape: 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. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/intelligent-oracle

View the source on GitHub

Browse the @skills marketplace