← Back to Skills Marketplace
icloud-git

Polymarket Edge

by CatDev · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
371
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install polymarket-edge
Description
Trade and analyse Polymarket prediction markets with a 5-minute BTC EMA crossover strategy. Browse markets, read order books, run signals, manage a live auto...
Usage Guidance
Key things to check before installing or running: - Billing API key default: billing.py contains a hardcoded SKILL_BILLING_API_KEY and SKILL_ID fallback. This means if you don't set SKILL_BILLING_API_KEY in your environment the skill will use that embedded key, which could cause calls to be billed to the author's/account associated with that key. Always set SKILL_BILLING_API_KEY and SKILL_ID to your own values before running. - Wallet private key risk: live trading requires POLYMARKET_PRIVATE_KEY. Do NOT use any real or funded wallet; follow the README warning and only use a burner wallet. Prefer to leave auto_trade disabled unless you fully trust and audit the trading code and the signing integration. - Network calls & billing: the service makes outbound requests to skillpay.me, gamma-api.polymarket.com and clob.polymarket.com. Expect network traffic and remote billing/accounting; don't run on a system with secrets you don't want accessible to processes that can make outbound HTTP requests. - Live trading is not enabled by default: place_limit_order/place_market_order raise NotImplementedError until you integrate py-clob-client and supply a private key; this reduces immediate risk of accidental live trades, but you must still be careful when enabling. - Code review recommended: the code is largely coherent with its purpose, but because of the embedded billing key and the financial nature of the skill, review and replace the hardcoded API key, verify the SKILL_ID, and audit any modifications before exposing the service to other users or production traffic.
Capability Analysis
Type: OpenClaw Skill Name: polymarket-edge Version: 1.0.0 The skill is classified as suspicious due to its inherent capability to handle and potentially use a highly sensitive `POLYMARKET_PRIVATE_KEY` for live financial transactions. While the code includes strong warnings to use a burner wallet and explicitly disables live trading by default (requiring manual code modification to enable), the presence of this functionality and the handling of such a critical credential warrant a 'suspicious' classification. There is no evidence of intentional malicious behavior, data exfiltration beyond its stated purpose, or prompt injection attempts in the `SKILL.md` or `README.md`.
Capability Assessment
Purpose & Capability
Name/description (Polymarket trading + EMA strategy) match the code: market data wrappers, EMA strategy, and auto-trader loop are present. The skill requires a billing API key and skill id, which the code uses when calling SkillPay.me. However, billing.py embeds fallback defaults (a hardcoded API_KEY and SKILL_ID) so the skill will operate even if the declared required env var is not set — this is an inconsistency between the declared requirements and actual code behavior.
Instruction Scope
SKILL.md and main.py limit runtime actions to running a local FastAPI server, calling Polymarket (Gamma + CLOB) and SkillPay.me, and optionally placing trades if a private key is provided. No instructions request unrelated files or system secrets beyond the billing key, skill id, and an optional POLYMARKET_PRIVATE_KEY for trading. Live trading paths are explicit and require the user to opt in.
Install Mechanism
No custom install script; dependencies are standard Python packages listed in requirements.txt. The install approach (pip install -r requirements.txt) is proportionate to a Python FastAPI service. There is no arbitrary download URL or archive extraction in the manifest.
Credentials
Declared required env vars (SKILL_BILLING_API_KEY, SKILL_ID) are appropriate for the billing integration. However, billing.py defines literal fallback values for API_KEY and SKILL_ID; the presence of a hardcoded API key in source is a red flag: if users forget to set SKILL_BILLING_API_KEY the skill will silently use the embedded key and bill calls to that account. POLYMARKET_PRIVATE_KEY is optional and only needed for live trading (appropriately warned), but it is sensitive — the README and code warn to use a burner wallet.
Persistence & Privilege
The skill does not request permanent/always-on platform privileges (always:false). It does not modify other skills or system-wide configs. It runs as a local service and only persists in-memory trade logs; no code writes system-wide settings or other skills' configs.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install polymarket-edge
  3. After installation, invoke the skill by name or use /polymarket-edge
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of Polymarket Edge — trade and analyze Polymarket prediction markets with automated EMA crossover strategy and SkillPay billing. - Browse and search Polymarket markets, including order books, prices, and OHLCV candles. - Run automated 5-min EMA(5/20) crossover trading signals and view strategy recommendations (BUY_YES / BUY_NO / HOLD). - Start, stop, and monitor a live BTC auto-trader (optional live trading with EVM wallet). - Manage and view portfolio positions and USD values for any wallet. - SkillPay.me billing: every API call billed per request (0.001 USDT / call), with on-demand top-ups and token management. - Simple FastAPI server with interactive docs at `/docs`.
Metadata
Slug polymarket-edge
Version 1.0.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Polymarket Edge?

Trade and analyse Polymarket prediction markets with a 5-minute BTC EMA crossover strategy. Browse markets, read order books, run signals, manage a live auto... It is an AI Agent Skill for Claude Code / OpenClaw, with 371 downloads so far.

How do I install Polymarket Edge?

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

Is Polymarket Edge free?

Yes, Polymarket Edge is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Polymarket Edge support?

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

Who created Polymarket Edge?

It is built and maintained by CatDev (@icloud-git); the current version is v1.0.0.

💬 Comments