← Back to Skills Marketplace
Polymarket Optimizer
by
Wesley Armando
· GitHub ↗
· v1.0.0
297
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install polymarket-optimizer
Description
Automatic parameter optimizer for polymarket-executor. Reads performance_metrics.json every 6 hours, analyzes win rates and P&L per strategy, adjusts learned...
Usage Guidance
This skill appears to do what it says: read local executor metrics, compute adjustments, write learned_config.json, and optionally post Telegram reports. Before installing: (1) review the full Python source (the file was truncated in the bundle listing) to confirm there are no additional network endpoints or hidden behaviors, (2) run it in a staging environment against sample metrics to validate logic and prevent bad allocations, (3) avoid loading a shared .env containing other service credentials—only provide TELEGRAM_* and WORKSPACE if needed, (4) prefer running under a dedicated, non-root user or inside the OpenClaw container rather than enabling the root systemd example, and (5) lock down file permissions on the WORKSPACE so the optimizer can only access intended files. If you want higher assurance, request the full untruncated source for a complete audit or run the script under a network-restricted environment to confirm it only contacts api.telegram.org when tokens are set.
Capability Analysis
Type: OpenClaw Skill
Name: polymarket-optimizer
Version: 1.0.0
The polymarket-optimizer skill is a legitimate utility designed to analyze trading performance and adjust configuration parameters for a corresponding executor. The core logic in polymarket_optimizer.py involves reading local JSON metrics, calculating win rates and P&L, and updating a configuration file, with optional status reporting via the Telegram API. The code follows its stated purpose without any evidence of data exfiltration, unauthorized command execution, or malicious prompt injection.
Capability Assessment
Purpose & Capability
Name/description match what the code and SKILL.md do: read workspace metrics, analyze strategies, and write learned_config.json and optimizer_log.jsonl. Required binary (python3) and optional TELEGRAM/WORKSPACE envs are consistent with purpose.
Instruction Scope
Runtime instructions and code limit actions to workspace files (performance_metrics.json, paper_trades.json, portfolio.json, live_trades.jsonl) and local logs; Telegram messages are optional. Documentation includes systemd/cron guidance that suggests running docker exec or loading a shared .env — following those instructions without care could expose unrelated environment variables or grant broad host-level execution privileges, so treat the docs as higher-risk operational guidance rather than a property of the skill itself.
Install Mechanism
No install spec (instruction-only with an included Python script). No remote downloads or package installs are present in the bundle; risk from install mechanism is low.
Credentials
The skill declares no required secrets and only optionally uses TELEGRAM_BOT_TOKEN, TELEGRAM_CHAT_ID, and WORKSPACE. That is proportionate. However, the provided systemd docs advise loading a global .env (EnvironmentFile) and running as root/docker exec; if you follow that, unrelated secrets in that .env could be exposed to the process—limit the environment to only the variables this skill needs.
Persistence & Privilege
always is false and the skill is user-invocable. It does not request persistent elevated platform privileges. The systemd docs propose running as root and using docker exec (operational recommendation) — this is optional and not required by the skill, but follow-up caution is advised if you adopt those instructions.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install polymarket-optimizer - After installation, invoke the skill by name or use
/polymarket-optimizer - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of polymarket-optimizer v1.0.0.
- Automatically analyzes strategy win rates and P&L from performance_metrics.json every 6 hours.
- Adjusts learned_config.json (thresholds, allocations, Kelly fraction) based on recent trading results.
- Generates full optimization logs and paper trade performance metrics.
- Assesses live trading readiness with clear criteria and sends summary reports via Telegram.
- Part of Wesley Agent Ecosystem, mirroring crypto-executor-optimizer workflow.
Metadata
Frequently Asked Questions
What is Polymarket Optimizer?
Automatic parameter optimizer for polymarket-executor. Reads performance_metrics.json every 6 hours, analyzes win rates and P&L per strategy, adjusts learned... It is an AI Agent Skill for Claude Code / OpenClaw, with 297 downloads so far.
How do I install Polymarket Optimizer?
Run "/install polymarket-optimizer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Polymarket Optimizer free?
Yes, Polymarket Optimizer is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Polymarket Optimizer support?
Polymarket Optimizer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Polymarket Optimizer?
It is built and maintained by Wesley Armando (@georges91560); the current version is v1.0.0.
More Skills