← 返回 Skills 市场
371
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 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...
安全使用建议
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.
功能分析
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`.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install polymarket-edge - 安装完成后,直接呼叫该 Skill 的名称或使用
/polymarket-edge触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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`.
元数据
常见问题
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 371 次。
如何安装 Polymarket Edge?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install polymarket-edge」即可一键安装,无需额外配置。
Polymarket Edge 是免费的吗?
是的,Polymarket Edge 完全免费(开源免费),可自由下载、安装和使用。
Polymarket Edge 支持哪些平台?
Polymarket Edge 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Polymarket Edge?
由 CatDev(@icloud-git)开发并维护,当前版本 v1.0.0。
推荐 Skills