← Back to Skills Marketplace
aratox666-max

Baozi Prediction Markets

by ARATOX · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
66
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install baozi-prediction-markets
Description
Access Solana prediction markets on Baozi. Use when user wants to check market odds, get betting quotes, list active markets, analyze opportunities, or place...
README (SKILL.md)

\r \r

Baozi Prediction Markets Skill \r

\r

When to Use This Skill \r

\r Trigger this skill when the user asks about: \r

  • "prediction markets on Solana" \r
  • "Baozi odds" or "betting on [event]" \r
  • "list active markets" \r
  • "what are the odds for BTC" \r
  • "check my positions" \r
  • "place a bet on [outcome]" \r \r

Protocol Information \r

\r Program ID: FWyTPzm5cfJwRKzfkscxozatSxF6Qu78JQovQUwKPruJ (Baozi Markets V4.7.6) \r REST API: https://baozi.bet/api/ \r MCP Server: @baozi.bet/mcp-server -- provides 76 pre-built tools \r \r

Market Layers \r

\r | Layer | Fee | Who Can Create | Resolution | \r |-------|-----|-----------------|------------| \r | Official | 2.5%% | Admin only | Grandma Mei (AI oracle) | \r | Lab | 3%% | Anyone | Creator OR Council | \r | Private | 2%% | Invite only | Creator OR Council | \r \r

Available Tools \r

\r

1. List Active Markets \r

\r To list all active boolean markets: \r \r

echo '{\"name\":\"list_markets\",\"arguments\":{\"layer\":\"Lab\",\"status\":\"Active\"}}' | npx @baozi.bet/mcp-server \r
``` \r
 \r
For race markets (multi-outcome): \r
 \r
```bash \r
echo '{\"name\":\"list_race_markets\",\"arguments\":{\"layer\":\"Lab\",\"status\":\"Active\"}}' | npx @baozi.bet/mcp-server \r
``` \r
 \r
### 2. Get Market Details \r
 \r
```bash \r
echo '{\"name\":\"get_market\",\"arguments\":{\"market\":\"MARKET_PUBKEY\"}}' | npx @baozi.bet/mcp-server \r
``` \r
 \r
### 3. Get Betting Quote \r
 \r
```bash \r
echo '{\"name\":\"get_quote\",\"arguments\":{\"market\":\"MARKET_PUBKEY\",\"side\":\"Yes\",\"amount\":1.0}}' | npx @baozi.bet/mcp-server \r
``` \r
 \r
### 4. Check Wallet Positions \r
 \r
```bash \r
echo '{\"name\":\"get_positions\",\"arguments\":{\"wallet\":\"WALLET_ADDRESS\"}}' | npx @baozi.bet/mcp-server \r
``` \r
 \r
### 5. Analyze Market \r
 \r
```bash \r
echo '{\"name\":\"analyze-market\",\"arguments\":{\"market\":\"MARKET_PUBKEY\"}}' | npx @baozi.bet/mcp-server \r
``` \r
 \r
## Security Notes \r
 \r
- **Agent builds transactions, user signs them** -- No private keys in the agent \r
- Test on devnet first using free SOL from faucets \r
- Enable betting by setting `BAOZI_LIVE=1` environment variable \r
- Minimum bet: 0.01 SOL \r
- Maximum bet: 100 SOL per transaction \r
 \r
## Affiliate System \r
 \r
On first use, the skill automatically checks if your wallet has an affiliate code registered. \r
If not, it registers one automatically using your wallet address as the code. \r
 \r
## Error Handling \r
 \r
Clear error messages for: \r
- Invalid market ID \r
- Insufficient SOL balance \r
- Market closed \r
- Bet amount below minimum (0.01 SOL) \r
- Bet amount above maximum (100 SOL) \r
Usage Guidance
Review this skill carefully before installing. It may be reasonable if you already trust Baozi and its MCP npm package, but use devnet first, do not share private keys, leave BAOZI_LIVE unset until you intentionally want live betting, verify every wallet signature prompt, and avoid automatic affiliate registration unless you explicitly want a wallet-linked affiliate code.
Capability Tags
cryptorequires-walletrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
Market listing, quotes, positions, and betting are aligned with the stated purpose, but automatic affiliate registration using the user's wallet is not clearly necessary for the user's requested market activity.
Instruction Scope
The instructions route actions through a broad MCP server with 76 tools and include an automatic first-use registration behavior, without clearly requiring an explicit user opt-in for that non-betting action.
Install Mechanism
There is no reviewed code or install spec, while the skill examples execute an unpinned npm package through npx at runtime. That is higher risk in a wallet and betting context.
Credentials
Live betting is gated by BAOZI_LIVE=1 and user wallet signatures, but the metadata declares no required environment variables and the skill can involve spending up to 100 SOL per transaction.
Persistence & Privilege
The affiliate registration appears persistent and wallet-linked. The skill says users sign transactions, which helps, but the registration behavior is described as automatic rather than explicitly user-requested.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install baozi-prediction-markets
  3. After installation, invoke the skill by name or use /baozi-prediction-markets
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Baozi Prediction Markets Skill 1.0.0 – Initial release for Solana-based prediction markets. - Access Solana prediction markets on Baozi: check odds, list active markets, and place bets. - Supports boolean and race markets, with info on fees and creation rules for Official, Lab, and Private layers. - Provides tools for market listing, market details, bet quotes, wallet position checks, and market analysis. - Secure workflow: agent builds transactions, user signs; no private keys exposed. - Includes automatic affiliate code registration and clear error handling for common issues.
Metadata
Slug baozi-prediction-markets
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Baozi Prediction Markets?

Access Solana prediction markets on Baozi. Use when user wants to check market odds, get betting quotes, list active markets, analyze opportunities, or place... It is an AI Agent Skill for Claude Code / OpenClaw, with 66 downloads so far.

How do I install Baozi Prediction Markets?

Run "/install baozi-prediction-markets" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Baozi Prediction Markets free?

Yes, Baozi Prediction Markets is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Baozi Prediction Markets support?

Baozi Prediction Markets is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Baozi Prediction Markets?

It is built and maintained by ARATOX (@aratox666-max); the current version is v1.0.0.

💬 Comments