Rechercher

PythonReactSEOPDF
OpenClaw

polymarket

Browse, trade, and manage positions on Polymarket prediction markets via the polymarket CLI. Use when: user asks about prediction market odds, wants to search/browse markets, check prices, place/cancel orders, view portfolio, or interact with Polymarket CLOB. Supports JSON output for programmatic use. NOT for: general crypto trading (use other tools), non-Polymarket prediction platforms.

guzus0 installations selon la source☆ 0 Étoiles du dépôtv1.0.0

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install guzus/mgnlia-polymarket

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

Polymarket CLI Skill

Trade prediction markets on Polymarket from the terminal. All commands use the polymarket binary.

Prerequisites

Binary must be installed. If missing:

curl -sSL https://raw.githubusercontent.com/Polymarket/polymarket-cli/main/install.sh | sh
# Or build from source:
# cargo install --path /tmp/polymarket-cli

Authentication

Most read commands work without a wallet. Trading requires setup:

polymarket setup                    # Interactive wizard
# Or manually:
polymarket wallet create            # New wallet
polymarket wallet import 0xKEY...   # Import existing
polymarket approve set              # Approve contracts (needs MATIC)

Config stored at ~/.config/polymarket/config.json.

Output

Always use -o json when calling from scripts/agents for machine-readable output:

polymarket -o json markets list --limit 5
polymarket -o json clob midpoint TOKEN_ID

Common Workflows

Browse & Research
# Search markets
polymarket markets search "bitcoin" --limit 10
polymarket -o json markets search "trump" --limit 5

# Get specific market
polymarket markets get MARKET_ID_OR_SLUG

# List by category
polymarket events list --tag politics --active true --limit 20
polymarket events list --tag crypto --limit 10

# Available tags
polymarket tags list
Check Prices & Orderbook
# Price info (needs token ID from market data)
polymarket clob price TOKEN_ID --side buy
polymarket clob midpoint TOKEN_ID
polymarket clob spread TOKEN_ID

# Full orderbook
polymarket clob book TOKEN_ID

# Price history
polymarket clob price-history TOKEN_ID --interval 1d --fidelity 30
# Intervals: 1m, 1h, 6h, 1d, 1w, max

# Batch queries (comma-separated)
polymarket clob midpoints "TOKEN1,TOKEN2"
Trading (Requires Wallet)
# Limit order: buy 10 shares at $0.45
polymarket clob create-order --token TOKEN_ID --side buy --price 0.45 --size 10

# Market order: buy $5 worth
polymarket clob mar...

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/guzus/mgnlia-polymarket
Version
1.0.0
Commit
6eb2fed047499c7145e5f9bfe574666a6ef48538
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

README

Polymarket Skill

Interact with Polymarket prediction markets via the official polymarket CLI.

Installation

bash skills/polymarket/scripts/install.sh

This will:

  1. Try installing pre-built binary
  2. Fall back to building from source if GLIBC incompatible
  3. Install to ~/.cargo/bin/polymarket

Quick Start

# Search markets (no wallet needed)
polymarket -o json markets search "bitcoin" --limit 5

# Get specific market
polymarket markets get will-trump-win-2024

# Check price
polymarket -o json clob midpoint TOKEN_ID

# See SKILL.md for full documentation
# See EXAMPLES.md for common patterns

Files

  • SKILL.md — Complete reference for OpenClaw agents
  • EXAMPLES.md — Common usage patterns and scripts
  • scripts/install.sh — Installation script
  • scripts/search.sh — Search markets helper
  • scripts/get-market.sh — Get market details
  • scripts/check-price.sh — Check token price

Requirements

  • Rust (auto-installed by install.sh if missing)
  • For trading: MATIC on Polygon for gas

References

Contenu extrait

SKILL.md
# Polymarket CLI Skill

Trade prediction markets on Polymarket from the terminal. All commands use the `polymarket` binary.

## Prerequisites

Binary must be installed. If missing:
```bash
curl -sSL https://raw.githubusercontent.com/Polymarket/polymarket-cli/main/install.sh | sh
# Or build from source:
# cargo install --path /tmp/polymarket-cli
```

## Authentication

Most read commands work without a wallet. Trading requires setup:
```bash
polymarket setup                    # Interactive wizard
# Or manually:
polymarket wallet create            # New wallet
polymarket wallet import 0xKEY...   # Import existing
polymarket approve set              # Approve contracts (needs MATIC)
```

Config stored at `~/.config/polymarket/config.json`.

## Output

**Always use `-o json` when calling from scripts/agents** for machine-readable output:
```bash
polymarket -o json markets list --limit 5
polymarket -o json clob midpoint TOKEN_ID
```

## Common Workflows

### Browse & Research

```bash
# Search markets
polymarket markets search "bitcoin" --limit 10
polymarket -o json markets search "trump" --limit 5

# Get specific market
polymarket markets get MARKET_ID_OR_SLUG

# List by category
polymarket events list --tag politics --active true --limit 20
polymarket events list --tag crypto --limit 10

# Available tags
polymarket tags list
```

### Check Prices & Orderbook

```bash
# Price info (needs token ID from market data)
polymarket clob price TOKEN_ID --side buy
polymarket clob midpoint TOKEN_ID
polymarket clob spread TOKEN_ID

# Full orderbook
polymarket clob book TOKEN_ID

# Price history
polymarket clob price-history TOKEN_ID --interval 1d --fidelity 30
# Intervals: 1m, 1h, 6h, 1d, 1w, max

# Batch queries (comma-separated)
polymarket clob midpoints "TOKEN1,TOKEN2"
```

### Trading (Requires Wallet)

```bash
# Limit order: buy 10 shares at $0.45
polymarket clob create-order --token TOKEN_ID --side buy --price 0.45 --size 10

# Market order: buy $5 worth
polymarket clob mar...
README
# Polymarket Skill

Interact with Polymarket prediction markets via the official `polymarket` CLI.

## Installation

```bash
bash skills/polymarket/scripts/install.sh
```

This will:
1. Try installing pre-built binary
2. Fall back to building from source if GLIBC incompatible
3. Install to `~/.cargo/bin/polymarket`

## Quick Start

```bash
# Search markets (no wallet needed)
polymarket -o json markets search "bitcoin" --limit 5

# Get specific market
polymarket markets get will-trump-win-2024

# Check price
polymarket -o json clob midpoint TOKEN_ID

# See SKILL.md for full documentation
# See EXAMPLES.md for common patterns
```

## Files

- `SKILL.md` — Complete reference for OpenClaw agents
- `EXAMPLES.md` — Common usage patterns and scripts
- `scripts/install.sh` — Installation script
- `scripts/search.sh` — Search markets helper
- `scripts/get-market.sh` — Get market details
- `scripts/check-price.sh` — Check token price

## Requirements

- Rust (auto-installed by install.sh if missing)
- For trading: MATIC on Polygon for gas

## References

- [polymarket-cli GitHub](https://github.com/Polymarket/polymarket-cli)
- [Polymarket Docs](https://docs.polymarket.com)

Skills associés

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

dojo.md

edholofy

University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning req...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

wps-macos-helper

lethehades

macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance