# Send Polymarket Mert Sniper 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. 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. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "polymarket-mert-sniper",
    "name": "Polymarket Mert Sniper",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/adlai88/polymarket-mert-sniper",
    "canonicalUrl": "https://clawhub.ai/adlai88/polymarket-mert-sniper",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/polymarket-mert-sniper",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=polymarket-mert-sniper",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "clawhub.json",
      "config.json",
      "mert_sniper.py",
      "scripts/status.py"
    ],
    "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/polymarket-mert-sniper"
    },
    "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/polymarket-mert-sniper",
    "downloadUrl": "https://openagent3.xyz/downloads/polymarket-mert-sniper",
    "agentUrl": "https://openagent3.xyz/skills/polymarket-mert-sniper/agent",
    "manifestUrl": "https://openagent3.xyz/skills/polymarket-mert-sniper/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/polymarket-mert-sniper/agent.md"
  }
}
```
## Documentation

### Mert Sniper

Near-expiry conviction trading on Polymarket. Snipe markets about to resolve when the odds are heavily skewed.

Strategy by @mert — filter by topic, cap your bets, wait until near expiry, and only trade strong splits.

This is a template. The default logic (expiry + split filter) gets you started — remix it with your own filters, timing rules, or market selection criteria. The skill handles all the plumbing (market discovery, trade execution, safeguards). Your agent provides the alpha.

### When to Use This Skill

Polymarket only. All trades execute on Polymarket with real USDC. Use --live for real trades, dry-run is the default.

Use this skill when the user wants to:

Trade markets that are about to resolve (last-minute conviction bets)
Filter by topic (e.g. only SOL/crypto markets)
Cap bet size (e.g. never more than $10)
Only trade when odds are strongly skewed (e.g. 60/40 or better)
Run an automated expiry-sniping strategy

### Setup Flow

Ask for Simmer API key

Get it from simmer.markets/dashboard -> SDK tab
Store in environment as SIMMER_API_KEY



Ask for wallet private key (required for live trading)

This is the private key for their Polymarket wallet (the wallet that holds USDC)
Store in environment as WALLET_PRIVATE_KEY
The SDK uses this to sign orders client-side automatically — no manual signing needed



Ask about settings (or confirm defaults)

Market filter: Which markets to scan (default: all)
Max bet: Maximum per trade (default $10)
Expiry window: How close to resolution (default 2 minutes)
Min split: Minimum odds skew (default 60/40)



Save settings to config.json or environment variables

### Configuration

SettingEnvironment VariableDefaultDescriptionMarket filterSIMMER_MERT_FILTER(all)Tag or keyword filter (e.g. solana, crypto)Max betSIMMER_MERT_MAX_BET10.00Maximum USD per tradeExpiry windowSIMMER_MERT_EXPIRY_MINS2Only trade markets resolving within N minutesMin splitSIMMER_MERT_MIN_SPLIT0.60Only trade when YES or NO >= this (e.g. 0.60 = 60/40)Max trades/runSIMMER_MERT_MAX_TRADES5Maximum trades per scan cycleSmart sizing %SIMMER_MERT_SIZING_PCT0.05% of balance per trade

### Quick Commands

# Check account balance and positions
python scripts/status.py

# Detailed position list
python scripts/status.py --positions

API Reference:

Base URL: https://api.simmer.markets
Auth: Authorization: Bearer $SIMMER_API_KEY
Portfolio: GET /api/sdk/portfolio
Positions: GET /api/sdk/positions

### Running the Skill

# Dry run (default -- shows opportunities, no trades)
python mert_sniper.py

# Execute real trades
python mert_sniper.py --live

# Filter to specific markets
python mert_sniper.py --filter solana

# Custom expiry window (5 minutes)
python mert_sniper.py --expiry 5

# With smart position sizing (uses portfolio balance)
python mert_sniper.py --live --smart-sizing

# Check positions only
python mert_sniper.py --positions

# View config
python mert_sniper.py --config

# Disable safeguards (not recommended)
python mert_sniper.py --no-safeguards

### How It Works

Each cycle the script:

Fetches active markets from Simmer API (optionally filtered by tag/keyword)
Filters to markets resolving within the expiry window (default 2 minutes)
Checks the price split -- only trades when one side >= min_split (default 60%)
Determines direction: backs the favored side (higher probability)
Safeguards: Checks context for flip-flop warnings, slippage, market status
Execution: Places trade on the favored side, capped at max bet
Reports summary of scanned, filtered, and traded markets

### Example Output

🎯 Mert Sniper - Near-Expiry Conviction Trading
==================================================

  [DRY RUN] No trades will be executed. Use --live to enable trading.

  Configuration:
  Filter:        solana
  Max bet:       $10.00
  Expiry window: 2 minutes
  Min split:     60/40
  Max trades:    5
  Smart sizing:  Disabled
  Safeguards:    Enabled

  Fetching markets (filter: solana)...
  Found 12 active markets

  Markets expiring within 2 minutes: 2

  SOL highest price on Feb 10?
     Resolves in: 1m 34s
     Split: YES 72% / NO 28%
     Side: YES (72% >= 60%)
     [DRY RUN] Would buy $10.00 on YES

  Summary:
  Markets scanned: 12
  Near expiry:     2
  Strong split:    1
  Trades executed: 0

  [DRY RUN MODE - no real trades executed]

### Troubleshooting

"No markets found"

Check your filter -- try without a filter first
Markets may not be available (check simmer.markets)

"No markets expiring within window"

Increase expiry window: --expiry 10 (10 minutes)
Or run more frequently (cron every minute)

"Split too narrow"

Lower the min split: --set min_split=0.55
This trades more often but with less conviction

"Resolves in: 17h" on 15-min markets

Polymarket's endDate is the event-level end-of-day, not the individual market close time
For 15-min crypto markets (e.g. "BTC Up or Down - Feb 8, 11PM ET"), the actual close time is in the question text but not in the API
This is a Polymarket data limitation — widen the expiry window (--expiry 1080) as a workaround, or use the split filter to find conviction opportunities regardless of timing

"External wallet requires a pre-signed order"

WALLET_PRIVATE_KEY is not set in the environment
The SDK signs orders automatically when this env var is present — no manual signing code needed
Fix: export WALLET_PRIVATE_KEY=0x<your-polymarket-wallet-private-key>
Do NOT attempt to sign orders manually or modify the skill code — the SDK handles it

"Balance shows $0 but I have USDC on Polygon"

Polymarket uses USDC.e (bridged USDC, contract 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174) — not native USDC
If you bridged USDC to Polygon recently, you likely received native USDC
Swap native USDC to USDC.e, then retry

"API key invalid"

Get new key from simmer.markets/dashboard -> SDK tab
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: adlai88
- Version: 1.0.13
## 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/polymarket-mert-sniper)
- [Send to Agent page](https://openagent3.xyz/skills/polymarket-mert-sniper/agent)
- [JSON manifest](https://openagent3.xyz/skills/polymarket-mert-sniper/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/polymarket-mert-sniper/agent.md)
- [Download page](https://openagent3.xyz/downloads/polymarket-mert-sniper)