CloddsBot-main/src/skills/bundled/predictfun/SKILL.md
Predict.fun prediction market trading (BNB Chain)
npx skillsauth add shreed27/dain predictfunInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Full integration with Predict.fun, a BNB Chain prediction market with binary and categorical outcomes.
# 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
| Command | Description |
|---------|-------------|
| /pf markets [query] | Search markets |
| /pf market <id> | Get market details |
| /pf book <marketId> | Show orderbook |
| Command | Description |
|---------|-------------|
| /pf buy <marketId> <outcome> <price> <size> | Place buy order |
| /pf sell <marketId> <outcome> <price> <size> | Place sell order |
| /pf cancel <orderId> | Cancel order |
| /pf cancelall | Cancel all orders |
| /pf orders | List 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
| Command | Description |
|---------|-------------|
| /pf balance | Check USDT balance |
| /pf positions | View open positions |
| /pf redeem <conditionId> | Redeem settled positions |
| /pf merge <conditionId> <amount> | Merge outcome tokens |
# 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}"
}
}
}
indexSet = 1 for YES, indexSet = 2 for NOdata-ai
Weather betting - NOAA data for Polymarket weather markets
tools
Voice recognition, wake words, and voice-controlled trading
data-ai
Virtuals Protocol AI Agent marketplace (Base chain)
testing
Verify agent identity using ERC-8004 on-chain registry