← 返回 Skills 市场
290
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install storyclaw-polymarket-trading
功能描述
Self-evolving Polymarket trading bot. Design strategy with user, run paper trading, auto-improve until edge target met, then ask to switch to live.
安全使用建议
Key things to check before installing or using this skill:
- Credentials: Inspect the setup and load_config logic. The metadata declares POLYMARKET_PRIVATE_KEY but most scripts expect credentials/{USER_ID}.json. Don't blindly paste your private key into the environment or a file until you confirm which path the code will actually read. Prefer creating a per-user credentials file with restricted permissions (the code sets 0600 when saving).
- Keep it dry: The skill defaults to dry-run, and SKILL.md states never to go live without explicit confirmation. Use dry runs and review recorded performance (state/*.perf.json) before any live activation.
- Crontab changes: SKILL.md contains shell snippets that append cron jobs to your crontab. Those commands will alter your system crontab if you run them. Only install cron entries you understand and verify the exact command and paths. Consider running scheduled jobs under a restricted user or via a container instead.
- Undeclared dependency: The scripts call 'openclaw notify' for notifications but 'openclaw' is not listed as a required binary. Verify what 'openclaw' does in your environment or remove those calls if you don't want external notifications.
- Network endpoints: The code contacts gamma-api.polymarket.com and clob.polymarket.com (Polymarket-related endpoints). Confirm those are the expected endpoints. If you need to audit network traffic, run the code in a controlled environment (container, VM) and monitor outbound requests.
- Review setup flow: The truncated setup code may derive and store API keys/secrets locally. Inspect the full setup routine to ensure it does not transmit your private key or derived secrets to any unexpected remote server.
- Least privilege & backups: Only give the minimum credentials required for testing (consider a funded test account / small balance). Keep backups of your private key and revoke/rotate keys if you suspect misuse.
- If unsure, run the scripts locally in an isolated environment (Docker/VM) and step through 'check' and 'fast' commands before enabling any cron or live trading. If you want, provide the missing setup.py/truncated parts for a deeper review.
功能分析
Type: OpenClaw Skill
Name: storyclaw-polymarket-trading
Version: 0.1.0
The skill bundle implements a functional Polymarket trading bot with support for both dry-run (simulated) and live trading. It includes comprehensive logic for market scanning (market_scanner.py), signal analysis (signals.py), and automated strategy improvement (strategy_manager.py). While the bot handles sensitive information like private keys and modifies system crontabs for scheduling, these actions are transparently documented in SKILL.md and are necessary for the stated purpose; the code also includes security best practices such as restricted file permissions (0o600) for credential storage in polymarket.py.
能力评估
Purpose & Capability
Name/description match the included scripts: the code implements market scanning, signals, dry-run settlement, review/auto-improve and live trade flows against Polymarket/Gamma/CLOB APIs. However the registry/metadata declares POLYMARKET_PRIVATE_KEY as the required env var / primary credential, while most runtime code expects per-user credential files (credentials/{USER_ID}.json) and uses USER_ID/TELEGRAM_USER_ID to find them. That mismatch is not fatal but is inconsistent and may confuse users about how to supply keys.
Instruction Scope
SKILL.md and scripts stay within trading/strategy scope, and include explicit safeguards (dry-run default, require confirmation before live). The documentation shows shell commands that will modify the user's crontab (echo into crontab) and run pip installs; those are powerful operations that the skill does not perform autonomously but instructs the operator to run. The runtime code also invokes an external CLI 'openclaw notify' for notifications (fallbacks to print), but 'openclaw' is not declared as a required binary in the metadata.
Install Mechanism
No install spec / no remote downloads are present in the registry metadata (instruction-only). The repository includes Python scripts that will be run locally; nothing in the manifest fetches arbitrary archives or runs installers automatically.
Credentials
The skill requests a private key (POLYMARKET_PRIVATE_KEY) which is proportionate for a trading bot, but the code predominantly reads per-user credentials files (credentials/{USER_ID}.json) and derives/stores API keys/secret/passphrase. The declared primaryEnv (POLYMARKET_PRIVATE_KEY) is not consistently referenced in the code paths shown, and the SKILL.md suggests both approaches — this inconsistency could lead users to supply keys in an unexpected location. The skill will store keys/config locally (credentials/ .json) and uses network endpoints (gamma-api.polymarket.com, clob.polymarket.com) which are appropriate for the described purpose.
Persistence & Privilege
The skill does not set always:true. It does instruct the user how to create crontab entries that will run the scripts regularly (i.e., persistence via cron is user-driven). The scripts persist state, strategies, credentials, and performance under the skill directory, which is expected for this functionality. Autonomous invocation by the agent is allowed by default (disable-model-invocation=false) — normal for skills but increases blast radius combined with credential access; no evidence the skill modifies other skills or global agent settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install storyclaw-polymarket-trading - 安装完成后,直接呼叫该 Skill 的名称或使用
/storyclaw-polymarket-trading触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release: Self-evolving Polymarket trading bot with user-driven strategy design and automated paper trading.
- Guides user through secure setup and strategy creation for any Polymarket type.
- Runs paper trading by default, auto-improves strategy parameters based on performance.
- Only switches to live trading after explicit user confirmation and edge target is met.
- Multi-user support via per-user credential files and environment variables.
- Provides clear rules to prevent unauthorized actions and limit risk.
- Includes modular scripts for strategy management, signal scanning, and automatic review.
元数据
常见问题
Storyclaw Polymarket Trading 是什么?
Self-evolving Polymarket trading bot. Design strategy with user, run paper trading, auto-improve until edge target met, then ask to switch to live. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 290 次。
如何安装 Storyclaw Polymarket Trading?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install storyclaw-polymarket-trading」即可一键安装,无需额外配置。
Storyclaw Polymarket Trading 是免费的吗?
是的,Storyclaw Polymarket Trading 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Storyclaw Polymarket Trading 支持哪些平台?
Storyclaw Polymarket Trading 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Storyclaw Polymarket Trading?
由 Parker(@patches429)开发并维护,当前版本 v0.1.0。
推荐 Skills