Best for
- Copytrade whale wallets on Polymarket
- Paper trade (copytrade with $SIM) to test strategies without real money
- Check what positions a wallet holds
SpartanLabsXyz/simmer-sdk/skills/polymarket-copytrading/SKILL.md
Mirror positions from top Polymarket traders. Polling mode (free) for portfolio-style copying, Reactor mode (Pro) for event-driven real-time mirroring via Simmer's on-chain signal infrastructure.
Decision brief
Mirror positions from successful Polymarket traders using the Simmer SDK. Two modes share the same skill, use whichever fits your strategy.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/SpartanLabsXyz/simmer-sdk --skill "skills/polymarket-copytrading"Inspect the Agent Skill "polymarket-copytrading" from https://github.com/SpartanLabsXyz/simmer-sdk/blob/b3154d43d417fe717b308bc2ccf9814181d6fc89/skills/polymarket-copytrading/SKILL.md at commit b3154d43d417fe717b308bc2ccf9814181d6fc89. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
When user asks to install or configure this skill:
User provides wallet(s) directly in chat:
For automated recurring scans, wallets can be saved in environment:
python copytradingtrader.py --reactor
Use this skill when the user wants to: - Copytrade whale wallets on Polymarket - Paper trade (copytrade with $SIM) to test strategies without real money - Check what positions a wallet holds - Follow specific trader addresses - Check their copytrading positions
Permission review
The documentation asks the agent to run terminal commands or scripts.
python scripts/status.pyThe documentation asks the agent to run terminal commands or scripts.
python scripts/status.py --positionsThe documentation includes network, browsing, or remote request actions.
curl -X PATCH "https://api.simmer.markets/api/sdk/reactor/config" \Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 91/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 48 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Mirror positions from successful Polymarket traders using the Simmer SDK. Two modes share the same skill, use whichever fits your strategy.
🚨 Framework, not a production trading system. Read DISCLAIMER.md before connecting to a wallet with real funds. Per-position cap defaults to $50; per-run cap defaults to 10 trades. Use
$SIMpaper-mode to validate any new whale selection before scaling to real USDC.
This is a template. The default logic mirrors whale wallets — remix it with your own wallet selection, sizing rules, filters, or cap logic. The skill handles all the plumbing (signal polling, trade execution, dedup, signing). Your agent provides the alpha.
| Polling mode (free) | Reactor mode (Pro) | |
|---|---|---|
| Entrypoint | copytrading_trader.py | copytrading_trader.py --reactor |
| Cadence | Batch scan, runs on cron or manual | Polls every 2s for pre-resolved whale signals |
| Latency | Minutes (Polymarket Data API polling) | Seconds (Simmer detects events in real-time, pre-confirmation) |
| Strategy | Size-weighted aggregation across wallets, conviction tiering, rebalance to target allocations, drift/stale filters | Event-by-event mirror with fixed mirror_fraction sizing, programmatic filters |
| Best for | Portfolio-aware, multi-whale, periodic scans | Real-time reaction to specific whales as they trade |
| Requires | SIMMER_API_KEY | SIMMER_API_KEY + Simmer Pro plan |
When user asks to install or configure this skill:
Install the Simmer SDK (version 0.9.19 or newer — reactor mode requires it)
pip install -U 'simmer-sdk>=0.9.19'
Ask for Simmer API key
SIMMER_API_KEYAsk for wallet private key (required for live trading on Polymarket)
WALLET_PRIVATE_KEYAsk about settings (or confirm defaults)
Use this skill when the user wants to:
# Check account balance and positions
python scripts/status.py
# Detailed position list
python scripts/status.py --positions
API Reference:
https://api.simmer.marketsAuthorization: Bearer $SIMMER_API_KEYGET /api/sdk/portfolioGET /api/sdk/positionsUser provides wallet(s) directly in chat:
User: "Copytrade this wallet: 0x1234...abcd"
User: "What positions does 0x5678...efgh have?"
User: "Follow these whales: 0xaaa..., 0xbbb..."
→ Run with --wallets flag:
python copytrading_trader.py --wallets 0x1234...abcd
python copytrading_trader.py --wallets 0xaaa...,0xbbb... --dry-run
This is the simplest way - no setup needed, just pass wallets directly.
For automated recurring scans, wallets can be saved in environment:
| Setting | Environment Variable | Default |
|---|---|---|
| Target wallets | SIMMER_COPYTRADING_WALLETS | (none) |
| Top N positions | SIMMER_COPYTRADING_TOP_N | auto |
| Max per position | SIMMER_COPYTRADING_MAX_USD | 50 |
| Max trades/run | SIMMER_COPYTRADING_MAX_TRADES | 10 |
| Order type | SIMMER_COPYTRADING_ORDER_TYPE | GTC |
| Cadence mode | COPYTRADING_CADENCE_MODE | polling |
| Force Simmer venue | COPYTRADING_FORCE_SIMMER_VENUE | (unset) |
COPYTRADING_CADENCE_MODE controls how many trades the skill attempts per polling run. Choose based on how frequently your setup runs:
| Preset | Max trades/run | When to use |
|---|---|---|
polling | 10 | Default. Original polling-mode behavior — unchanged for existing installs |
balanced | 50 | More active polling, want a higher per-run budget |
aggressive | 200 | High-frequency polling setups |
export COPYTRADING_CADENCE_MODE=balanced
Existing installs default to polling — no behavior change unless you explicitly set this variable.
Reactor mode note:
cadence_modecontrols polling-mode trade budget only. In Reactor mode, each whale signal is handled individually by_process_reactor_signal— the per-run cap doesn't apply. If you hitDaily trade limit reached (10/day)in Reactor mode, raise the server-side limit via:curl -X PATCH "https://api.simmer.markets/api/sdk/user/settings" \ -H "Authorization: Bearer $SIMMER_API_KEY" \ -H "Content-Type: application/json" \ -d '{"max_trades_per_day": 200}'
Position cap: The per-market position cap is controlled by
SIMMER_COPYTRADING_MAX_USD(default 50). Raise it to allow larger positions per market.
Top N auto-calculation (when not specified):
Polymarket Constraints:
⚠️ Start Conservative: Begin with small amounts (
--max-usd 5-10) and--dry-runto understand how the skill behaves before scaling up.
By default, only buys execute. Pass
--rebalanceto also sell positions the whales have exited, or--whale-exitsto sell only on whale exits.
Each cycle the script:
Requires Simmer Pro. The reactor stream is gated by
users.is_pro. Upgrade at simmer.markets/dashboard if you see a 402 error on connect.
Reactor mode polls Simmer for pre-resolved whale trade signals derived from real-time on-chain settlement data. Simmer detects whale trades as they happen — even before on-chain confirmation — and delivers trade-ready signals to your skill. Unlike polling mode (which batches and rebalances), reactor reacts to each whale trade individually.
mirror_fraction × whale size, capped at max_size. No conviction tiering, no rebalance math.min_size are stored in Simmer's reactor config and applied on the server before events reach your skill — you only see matches.mirror_fraction / max_size / daily_cap still bound exposure, so more complete copying never exceeds your configured caps.--once for cron-style single poll and exit.Reactor uses Simmer-side config (not env vars), so dashboard edits take effect in seconds without restarting the skill.
# Set your watchlist via the Simmer API
curl -X PATCH "https://api.simmer.markets/api/sdk/reactor/config" \
-H "Authorization: Bearer $SIMMER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"wallets": ["0x1234...abcd", "0x5678...efgh"],
"min_size": 1000,
"max_size": 50,
"mirror_fraction": 0.01,
"daily_cap": 100,
"venue": "sim",
"enabled": true
}'
Fields:
| Field | Meaning |
|---|---|
wallets | Whale addresses to follow (EVM format, lowercased server-side) |
min_size | Minimum whale trade size to consider (shares) |
max_size | Cap on your mirror trade size (shares) |
mirror_fraction | Fraction of whale size to mirror (e.g. 0.01 = 1%) |
daily_cap | Max total spend per day in venue-native units. Enforced by this skill at execution time. The server additionally stops proposing new signals once a day's proposed total exceeds 3x this value (runaway guard) — capped feeds show skipped_daily_cap entries in reactor status rather than going silent. |
venue | sim / polymarket / kalshi |
enabled | Pause reactor by setting false — server will stop delivering events |
price_buffer | Fraction added above whale's fill price for your buy order. Default 0.02 (2%). Prevents order failures on thin books after whale clears liquidity. Range 0–0.2. |
Recommended: cron with --once — polls for pending signals once and exits. Run on a 1-minute cron for reliable, persistent coverage:
# Linux crontab
*/1 * * * * cd /path/to/skill && python copytrading_trader.py --reactor --once --live
# OpenClaw cron
openclaw cron add --name "reactor-poll" --cron "*/1 * * * *" --tz UTC --session isolated \
--message "Run: cd /path/to/skill && python3 copytrading_trader.py --reactor --once"
# One-off check
python copytrading_trader.py --reactor --once
Why cron? Reactor signals expire after a short window. A cron ensures your agent checks for signals reliably, even after reboots or process crashes. If your polling process stops, signals expire silently — cron prevents this.
Advanced: loop mode — polls every 2s continuously. Lower latency but requires a process manager (launchd, systemd, supervisor) to auto-restart on crash. Not recommended for agent runtimes with exec timeouts.
# With a process manager (launchd, systemd, supervisor)
python copytrading_trader.py --reactor
# Plain shell (will not auto-restart)
nohup python copytrading_trader.py --reactor > reactor.log 2>&1 &
Set REACTOR_POLL_INTERVAL_SECONDS to tune the polling cadence (default 2s).
Note: Reactor mode always executes live trades (venue is set in your reactor config). Use
venue: "sim"in your config to paper trade.
GET /api/sdk/reactor/pending for pre-resolved whale signalstaker_size × mirror_fraction, capped by max_size, floored at 5-share Polymarket minimum)skipped_filter reaction, no tradeSimmerClient.trade() with skill_slug="polymarket-copytrading" and source="sdk:copytrading:reactor"/api/sdk/reactor/pending/{tx_hash} and POST a mirrored reactionfailed reaction, leave signal (60s TTL clears it)[reactor] price_buffer=0.020 (from config)
[reactor] --once: single poll against /api/sdk/reactor/pending
[reactor] 0 pending signals
When a whale trade matches your watchlist:
[reactor] price_buffer=0.020 (from config)
[reactor] loop mode: polling /api/sdk/reactor/pending every 2.0s
[reactor] 1 pending signal(s)
[reactor] 0xbaa2bc... BUY 7067 shares on "Will Iran strike Iraq by April 30, 2026?"
[reactor] mirror: 70.67 shares @ $0.673 (buffer +2.0%) → GTC order placed
[reactor] ✅ mirrored — trade_id=a23dc52a, signal deleted
When Reactor signals arrive sized above Simmer's 500 $SIM per-trade cap, the skill automatically routes them to Polymarket instead of failing silently. This lets you follow whale sizing without hitting the LMSR hard cap:
[reactor] 0xbaa2bc... amount 800.00 $SIM > 500 $SIM cap → routing to polymarket
[reactor] ✅ 0xbaa2bc... mirrored 800.00 USD trade_id=a23dc52a
Edge cases:
COPYTRADING_FORCE_SIMMER_VENUE=true: disables auto-routing. Signals above 500 $SIM are capped at 500 and traded on Simmer venue.sim venue signals.Reactor mode runs in your harness, so SimmerClient.trade() signs locally with your existing wallet setup (managed, or external via WALLET_PRIVATE_KEY). No server-side signing, no OWS dependency, no new keys to manage.
Copytrading supports $SIM mode — mirror whale positions using simulated money on Simmer's LMSR markets. No wallet or USDC required.
# Paper trade with $SIM (explicit)
python copytrading_trader.py --venue sim --wallets 0x123... --live
# Auto-detect: if your account has no linked wallet, $SIM is used automatically
python copytrading_trader.py --wallets 0x123... --live
In $SIM mode:
sdk:copytrading)Run a scan (dry run by default — no trades):
python copytrading_trader.py
Execute real trades:
python copytrading_trader.py --live
Check positions only:
python copytrading_trader.py --positions
View current config:
python copytrading_trader.py --config
Override wallets for one run:
python copytrading_trader.py --wallets 0x123...,0x456...
Full rebalance mode (includes sells):
python copytrading_trader.py --rebalance
Sell when whales exit positions:
python copytrading_trader.py --whale-exits
After each run, message the user with:
Example output to share:
🐋 Copytrading Scan Complete
Configuration:
• Following 2 wallets
• Top 10 positions, max $50 each
• Balance: $250.00 USDC
Fetched positions:
• 0x1234...abcd: 15 positions
• 0x5678...efgh: 22 positions
• Combined: 28 unique markets
• Conflicts skipped: 2
Top 10 by allocation:
1. "Will BTC hit $100k?" - 18.5% → BUY YES
2. "Trump pardons X?" - 12.3% → BUY NO
3. "Fed rate cut Jan?" - 9.8% → Already held
...
Trades executed: 4 buys ($180 total)
• Bought 45 YES shares on "Will BTC hit $100k?" @ $0.82
• Bought 120 NO shares on "Trump pardons X?" @ $0.15
...
Next scan in 4 hours.
User: "Copytrade 0x1234...abcd"
→ Run: python copytrading_trader.py --wallets 0x1234...abcd
→ Report what positions that wallet has and what trades would execute
User: "What is 0x5678...efgh holding?"
→ Run: python copytrading_trader.py --wallets 0x5678...efgh --dry-run
→ Show their positions without trading
User: "Follow these wallets: 0xaaa..., 0xbbb..., 0xccc..."
→ Run: python copytrading_trader.py --wallets 0xaaa...,0xbbb...,0xccc...
→ Aggregate positions across all wallets, report results
User: "Copytrade this whale but only top 5 positions"
→ Run: python copytrading_trader.py --wallets 0x... --top-n 5
User: "How are my positions doing?"
→ Run: python copytrading_trader.py --positions
→ Show current Polymarket positions with P&L
User: "Show copytrading config"
→ Run: python copytrading_trader.py --config
→ Display current settings
User: "Sell positions that whales have exited"
→ Run: python copytrading_trader.py --whale-exits
→ Compares your positions to whales, sells any they've closed
User: "Do a full rebalance to match the whales"
→ Run: python copytrading_trader.py --rebalance
→ Includes both buys AND sells to match whale allocations
Common approaches:
The skill works best when:
When following multiple wallets, positions are scored by conviction:
max_usd)High-conviction positions are prioritized in Top N selection. Single-wallet positions still trade, but with reduced size. Using just 1 wallet disables conviction scoring (all positions get full sizing).
"Order too small" / "below minimum (5)"
--max-usd or reduce --top-n to concentrate into fewer positions"No wallets specified"
"Agent has no USDC balance"
--venue sim for $SIM paper trading"Conflict skipped"
"All N positions filtered (X conflicts, Y drifted, Z stale)"
"Insufficient balance"
"Market could not be imported"
"External wallet requires a pre-signed order"
WALLET_PRIVATE_KEY is not set in the environmentexport WALLET_PRIVATE_KEY=0x<your-polymarket-wallet-private-key>"Balance shows $0 but I have funds on Polygon"
Frequently asked questions
Mirror positions from successful Polymarket traders using the Simmer SDK. Two modes share the same skill, use whichever fits your strategy.
The source record exposes this install command: npx skills add https://github.com/SpartanLabsXyz/simmer-sdk --skill "skills/polymarket-copytrading". Inspect the command and pinned source before running it.
Static rules flagged exec-script, network in the source; the page lists the matching lines and excerpts.
Alternatives
coreyhaines31/marketingskills
When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program
garrytan/gbrain
End-to-end discipline for turning any large data source (audio libraries, email takeouts, document corpora, chat exports, API dumps) into brain pages at scale. The lifecycle spine: SCHEMA → ACCESS → TRIAL → EVALUATE → IMPROVE → CODIFY → TEST → SKILLIFY → BULK → MONITOR. State is tracked in a durable JSON manifest (see MANIFEST-PATTERN.md) so any crash, session boundary, or subagent fan-out resumes from ground truth instead of memory.
alirezarezvani/claude-skills
App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklist
dotnet/skills
Migrates .NET test projects from VSTest to Microsoft.Testing.Platform (MTP). Use when user asks to "migrate to MTP", "switch from VSTest", "enable Microsoft.Testing.Platform", "use MTP runner", set OutputType=Exe only for test projects in Directory.Build.props, or mentions EnableMSTestRunner, EnableNUnitRunner, or UseMicrosoftTestingPlatformRunner. USE FOR: MTP behavioral differences vs VSTest (exit code 8, zero tests discovered, --ignore-exit-code, TESTINGPLATFORM_EXITCODE_IGNORE); centralizing