Skip to main content
skill CX Codex

polymarket · starchild-ai-agent — Claude Code skill: trading and installation

This skill searches Polymarket markets, checks positions, and helps place or cancel CLOB V2 orders from a Privy EOA wallet.

no license 237 installs ★ 33 updated 2026-10-22

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add Starchild-ai-agent/official-skills --skill polymarket -a claude-code
Open on GitHub

What polymarket does

The skill works with Polymarket prediction markets through CLOB V2. It can find events, return YES and NO token IDs with current prices, and show balances, positions, open orders, and recent trades. An order is prepared as an EIP-712 payload, signed through wallet_sign_typed_data, then submitted by a script.

The package includes search.py, status.py, prepare_order.py, post_order.py, cancel.py, close_positions.py, setup.py, and auth.py. Before the first order, the wallet needs USDC.e on Polygon; setup.py wraps it into pUSD and sets the required approvals. Without USDC.e on Polygon and the pUSD setup, the first order will fail. Authentication uses POLY_API_KEY, POLY_SECRET, POLY_PASSPHRASE, and POLY_WALLET.

What it helps with

  • find a market from a short keyword
  • inspect balances, positions, and open orders
  • prepare and submit a BUY or SELL order
  • cancel one order or cancel every order
  • build SELL orders for current positions

Example prompts for the agent

  • Search for markets using the short keyword ceasefire and show the YES and NO tokens.
  • Prepare a purchase of token 7892825...50228 at price 0.65 with size 10, then ask me to sign it.
  • Show my positions and open orders, then close the position for the selected token.

How to install polymarket

1Skills CLI (Vercel)

npx skills add Starchild-ai-agent/official-skills --skill polymarket -a claude-code

2Manually: put the files in place

~/.claude/skills/polymarket/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/polymarket/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about polymarket

How do I install polymarket in Claude Code?

Run npx skills add Starchild-ai-agent/official-skills --skill polymarket -a claude-code, then check ~/.claude/skills/polymarket/SKILL.md.

What does the polymarket skill do?

It searches Polymarket markets, reports positions and open orders, and prepares or submits CLOB V2 trades. EIP-712 signing is handled through wallet_sign_typed_data.

What is needed before the first trade?

The wallet needs USDC.e on Polygon, plus POLY_API_KEY, POLY_SECRET, POLY_PASSPHRASE, and POLY_WALLET. The setup.py script converts USDC.e to pUSD and configures the CLOB V2 approvals.

Similar skills

All skills for Finance and business →

polymarket by other authors comes first.

polymarket Hermes Agent + Teknium Pulls Polymarket data through its public REST APIs: markets, prices, orderbooks and history. Use it when you want the odds the market gives some event. CX Codex +1 282installs polymarket machina-sports Read sports markets on Polymarket, including outcome prices, events, and order books. Useful for checking which side market prices favor. CX Codex +1 1,400installs polymarket-live-executor mjunaidca polymarket-live-executor places real BUY and SELL orders on Polymarket. Every trade requires human confirmation before execution. CX Codex +1 170installs grimoire-polymarket franalgaba grimoire-polymarket discovers Polymarket prediction markets and manages CLOB orderbook trades through the Grimoire venue CLI wrapper. CX Codex +1 11,900installs Polymarket Data by PolymarketScan jordan-s648 The Polymarket Data by PolymarketScan MCP server feeds an agent live Polymarket data: whale trades, market prices, trader profiles and leaderboards. CX Codex +1 39,483installs polymarket-analyzer mjunaidca polymarket-analyzer scans Polymarket prediction markets for arbitrage, order book imbalances, and volume spikes. Useful for traders evaluating price inefficiencies without API keys. CX Codex +1 494installs web3-polymarket Polymarket web3-polymarket — a skill for Polymarket on Polygon: auth, order placement, market data, WebSocket streams and gasless transactions. CX Codex +1 611installs polymarket-copy-trading-bot reason-machines polymarket-copy-trading-bot configures a TypeScript bot that monitors target Polymarket wallets and mirrors BUY orders on Polygon mainnet. Useful for automated copy trading via CLOB API. CX Codex +1 812installs

From the same set66

The whole set →

Project sponsors

Companies that keep this analytics open