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.
npx skills add internet-court/internet-court-skill --skill intelligent-oracle --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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;
- Workflow
- Network and factory address
- The oracle config
- Behavioral contract when guiding the user
- Source defaults
- Three worked examples
- Deploy (default: existing public studionet factory)
- genlayer-js (Node and browser)
- Raw JSON-RPC (non-JS agents)
- CLI shortcut (only when forking your own factory)
- Check later (monitoring)
- Triggering resolution
- Troubleshooting
- Canonical version
cd scripts && PRIVATE_KEY=<key> RPC_URL=<rpc> npm run deploy
What does the intelligent-oracle skill do?
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.
How do I install it?
Run `npx skills add internet-court/internet-court-skill --skill intelligent-oracle --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From internet-court/internet-court-skill, a repository with 1,536 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.