08820048/polymarket-openclaw-trader/SKILL.md
Reusable Polymarket + OpenClaw trading operations skill for any workspace. Use when the user needs to set up, run, tune, monitor, and deploy an automated Polymarket trading project (paper/live), including env configuration, risk controls, reporting, and dashboard operations.
npx skillsauth add openclaw/skills polymarket-openclaw-traderInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
cli_bot.py / web_app.py)先确认项目路径(不要写死绝对路径):
pwd
ls -la
如果用户没有给路径,询问并约定:<PROJECT_DIR>。
后续命令都基于:
cd <PROJECT_DIR>
必须项:
POLYMARKET_PRIVATE_KEYPOLYMARKET_WALLET_ADDRESSEXECUTION_MODE=paper|liveAUTO_TRADE=true|falseLIVE_MAX_ORDERS_PER_DAY=<int>可选:
POLYMARKET_FUNDERDISCORD_WEBHOOK_URLPOLYMARKET_HOSTPOLYMARKET_CHAIN_IDPOLYMARKET_SIGNATURE_TYPE要求:
启动:
nohup env PYTHONUNBUFFERED=1 python3 cli_bot.py loop > logs/runner_v2.log 2>&1 < /dev/null &
巡检:
ps -ef | grep 'python3 cli_bot.py loop' | grep -v grep
tail -n 120 logs/runner_v2.log
若进程不在:自动重启并再次验证。
优先写入 runtime/settings.json:
price_move_threshold_pctvolume_spike_multiplesignal_score_thresholdpoll_interval_secstatus_every_minutes修改后重启策略进程。
汇报优先使用真实来源:
dailyPnlUsd/openMarkets)要明确标注为“机器人账本”禁止将估算余额伪装成真实账户余额。
执行前依次检查:
若返回 geoblock / region restriction:
本地:
python3 web_app.py
Vercel:
vercel --prod --yes
若 Flask 入口报错,检查是否存在 app.py 且内容为:
from web_app import app
每次关键变更后:
git add/commit 提交python3 <skill_creator_scripts>/package_skill.py <skill_dir> <out_dir>
cd <PROJECT_DIR>
python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env
# 填写必要环境变量后
nohup env PYTHONUNBUFFERED=1 python3 cli_bot.py loop > logs/runner_v2.log 2>&1 < /dev/null &
tools
Use when the user wants to connect to, test, or use the McDonalds service at mcp.mcd.cn, including checking authentication, probing MCP endpoints, listing tools, or calling McDonalds MCP tools through a reusable local CLI.
development
Web scraping platform — Twitter/X data, Vinted marketplace, and general web scraping API
development
SlowMist AI Agent Security Review — comprehensive security framework for skills, repositories, URLs, on-chain addresses, and products (Claude Code version)
data-ai
去除中文文本中的 AI 写作痕迹,使其读起来自然。基于维基百科 AI 写作特征指南,检测 24 种 AI 模式。触发词:humanizer-cn、去除 AI 痕迹、去除 AI 写作痕迹、中文文本人性化。