by texsellix
Polymarket from your terminal. Copy whales, run autonomous strategies, place orders with one command. CLI-only, no dashboard, no setup.
Requires a passing catalog security scan. Resolve the flagged issues and resubmit to enable featuring.
# Add to your Claude Code skills
git clone https://github.com/texsellix/polymarket-trading-botGuides for using ai agents skills like polymarket-trading-bot.
Last scanned: 5/30/2026
{
"issues": [
{
"type": "clone-failed",
"message": "Could not clone repository",
"severity": "medium"
}
],
"status": "WARNING",
"scannedAt": "2026-05-30T15:27:49.046Z",
"npmAuditRan": false,
"pipAuditRan": false
}Polymarket from your terminal.
Mirror the smartest wallets, run autonomous strategies, and place orders with one command. No dashboard, no signup, no config files.
30-second start · Commands · SDK · AI agents · Architecture
npm i -g polybot # installs and prompts for your wallet key once
polybot scan # see trending markets
polybot copy --target 0xWhale --size-multiplier 0.05 # paper-trade by default
That's it. No .env to edit, no database to set up, no account to create.
The first time you install Polybot it will ask for your Polygon wallet private key. The key is encrypted before it leaves your machine and stored in a hosted vault — Polybot can sign Polymarket orders for you, but the plaintext key is never written to disk and never logged.
Paper-trading is on by default. Pass
--liveto commit real USDC.
| Command | What it does |
|---|---|
polybot login |
Connect a wallet (one-time setup, also runs automatically after install) |
polybot scan [--limit 25] |
List trending Polymarket markets |
polybot quote --market <slug> |
Live BUY/SELL quote for a market |
polybot trade --market <slug> --side BUY --usdc 25 |
Place a single order |
polybot copy --target 0xWALLET [--size-multiplier 0.05] |
Mirror a Polymarket whale |
polybot auto [--strategies arbitrage,endgame] |
Run autonomous strategies (arbitrage / momentum / mean-reversion / endgame) |
polybot balances |
USDC and CTF allowances on your wallet |
polybot positions |
Open positions with PnL |
polybot watch |
Live stream of authenticated trade/order events |
polybot wallets list |
Show connected wallets |
polybot wallets forget <addr> |
Disconnect a wallet |
Every command supports --live to commit real USDC. Without it you're in paper mode.
By default Polybot signs as a Polygon EOA. For Polymarket Magic / proxy wallets or Gnosis Safe, set:
POLY_FUNDER_ADDRESS=0xYourPolymarketProxy
POLY_SIGNATURE_TYPE=1 # 1 = proxy, 2 = safe, 0 = EOA (default)
polybot auto runs any combination of:
Combine them: polybot auto --strategies arbitrage,momentum --per-trade 25 --live.
Every signal goes through the risk engine before execution: position caps, daily loss limits, slippage guards, market black/whitelists. Paper mode is enforced at the engine level — strategies cannot bypass it.
polybot copy --target 0xWhale --size-multiplier 0.05 --max-trade 50 --live
Polybot watches the target wallet on the Polymarket Data API and mirrors every entry/exit at a fraction of the original size. Per-market cooldowns and slippage guards prevent you from chasing a moving price.
Find good targets with:
polybot scan --limit 50
Or browse the Polymarket leaderboard.
Embed Polybot in your own backend, AI agent, or CI job:
npm i @polybot/sdk
import { Polybot } from "@polybot/sdk";
const bot = await Polybot.create({
privateKey: process.env.PRIVATE_KEY!,
paperTrading: false,
});
// Manual order
await bot.trade({
market: "trump-2028",
side: "BUY",
outcome: "YES",
usdcSize: 25,
});
// Mirror a whale
bot.copy.addTarget({
wallet: "0xWhale",
sizeMultiplier: 0.05,
maxTradeUsd: 50,
});
await bot.copy.start();
// Or run autonomous strategies
await bot.auto.start({ strategies: ["arbitrage", "endgame"], perTradeUsd: 25 });
Full API: packages/sdk/README.md.
Polybot is the cleanest Polymarket layer for any LLM agent — Claude, GPT, Gemini, Vercel AI SDK, MCP — because everything important is one TypeScript call away:
import { Polybot } from "@polybot/sdk";
const bot = await Polybot.create({ privateKey, paperTrading: true });
// Tool 1: market discovery
const trending = await bot.trendingMarkets(25);
// Tool 2: live quote
const market = await bot.findMarket("trump-2028");
// Tool 3: place an order (paper or live)
await bot.trade({ market: market.slug!, side: "BUY", outcome: "YES", usdcSize: 25 });
Wire those into your agent's tool list and you have a fully-functioning Polymarket trader. No browser automation. No screen scraping. Direct REST + EIP-712 signing. The risk engine still gates every order, so a misbehaving agent cannot bypass position caps or daily loss limits.
polybot/
└── packages/
├── cli/ # 📦 polybot — the npm CLI you install
├── sdk/ # 📦 @polybot/sdk — embed Polybot in any Node app
├── core/ # Gamma, CLOB v2, Data API, WebSocket clients
└── engine/ # RiskManager, WalletWatcher, strategies
Four packages, no backend services to run, no database to provision. Every command goes through the same code path — CLI is just @polybot/sdk plus a kleur-coloured front-end.
~/.polybot/wallets.json.privateKey, secret, passphrase automatically.See SECURITY.md for the threat model and disclosure policy.
That's it. No Docker, no Postgres, no Redis.
PRs welcome — see CONTRIBUTING.md. The codebase is small on purpose: keep it that way.
MIT — see LICENSE.
polymarket-trading-bot is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by texsellix. Polymarket from your terminal. Copy whales, run autonomous strategies, place orders with one command. CLI-only, no dashboard, no setup. It has 235 GitHub stars.
polymarket-trading-bot returned warnings in SkillsLLM's automated security scan. It has no critical vulnerabilities, but review the flagged issues in the Security Report section before adding it to your workflow.
Clone the repository with "git clone https://github.com/texsellix/polymarket-trading-bot" and add it to your Claude Code skills directory (see the Installation section above).
polymarket-trading-bot is primarily written in TypeScript. It is open-source under texsellix on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh polymarket-trading-bot against similar tools.
No comments yet. Be the first to share your thoughts!