# Send Openclaw Bot Prob Trade to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "openclaw-bot-prob-trade",
    "name": "Openclaw Bot Prob Trade",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/vlprosvirkin/openclaw-bot-prob-trade",
    "canonicalUrl": "https://clawhub.ai/vlprosvirkin/openclaw-bot-prob-trade",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/openclaw-bot-prob-trade",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-bot-prob-trade",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "config.yaml",
      "docs/deployment.md",
      "docs/references.md",
      "docs/strategies.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/openclaw-bot-prob-trade"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/openclaw-bot-prob-trade",
    "downloadUrl": "https://openagent3.xyz/downloads/openclaw-bot-prob-trade",
    "agentUrl": "https://openagent3.xyz/skills/openclaw-bot-prob-trade/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-bot-prob-trade/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-bot-prob-trade/agent.md"
  }
}
```
## Documentation

### probtrade-bot — Autonomous Polymarket Trading Bot

Autonomous trading bot that uses the probtrade skill to trade on Polymarket via prob.trade. Includes built-in risk management, pluggable strategies, and dry-run mode.

Requires: The probtrade skill must be installed and configured with API keys.

### Setup

Install and configure the probtrade skill first (API key required)
Edit {baseDir}/config.yaml to set your strategy and risk limits
By default, dry_run: true — the bot will only log, not trade

### Run Bot

Start the autonomous trading loop. Scans markets and places orders every cycle.

python3 {baseDir}/scripts/bot.py run

Override strategy:

python3 {baseDir}/scripts/bot.py run --strategy pair_arb

### Scan Markets

Run a single scan to see what the strategy would do, without placing orders.

python3 {baseDir}/scripts/bot.py scan

### Bot Status

Check balance, positions, open orders, and risk state.

python3 {baseDir}/scripts/bot.py status

### List Strategies

See all available strategies.

python3 {baseDir}/scripts/bot.py strategies

### Built-in Strategies

momentum — Contrarian momentum / mean reversion. Buys markets where YES price dropped significantly in 24h, betting on reversion.
pair_arb — Async pair cost arbitrage. Finds markets where YES + NO price < $0.95, buys the cheaper side for guaranteed profit on resolution.

### Creating Your Own Strategy

Create a file in {baseDir}/lib/strategies/ (e.g. my_strategy.py)
Implement a class that extends Strategy:

from lib.strategy_base import Strategy, Signal, get_yes_price, get_price_change

class MyStrategy(Strategy):
    name = "my_strategy"

    def initialize(self, config):
        self.threshold = config.get("my_param", 0.15)

    def scan(self, markets, positions, balance):
        signals = []
        for m in markets:
            if should_buy(m):
                signals.append(Signal(
                    market=m["condition_id"],
                    side="BUY", outcome="Yes",
                    order_type="LIMIT", amount=5,
                    price=get_yes_price(m),
                    confidence=0.8,
                    reason="My reason"
                ))
        return signals

Set strategy: my_strategy in config.yaml
Test: python3 {baseDir}/scripts/bot.py scan --strategy my_strategy

### Risk Management

The bot enforces risk limits defined in config.yaml:

max_position_size: Maximum USDC per single order
max_daily_spend: Total USDC allowed per day
max_open_positions: Maximum concurrent positions
max_drawdown_pct: Circuit breaker — halts all trading if portfolio drops by this %
max_consecutive_losses: Circuit breaker trigger after N losses in a row

### Environment Variables

Override config values via env vars:

DRY_RUN=true — force dry run mode
STRATEGY=pair_arb — override strategy
LOOP_INTERVAL=60 — override scan interval
PROBTRADE_SKILL_PATH=/path/to/probtrade/lib — custom path to probtrade skill lib

### Output

All commands output structured data (JSON or formatted text) for easy parsing by AI agents.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: vlprosvirkin
- Version: 1.0.1
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/openclaw-bot-prob-trade)
- [Send to Agent page](https://openagent3.xyz/skills/openclaw-bot-prob-trade/agent)
- [JSON manifest](https://openagent3.xyz/skills/openclaw-bot-prob-trade/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/openclaw-bot-prob-trade/agent.md)
- [Download page](https://openagent3.xyz/downloads/openclaw-bot-prob-trade)