ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

precog

Trade on prediction markets. Create a local wallet, list markets, check prices, buy and sell outcome shares. Coming soon: create and fund markets directly from this skill.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/0xastraea/opencog
Or

Precog Prediction Markets

Precog is a fully onchain prediction market protocol on Base. Anyone can create a market around a real-world question, fund it with liquidity, and trade outcome shares. Prices equal implied probabilities (0–1). Every action is a signed onchain transaction — no custody, no central party.

MATE is a non-monetary practice token (no real economic value). Markets denominated in MATE are safe to use for learning and experimentation. MATE can be claimed at matetoken.xyz.

What you can do here:

  • Browse active prediction markets and outcome probabilities
  • Get detailed market info including category and resolution criteria
  • Quote, buy, and sell outcome shares using your local wallet
  • Check your positions (shares held, net cost, trade history)

🚧 Coming soon: Native market creation — submit and fund new markets directly from this skill without visiting the web UI.

For full protocol documentation see PRECOG.md — it covers prediction markets 101, the LS-LMSR pricing curve, resolution via Reality.eth + Kleros, LP mechanics, MATE markets, and more.

Contract addresses and RPCs are built in — no config needed.

Networks

The default network is Base Sepolia (testnet). No flag needed for testnet — scripts connect to sepolia unless told otherwise.

Two networks are supported. Pass --network <name> to any script, or set PRECOG_NETWORK in your environment.

Network--network valueChainContract
Base Sepolia (testnet)sepolia ← defaultBase Sepolia (84532)0x61ec71F1Fd37ecc20d695E83F3D68e82bEfe8443
Base MainnetmainnetBase (8453)0x00000000000c109080dfa976923384b97165a57a

⚠️ Mainnet uses real funds. Before running any mainnet command, confirm the network with the user and show the contract address. Do NOT default to mainnet — always require an explicit --network mainnet flag or a PRECOG_NETWORK=mainnet env var set by the user.

Security and local state

  • ~/.openclaw/.env — created by setup.mjs --generate. Stores PRIVATE_KEY in plaintext. Treat it like a wallet key file: restrict permissions (chmod 600) and back it up. Losing it means losing access to any funds in that wallet.
  • No key is ever transmitted. Transactions are signed locally; only the signed transaction is broadcast to the RPC.
  • Use a throwaway wallet. The MATE markets use a practice token with no real value — ideal for testing. Do not load a high-value key into this skill.
  • Custom RPC risk. If you set PRECOG_RPC_URL, use only a trusted endpoint.

Metadata

Author@0xastraea
Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-0xastraea-opencog": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.