Skip to main content
skill CX Codex

grimoire-polymarket — Claude Code skill: what it does, how to install

Discovers Polymarket prediction markets and manages CLOB orderbook trades through the Grimoire venue CLI wrapper.

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

What grimoire-polymarket does

This skill connects Claude Code to Polymarket prediction markets using the Grimoire venue adapter. It helps the assistant locate active events and filter outcomes by sport, category, or keyword. The agent inspects CLOB orderbook depth, monitors midpoints, and reviews wallet positions. Flag --format json ensures CLI output remains clean for programmatic processing.

Order placement targets Polygon (Chain ID 137), routing limit options (GTC, GTD) or market execution (FOK, FAK). Critical operations like bridge handling, wallet transfers, and contract approvals remain blocked in this wrapper. Agents cannot trigger those commands.

Without the official polymarket CLI utility installed on your path, commands fail immediately. Submitting trades also requires exporting POLYMARKET_PRIVATE_KEY in your environment.

What it helps with

  • search active Polymarket events by topic or league
  • read CLOB orderbook midpoint prices and book depth
  • inspect wallet trade history and current token balances
  • route limit and market orders on Polygon

Example prompts for the agent

  • Search active Polymarket events about crypto with grimoire venue polymarket search-markets
  • Get current market info and prices in JSON format via grimoire venue polymarket info --format json
  • Check open orders and wallet positions on Polymarket

How to install grimoire-polymarket

1Skills CLI (Vercel)

npx skills add franalgaba/grimoire --skill grimoire-polymarket -a claude-code

2Manually: put the files in place

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

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

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

Questions about grimoire-polymarket

How to install grimoire-polymarket in Claude Code?

Run npx skills add franalgaba/grimoire --skill grimoire-polymarket -a claude-code. The skill writes to ~/.claude/skills/grimoire-polymarket/SKILL.md.

What does grimoire-polymarket do?

It equips coding assistants with CLI tools to discover Polymarket events, inspect CLOB orderbooks, and submit trading orders.

What dependencies are required beforehand?

You need the official polymarket binary installed via brew tap Polymarket/polymarket-cli && brew install polymarket. Trading operations also need POLYMARKET_PRIVATE_KEY.

Similar skills

Everything for Finance and business →

From the same set2

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor