Skip to content
Back to skills

Opinion

ASecurity

Opinion.trade prediction market (BNB Chain CLOB)

  • 2,496 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added February 10, 2026
blockchainbashapidocumentation

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned February 10, 2026

npx -y skills add alsk1992/CloddsBot --skill opinion --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Opinion?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Opinion
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/alsk1992-opinion/badge)](https://www.skillsdirectory.com/skills/alsk1992-opinion)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: opinion
description: Opinion.trade prediction market (BNB Chain CLOB)
emoji: "🗳️"
commands:
  - /op
---

# Opinion.trade

Full integration with Opinion.trade, a BNB Chain prediction market with on-chain CLOB (Central Limit Order Book).

## Quick Start

```bash
# Set credentials
export OPINION_API_KEY="your-api-key"
export OPINION_PRIVATE_KEY="0x..."

# Search markets
/op markets trump

# Get price
/op price 813

# Place order
/op buy 813 YES 0.55 100
```

## Commands

### Market Data

| Command | Description |
|---------|-------------|
| `/op markets [query]` | Search markets |
| `/op market <id>` | Get market details |
| `/op price <id>` | Current prices |
| `/op book <tokenId>` | Show orderbook |

### Trading

| Command | Description |
|---------|-------------|
| `/op buy <marketId> <outcome> <price> <size>` | Place buy order |
| `/op sell <marketId> <outcome> <price> <size>` | Place sell order |
| `/op cancel <orderId>` | Cancel order |
| `/op cancelall` | Cancel all orders |
| `/op orders` | List open orders |

**Examples:**
```bash
/op buy 813 YES 0.55 100     # Buy YES at 55c, 100 shares
/op sell 813 NO 0.40 50      # Sell NO at 40c, 50 shares
/op cancel abc123            # Cancel specific order
```

### Account

| Command | Description |
|---------|-------------|
| `/op balance` | Check USDT balance |
| `/op positions` | View open positions |

## Configuration

```bash
# Required for market data
export OPINION_API_KEY="your-api-key"

# Required for trading
export OPINION_PRIVATE_KEY="0x..."
export OPINION_MULTISIG_ADDRESS="0x..."  # Vault/funder address
```

## Features

- **BNB Chain** - Fast, low-cost transactions
- **On-chain CLOB** - Fully decentralized orderbook
- **Prediction Markets** - Politics, crypto, sports, and more
- **Real-time WebSocket** - Live price updates
- **EIP-712 Signing** - Secure order authentication

## Resources

- [Opinion.trade App](https://opinion.trade)
- [API Documentation](https://docs.opinion.trade)

Files in this skill

  • SKILL.md1.9 KB
  • index.ts15.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.