
from polyclaw338
Trade on Polymarket from OpenClaw: browse markets, manage wallets, execute split+CLOB trades, track positions and discover hedges via LLM-assisted analysis.
PolyClaw adds Polymarket trading capabilities to OpenClaw. It lets agents browse prediction markets, manage a wallet, execute split + CLOB order flows to buy YES/NO positions, and monitor positions with entry prices and P&L. The skill also includes an LLM-driven hedge discovery feature to suggest covering portfolios across markets.
Use this skill when you need to programmatically explore Polymarket markets, perform automated trades, or analyze hedging opportunities. It is intended for agents managing small automated trading tasks or assisting users with market discovery and position tracking. Avoid using it without proper wallet setup and awareness of trading risks — a private key is required for live trading.
Designed for code-capable agents (Claude Code, Copilot/Codex-like assistants, CLI-capable agents) that can run repo scripts and manage environment variables. Not suitable for agents without secure key handling or network capability.
PolyClaw is a Polymarket trading skill that handles market browsing, wallet management, split+CLOB trade execution, position tracking with P&L, and LLM-powered hedge discovery. All 7 scripts failed to run — 5 crash on missing lib/ modules not included in the skill bundle, and 2 crash on missing web3 dependency. The polyclaw.py router prints help but exits 1. Code is well-structured with proper argparse, error handling, and type hints, but cannot function without the lib/ directory and web3 package.
web3lib/ (gamma_client, wallet_manager, position_storage, clob_client, contracts, coverage, llm_client)Private key in env var is standard for web3 automation and explicitly documented as a known trade-off. No malicious patterns found. Scripts use proper argparse for input handling, no shell injection vectors. Network calls are to expected services (Polymarket API, Polygon RPC, OpenRouter). The main deployment concern is that lib/ modules aren't bundled in the scripts dict, making the skill non-functional as-is — requires `uv sync` to install deps and lib/ from the repo.