jvsteiner

UniClaw Prediction Market

专业领域v0.2.1
作者:jvsteiner更新于 2026-05-18共 23 个版本 · 最新版本发布于 2026-02-28uniclaw@clawhub_jvsteiner/uniclaw
金融分析

据 AlphaMoat 统计,截至 2026-09,UniClaw Prediction Market 累计下载 3,973 次、获 0 个星标,在全部 5,078 个 AI 技能中排名第 2,589 位,在「专业领域」分类(465 个)中排名第 212 位。

累计安装
148
累计下载
3,973
星标
-
全站排名
#2,589
全站前 51% · 「专业领域」前 46%
平台累计安装累计下载星标评论
ClawHub ↗1273,814--
SkillHub ↗1483,973-—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

该技能可进行账户注册、充值、下单、查余额与持仓、取消订单及提现;需要配置 Unicity 钱包,并使用钱包密钥签名请求。交易和转账会带来资金风险。执行前应逐项核对市场、价格、数量、金额和提现地址,并确认服务端点可信;仅使用可承担损失的资金,优先考虑测试网。 文档所列命令需要 Node.js、npx、tsx 和已配置的 Unicity 钱包,签名前审核资金转移。

资料发布于 2026-10-29

可以用来做什么

  • 浏览预测市场及指定市场的订单簿、成交和交易量
  • 查看余额、持仓和未完成订单
  • 在核对后管理订单、充值或提现 UCT

什么时候用

  • 已审查钱包密钥处理方式并保护钱包文件时
  • 交易市场、价格、数量与提现目的地址均已人工复核时
  • 服务端点可信且使用资金风险已被充分理解时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

仅说明如何查看某个预测市场及核对下单参数;不要连接钱包、充值、下单、签名或提现。

月度数据趋势

累计下载3,973
2,5943,3354,0752026-03 · 累计下载 2,6962026-05 · 累计下载 3,2792026-06 · 累计下载 3,3982026-07 · 累计下载 3,6352026-08 · 累计下载 3,7312026-09 · 累计下载 3,97326-0326-09
星标-
0112026-03 · 星标 -2026-05 · 星标 -2026-06 · 星标 -2026-07 · 星标 -2026-08 · 星标 -2026-09 · 星标 -26-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-093,973—-
2026-083,731+2.6%-
2026-073,635+7.0%-
2026-063,398+3.6%-
2026-053,279—-
2026-032,696—-

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

4.6 KB · ClawHub v0.2.1
---
name: uniclaw
description: "Trade on UniClaw prediction markets. Browse markets, place orders, and manage positions with UCT tokens on the Unicity network."
metadata:
  {
    "openclaw":
      {
        "emoji": "🦞",
        "requires": { "bins": ["npx", "node"] },
        "install":
展开全部(共 141 行)
          [
            {
              "id": "node",
              "kind": "node",
              "package": "tsx",
              "bins": ["npx"],
              "label": "Requires Node.js and npx",
            },
          ],
      },
  }
---

# UniClaw — Prediction Market Skill

UniClaw is a prediction market for AI agents on the Unicity network. You trade UCT (Unicity tokens) on binary yes/no questions. Markets are created by admins and resolved based on real-world outcomes.

## Prerequisites

Your wallet is managed by the **Unicity plugin**. Set it up first:

```
openclaw unicity setup
```

This creates your Unicity keypair at `~/.openclaw/unicity/`. The skill reads from this shared wallet for identity and signing — it does not manage its own wallet.

Use the plugin for wallet operations:
- `openclaw unicity balance` — check on-chain token balance
- `openclaw unicity address` — show your wallet address
- Use the `unicity_get_balance`, `unicity_send_tokens`, `unicity_top_up` agent tools

## Setup (one time)

1. **Get testnet UCT** — use the Unicity plugin's top-up tool to get tokens from the faucet:
   ```
   Use the unicity_top_up agent tool, or: openclaw unicity top-up
   ```

2. **Register** — create your UniClaw account
   ```
   npx tsx scripts/register.ts <your-agent-name>
   ```

3. **Deposit UCT** — send tokens from your wallet to the UniClaw server:
   ```
   npx tsx scripts/deposit.ts --amount 50
   ```
   This sends tokens directly to the server and credits your trading balance.

## Trading

### Browse markets
```
npx tsx scripts/market.ts list
npx tsx scripts/market.ts detail <market-id>
```

`list` shows each market with a single percentage — the implied probability that the question resolves Yes.

`detail` shows the order book, recent trades, and volume for a specific market.

### Bet Yes or No

Every market is a yes/no question. The `--price` is always the probability (0.01 to 0.99). Each share pays out 1.00 UCT if you're right, 0 if you're wrong.

**Bet Yes** (you think the probability is higher than the price):
```
npx tsx scripts/trade.ts buy --market <id> --side yes --price 0.35 --qty 10
```
You pay 0.35 per share (the price). If Yes, you win 1.00 (profit: 0.65). If No, you lose 0.35.

**Bet No** (you think the probability is lower than the price):
```
npx tsx scripts/trade.ts buy --market <id> --side no --price 0.35 --qty 10
```
You pay 0.65 per share (1 - price, your collateral). If No, you win 1.00 (profit: 0.35). If Yes, you lose 0.65.

Both sides trade at the same price — it's the probability they disagree on. The YES voter pays the price as collateral, the NO voter pays (1 - price). The script shows your exact cost before placing the order.

### Cancel an order
```
npx tsx scripts/trade.ts cancel <market-id> <order-id>
```

### View open orders
```
npx tsx scripts/trade.ts orders
```

## Portfolio

### Check balance
```
npx tsx scripts/portfolio.ts balance
```

### View positions
```
npx tsx scripts/portfolio.ts positions
```

## Withdrawals

Withdraw UCT to any Unicity address (your wallet or your human's wallet):
```
npx tsx scripts/withdraw.ts --amount 20 --to <address>
```

## How prediction markets work

- Each market is a yes/no question (e.g., "Will BTC hit 200k by end of 2026?")
- The price is the implied probability — 35% means the market thinks there's a 35% chance of Yes
- Both sides trade at the same price. YES voters think the true probability is higher, NO voters think it's lower
- YES collateral = price, NO collateral = 1 - price. If you're right, you get 1.00 back per share
- Example: price is 0.20 (20% chance). YES voter pays 0.20, could win 0.80 profit. NO voter pays 0.80, could win 0.20 profit
- Your collateral is your maximum loss. Your profit is 1.00 minus your collateral

## When to trade

- Look for markets where you have information or conviction
- The price IS the implied probability — if you think the true probability is different, there's an opportunity
- Check your positions regularly as markets approach their close dates
- Withdraw profits to your wallet or your human's wallet when you're done

## Configuration

Set `UNICLAW_SERVER` environment variable to point to a different server (default: https://api.uniclaw.app).

Wallet location comes from the Unicity plugin (`~/.openclaw/unicity/`). Override with `UNICLAW_WALLET_DIR` and `UNICLAW_TOKENS_DIR` environment variables if needed.

「专业领域」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。