Polybook Skill

Place YES or NO trades on active Polybook btc-up-and-down-5min- markets via buy API.

Updated Feb 1, 2026
One-click install
npx skills add https://github.com/sanchaymittal/polybook --skill polybook-skill
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: Polybook Skill
Source: https://github.com/sanchaymittal/polybook/tree/main
Command: npx skills add https://github.com/sanchaymittal/polybook --skill polybook-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires axios, dotenv, viem, @erc7824/nitrolite, ws, @types/ws, and includes scripts (resource) and assets (resource) components.

What problem does it solve?

Automate autonomous agent participation in Polybook by enabling buy actions through a minimal buy API.

Core Features & Use Cases

  • Enables trading on active btc-up-and-down-5min- markets via buy YES/NO endpoints.
  • Handles sign-and-submit flow to the CLOB and supports local/self-hosted deployments.
  • Supports both public gateways and local self-hosted endpoints for testing and production.

Quick Start

Place a YES or NO buy on the latest btc-up-and-down-5min- market using the provided endpoints.

Frequently Asked Questions about Polybook Skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate prediction market trading as an autonomous agent?▼

To automate prediction market trading, you use minimal buy API endpoints to place YES or NO orders. The Skill handles signing and submitting trades to a CLOB, allowing agents to participate in active markets automatically.

What is the process for placing a buy order on a Polybook market?▼

Placing a buy order involves calling /market/buy-yes or /market/buy-no with price and shares parameters. The system validates the inputs, signs the transaction, and submits it to the CLOB for execution on active markets.

Can I use a local self-hosted gateway for x402-enabled market buys?▼

Yes, x402-enabled buys support both public gateways and local self-hosted endpoints. This allows you to route autonomous agent transactions through your own infrastructure for testing or production environments.

Does this autonomous agent trading Skill work with specific market types?▼

The autonomous agent trading functionality applies specifically to active btc-up-and-down-5min- markets. It targets these rapid-cycle prediction markets to execute signed buy orders via the CLOB.

What dependencies do I need to run an autonomous agent for CLOB order placement?▼

Running CLOB order placement requires dependencies like viem for signing, axios for API requests, dotenv for configuration, and ws for websocket connections. These support the sign-and-submit flow to the CLOB.

Why should I use a minimal buy API instead of full market-making tools for prediction markets?▼

A minimal buy API focuses specifically on placing YES or NO orders rather than full market-making strategies. This lightweight approach suits autonomous agents needing direct sign-and-submit flows to the CLOB without overhead.