← 返回 Skills 市场
hanswuhan

Polymarket Trade Agent

作者 Han Wu · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
442
总下载
2
收藏
4
当前安装
3
版本数
在 OpenClaw 中安装
/install polymarket-trade-agent
功能描述
Trade on Polymarket by researching markets, analyzing event probabilities, managing USDC balance, and executing buy/sell orders with risk-controlled position...
安全使用建议
This package implements a real trading client but asks you to provide your Polygon (Ethereum-style) private key — which gives full control over any funds in that wallet. Before installing or running it: - Only use a wallet/private key you control and which contains minimal funds for testing (preferably a throwaway or test account). Never use your main funds/private key. - Verify the source: the registry metadata and SKILL.md disagree about required env vars. Confirm the publisher and review the py-clob-client dependency and its trustworthiness. - Consider running the code in an isolated environment (VM or container) and inspect the code yourself; the files here are readable and show the network endpoints used (clob.polymarket.com and data-api.polymarket.com). - Note the SKILL.md guidance to export the raw private key from MetaMask is inherently risky — follow wallet best practices (use hardware wallets or signing-only flows where possible). If you must use an env var key, keep it in a restricted environment and rotate it afterward. - Test read-only commands (address, markets, balance) first. Be cautious with buy/sell: start with tiny trades and confirm behavior. If you want higher assurance, ask the publisher for provenance (homepage, source repo, or signed release) and a clear manifest of required environment variables and optional settings. If you cannot verify the author, treat the skill as high risk and avoid supplying a primary private key.
功能分析
Type: OpenClaw Skill Name: polymarket-trade-agent Version: 1.0.1 The OpenClaw skill bundle implements a Polymarket trading agent. It requires the user to provide a `POLYMARKET_PRIVATE_KEY` for its functionality, which is a highly sensitive credential. However, the code uses this key solely for its stated purpose of interacting with legitimate Polymarket APIs (`data-api.polymarket.com`, `clob.polymarket.com`) for balance checks, market data, and order placement, as seen in `trade.py`. There is no evidence of data exfiltration to unauthorized third parties, persistence mechanisms, or other malicious activities. The `SKILL.md` instructions are clear, directly related to the agent's purpose, and do not contain any prompt injection attempts to mislead the AI agent.
能力评估
Purpose & Capability
The code and instructions match the stated purpose (research markets, check balance, place orders) and include expected dependencies (py-clob-client, web3, eth-account). However the registry metadata declares no required environment variables while SKILL.md and the code clearly require POLYMARKET_PRIVATE_KEY (and optionally POLYMARKET_FUNDER_ADDRESS), which is an inconsistency in the package metadata.
Instruction Scope
SKILL.md directs the user to export a raw private key from MetaMask and set POLYMARKET_PRIVATE_KEY in the environment — a highly sensitive operation. The CLI and trade.py use that key to derive API credentials and interact with Polymarket endpoints (clob.polymarket.com and data-api.polymarket.com), which is coherent with the purpose but risky. Additionally, SKILL.md labels POLYMARKET_FUNDER_ADDRESS as optional, yet trade.get_positions requires it and will raise an error; this mismatch can cause runtime failures.
Install Mechanism
No install script or remote downloads are present; the package is instruction-and-code only and lists dependencies in requirements/pyproject. No extract-from-URL or third-party installers were specified.
Credentials
Requesting the wallet private key is proportionate to an agent that must sign transactions, but it is a high-privilege secret and must be handled carefully. The code also reads POLYMARKET_SIGNATURE_TYPE (not documented in SKILL.md) and treats POLYMARKET_FUNDER_ADDRESS inconsistently. The metadata omission of required env vars increases risk because the platform-level manifest does not surface the sensitive requirement.
Persistence & Privilege
The skill does not request always:true, does not modify other skills, and has no install-time hooks that persist beyond the usual package footprint. Autonomous invocation is allowed (platform default) but not combined with other privilege-escalating flags.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install polymarket-trade-agent
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /polymarket-trade-agent 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Polymarket Trade Agent Skill v1.0.1 - Added _meta.json file for additional skill metadata. - Updated trade.py (details not specified). - No changes to user commands or documentation. - Minor internal updates; all existing features and setup remain unchanged.
v1.0.0
Initial release — introduces a Polymarket trading agent. - Enables researching markets, analyzing opportunities, and executing trades on Polymarket. - Supports wallet configuration, USDC balance checks, and both buy/sell functions. - Provides commands for market research, trading, and utility tasks. - Includes guidance on trading strategy, position sizing, and risk management.
v0.1.0
Initial release with trading functionality
元数据
Slug polymarket-trade-agent
版本 1.0.1
许可证
累计安装 4
当前安装数 4
历史版本数 3
常见问题

Polymarket Trade Agent 是什么?

Trade on Polymarket by researching markets, analyzing event probabilities, managing USDC balance, and executing buy/sell orders with risk-controlled position... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 442 次。

如何安装 Polymarket Trade Agent?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install polymarket-trade-agent」即可一键安装,无需额外配置。

Polymarket Trade Agent 是免费的吗?

是的,Polymarket Trade Agent 完全免费(开源免费),可自由下载、安装和使用。

Polymarket Trade Agent 支持哪些平台?

Polymarket Trade Agent 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Polymarket Trade Agent?

由 Han Wu(@hanswuhan)开发并维护,当前版本 v1.0.1。

💬 留言讨论