An algorithmic trading agent skill that detects and exploits logical pricing inconsistencies within related Polymarket markets without relying on external data.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install polymarket-coherence-arb
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install polymarket-coherence-arb using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Polymarket Coherence Arb is a powerful trading algorithm designed to identify pricing anomalies across logically-linked, mutually exclusive Polymarket markets. By analyzing complete, exhaustive market sets (such as FIFA group stage winners) where the aggregate YES prices must theoretically equal 1 (or 100%), the system identifies instances where the markets are either collectively overpriced or underpriced. This skill operates entirely self-contained, requiring no external data feeds, and instead leverages arbitrage opportunities inherent inside Polymarket itself.
As part of the Openclaw Skills ecosystem, this codebase delivers a modular, robust foundation for automated sports and political betting arbitrage. If a confirmed market set's YES prices sum significantly above 1, the skill initiates a trade to buy NO on the richest leg; if they sum below 1, it buys YES on the cheapest leg, trading the legs back toward logical coherence. It acts as an incredibly efficient template for developers looking to scale on-chain predictions.
To get started with this project from Openclaw Skills, set up your workspace and configure your environment variables. Ensure you have your SIMMER_API_KEY ready.
Ensure the following keys are configured in your environment:
export SIMMER_API_KEY='your_simmer_key'
export TRADING_VENUE='sim' # Set to 'polymarket' for live execution
export MAX_TRADE_USD=20
export DAILY_BUDGET_USD=100
export MIN_COHERENCE_GAP=0.05
# Optional: Specify manual market-id groups separated by semicolons
export COHERENCE_GROUPS='id1,id2,id3,id4; idA,idB,idC'
Execute the skill in dry-run mode, check active exposure, or execute live trading on Polymarket:
# Run a default dry-run simulation pass
python coherence_arb.py --dry-run
# Inspect current open positions, balances, and exposure
python coherence_arb.py --status
# Execute with real capital after verifying simulation results
python coherence_arb.py --live --venue polymarket
The system cleanly isolates active state management based on the environment to ensure dry runs never corrupt live production data. Openclaw Skills prioritize safety, isolating states into dedicated schema structures.
| Filename | Purpose | Locking Protocol |
|---|---|---|
| state_live.json | Stores live production exposure, active trades, and tracking data. | fcntl.flock (exclusive lock) |
| state_dry.json | Keeps sandbox and simulated dry-run transaction logs. | fcntl.flock (exclusive lock) |
Every executed order tracks comprehensive context metadata suitable for backtesting pipelines:
Loading
An advanced AI agent skill modeled after Judith Butler's 'Gender Trouble' to analyze identity, gender performativity, and critical feminist theory.

An automated generative agent that builds high-quality, logically sound, and emotionally engaging murder mystery (script-killing) game scripts.

An AI-agent-powered synthetic data generator that creates production-quality fake data—including person, company, financial, and relational e-commerce datasets—across 10 locales.

An AI-driven investment research skill that systematically screens US and A-share markets for high-value supply chain bottlenecks based on Serenity's Perilla Leaf Theory.

An automation utility designed to check, verify, and safely upgrade Openclaw Skills through multi-source validation and user confirmation.

An automated tool to dynamically create, configure, and register standard OpenClaw agents and workspaces without manual file editing.








































