← 返回 Skills 市场
aratox666-max

Baozi Prediction Markets

作者 ARATOX · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
66
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 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...
使用说明 (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
安全使用建议
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.
能力标签
cryptorequires-walletrequires-sensitive-credentials
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install baozi-prediction-markets
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /baozi-prediction-markets 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug baozi-prediction-markets
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 66 次。

如何安装 Baozi Prediction Markets?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install baozi-prediction-markets」即可一键安装,无需额外配置。

Baozi Prediction Markets 是免费的吗?

是的,Baozi Prediction Markets 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Baozi Prediction Markets 支持哪些平台?

Baozi Prediction Markets 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Baozi Prediction Markets?

由 ARATOX(@aratox666-max)开发并维护,当前版本 v1.0.0。

💬 留言讨论