Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
alsk1992 avatar

Predictfun

  • 18 installs
  • 610 repo stars
  • Updated June 26, 2026
  • alsk1992/cloddsbot

Predictfun (in cloddsbot) is a skill that integrates the Predict.fun BNB Chain prediction market for market data, order placement, and position redemption.

About

This skill connects a bot to Predict.fun, a BNB Chain prediction market with binary and categorical outcomes. A developer uses it to search markets, place and cancel buy/sell orders, check USDT balance and positions, and redeem or merge outcome tokens. It signs orders with a wallet key and requires an API key for market data.

  • Integrates Predict.fun, a BNB Chain prediction market with binary and categorical outcomes
  • Search markets, place/cancel orders, check balance and positions
  • Redeem settled positions and merge/split outcome tokens

Predictfun by the numbers

  • 18 all-time installs (skills.sh)
  • Ranked #725 of 1,106 Finance & Trading skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

predictfun capabilities & compatibility

Requires PREDICTFUN_API_KEY and PREDICTFUN_PRIVATE_KEY; BNB Chain gas (chainId 56).

Use cases
trading
Pricing
Bring your own API key
From the docs

What predictfun says it does

Predict.fun prediction market trading (BNB Chain)
SKILL.md
a BNB Chain prediction market with binary and categorical outcomes
SKILL.md
npx skills add https://github.com/alsk1992/cloddsbot --skill predictfun

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs18
repo stars610
Last updatedJune 26, 2026
Repositoryalsk1992/cloddsbot

What it does

Trade and manage positions on the Predict.fun BNB Chain prediction market from a bot.

When should I use this skill?

You want to trade or manage positions on Predict.fun from a bot.

What you get

A bot that trades, redeems, and merges positions on Predict.fun.

By the numbers

  • 3 market-data commands
  • 5 trading commands
  • chainId 56

Files

SKILL.mdMarkdownGitHub ↗

Predict.fun

Full integration with Predict.fun, a BNB Chain prediction market with binary and categorical outcomes.

Quick Start

# Set credentials
export PREDICTFUN_API_KEY="your-api-key"
export PREDICTFUN_PRIVATE_KEY="0x..."

# Search markets
/pf markets crypto

# Check balance
/pf balance

# Place order
/pf buy <marketId> YES 0.55 100

Commands

Market Data

CommandDescription
/pf markets [query]Search markets
/pf market <id>Get market details
/pf book <marketId>Show orderbook

Trading

CommandDescription
/pf buy <marketId> <outcome> <price> <size>Place buy order
/pf sell <marketId> <outcome> <price> <size>Place sell order
/pf cancel <orderId>Cancel order
/pf cancelallCancel all orders
/pf ordersList open orders

Examples:

/pf buy market-123 YES 0.55 100   # Buy YES at 55c, 100 shares
/pf sell market-123 NO 0.40 50    # Sell NO at 40c, 50 shares
/pf cancel order-abc              # Cancel specific order

Account

CommandDescription
/pf balanceCheck USDT balance
/pf positionsView open positions
/pf redeem <conditionId>Redeem settled positions
/pf merge <conditionId> <amount>Merge outcome tokens

Configuration

# Required for market data
export PREDICTFUN_API_KEY="your-api-key"

# Required for trading
export PREDICTFUN_PRIVATE_KEY="0x..."

Or in ~/.clodds/clodds.json:

{
  "trading": {
    "predictfun": {
      "apiKey": "${PREDICTFUN_API_KEY}",
      "privateKey": "${PREDICTFUN_PRIVATE_KEY}"
    }
  }
}

Features

  • BNB Chain - Fast, low-cost transactions (chainId 56)
  • Binary & Categorical - Multiple market types
  • Order Signing - Secure wallet signatures via SDK
  • Position Management - Track & redeem positions
  • Merge/Split - Convert between collateral and outcome tokens

Trading Notes

1. Index Sets: Binary markets use indexSet = 1 for YES, indexSet = 2 for NO 2. Merging: Requires equal amounts of all outcome tokens 3. Fees: Check platform for current fee structure

Resources

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.