← Back to Skills Marketplace
mibayy

Polymarket Kalshi Divergence

by Mibayy · GitHub ↗ · v2.0.5 · MIT-0
cross-platform ✓ Security Clean
235
Downloads
0
Stars
0
Active Installs
12
Versions
Install in OpenClaw
/install polymarket-kalshi-divergence
Description
Cross-platform arbitrage between Kalshi and Polymarket. Monitors 13 Kalshi event series (crypto, macro, politics) and compares prices to equivalent Polymarke...
Usage Guidance
This skill is internally consistent with its stated purpose, but before installing consider: (1) Only provide a SIMMER_API_KEY if you trust Simmer.markets and understand what that key can do (it can place trades). Prefer keys with least privilege or test keys. (2) By default the script is dry-run, but the --live flag or setting TRADING_VENUE to a non-sim venue enables real trades—ensure cron/automaton runs won't be given live credentials unintentionally. (3) Review the simmer-sdk package and Simmer's API docs/policy to confirm no unexpected privileges (withdrawals, account changes). (4) Run locally in dry-run mode first and inspect logs and the exact API calls made. If you need higher assurance, review the full SimmerClient implementation (not included here) to confirm where trade requests are sent and what permissions are required.
Capability Analysis
Type: OpenClaw Skill Name: polymarket-kalshi-divergence Version: 2.0.5 The skill is a legitimate trading automaton designed for price arbitrage between Kalshi and Polymarket. It uses the official Kalshi API and the Simmer SDK (simmer-sdk) to identify and execute trades based on price divergence, with clear logic for risk management (slippage and flip-flop checks) and a default dry-run mode. No evidence of data exfiltration, malicious execution, or prompt injection was found in kalshi_divergence.py or SKILL.md.
Capability Assessment
Purpose & Capability
Name/description match the implementation: the script polls Kalshi public endpoints and uses SimmerClient to search Polymarket-equivalent markets and place trades. The declared dependency (SIMMER_API_KEY and simmer-sdk) is appropriate for interacting with Simmer, and requests is required to call Kalshi's API.
Instruction Scope
SKILL.md runtime instructions map exactly to what the code does: scan Kalshi, match via SimmerClient.find_markets(), compute divergence, and call SimmerClient.trade() only if run with --live. The instructions do not ask the agent to read unrelated local files or secrets beyond the declared SIMMER_API_KEY.
Install Mechanism
This is instruction-only with a small set of pip dependencies (simmer-sdk, requests) declared in clawhub.json; no arbitrary downloads or extract/install steps are present. Risk from installation is low if you trust the pip packages used.
Credentials
Only SIMMER_API_KEY (required) and optional trading/config env vars are requested, which is appropriate for placing trades via the Simmer service. Caution: an API key granting trading authority is powerful—ensure the key's permissions and trust in the Simmer provider are acceptable (e.g., whether it can place real trades or withdraw funds).
Persistence & Privilege
The skill is a managed automaton scheduled to run every 5 minutes (cron) per clawhub.json, but default behavior is dry-run. It does not set always:true. Ensure that automated runs won't be configured with live trading credentials/environment—otherwise it could autonomously place trades.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install polymarket-kalshi-divergence
  3. After installation, invoke the skill by name or use /polymarket-kalshi-divergence
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.0.5
Fix all scanner flags: managed:true, document all env vars with required/optional distinction, sync versions
v2.0.4
Fix requires.env: only list mandatory vars, optional vars documented in SKILL.md only
v2.0.3
Fix SKILL.md/clawhub.json consistency: match version, declare TRADING_VENUE, correct managed/scheduling docs
v2.0.2
Fix manifest/code consistency: sync versions, declare all env vars, set managed:true, type:automaton
v2.0.1
Fix Market dataclass access, find_markets API, venue default to sim
v2.0.0
Version 2.0.0 introduces major changes to signal processing and trade execution: - Updated price divergence detection logic for more robust equivalence matching between Kalshi and Polymarket markets. - Improved execution path and signal thresholds. - Refined CLI options and documentation for ease of use. - Minor updates to metadata and configuration files.
v1.5.0
Version 1.5.0 summary: Adds security and trade execution details to documentation. - Updated SKILL.md to detail security practices and credential handling. - Clarified that only SIMMER_API_KEY is needed; no wallet keys are accessed or required. - Outlined the exact trade execution flow and added a section on trade logic. - Stated that automaton.managed is false and --live flag is required for real trades by default. - Usage section and documentation improved for clarity.
v1.4.0
Fix metadata: document SIMMER_API_KEY, pip deps, trading warnings in SKILL.md
v1.3.0
Fix: removed managed:true and --live args from automaton. Dry-run by default, user controls execution.
v1.2.0
Fixed: use client.trade() instead of create_order(), yes/no sides, context check, singleton pattern
v1.1.0
Added singleton client pattern with venue=polymarket, context check before trading, fixed TRADE_SOURCE format
v1.0.0
Kalshi-Polymarket Divergence Arb skill v1.0.0 initial release: - Monitors 13 Kalshi event series and compares prices to linked Polymarket markets. - Generates BUY signals for >8% underpriced and SELL signals for >10% overpriced on Polymarket. - Covers crypto, macro, commodities, and index market series. - Usage options include dry run, live mode, and quiet mode for automation. - Designed as a flexible template for customizing event coverage and thresholds.
Metadata
Slug polymarket-kalshi-divergence
Version 2.0.5
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 12
Frequently Asked Questions

What is Polymarket Kalshi Divergence?

Cross-platform arbitrage between Kalshi and Polymarket. Monitors 13 Kalshi event series (crypto, macro, politics) and compares prices to equivalent Polymarke... It is an AI Agent Skill for Claude Code / OpenClaw, with 235 downloads so far.

How do I install Polymarket Kalshi Divergence?

Run "/install polymarket-kalshi-divergence" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Polymarket Kalshi Divergence free?

Yes, Polymarket Kalshi Divergence is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Polymarket Kalshi Divergence support?

Polymarket Kalshi Divergence is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Polymarket Kalshi Divergence?

It is built and maintained by Mibayy (@mibayy); the current version is v2.0.5.

💬 Comments