搜索

PythonReactSEOPDF
OpenClaw

manifold

Read and trade on Manifold Markets (search markets, fetch probabilities, inspect users/bets, place bets/sell/comment). Never place a bet/sell/comment without explicit user confirmation.

crotalus0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install crotalus/manifold

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Manifold Markets

Use this skill to read from Manifold Markets (search markets, fetch probabilities, inspect public user info) and to place trades/comments with explicit confirmation.

Write actions require MANIFOLD_API_KEY (in the environment or configured via OpenClaw skill entries).

Base URL: https://api.manifold.markets/v0

Docs: https://docs.manifold.markets/api

Read tasks

Search markets
curl -s "https://api.manifold.markets/v0/search-markets?term=AI+safety&limit=5"

Tip: replace spaces with + (or URL-encode). If you have jq, format results:

curl -s "https://api.manifold.markets/v0/search-markets?term=AI+safety&limit=5" | jq '.[] | {id, slug, question, outcomeType, probability, createdTime, creatorUsername}'
List newest markets
curl -s "https://api.manifold.markets/v0/markets?limit=10"

With jq:

curl -s "https://api.manifold.markets/v0/markets?limit=10" | jq '.[] | {id, slug, question, outcomeType, probability, closeTime}'
Get market details (by ID)
curl -s "https://api.manifold.markets/v0/market/MARKET_ID"

Binary markets usually expose probability (0..1). Other market types may not have a single probability field.

Get market details (by slug)

The slug is the portion of the Manifold URL after the username (e.g. .../Alice/my-market-slug → my-market-slug).

curl -s "https://api.manifold.markets/v0/slug/MARKET_SLUG"
Inspect a user (by username)
curl -s "https://api.manifold.markets/v0/user/USERNAME"
List bets for a user

If you have jq:

USER_ID="$(curl -s "https://api.manifold.markets/v0/user/USERNAME" | jq -r '.id')"
curl -s "https://api.manifold.markets/v0/bets?userId=$USER_ID&limit=50"

Without jq, fetch the user JSON and read the id field, then use it:

curl -s "https://api.manifold.markets/v0/user/USERNAME"
curl -s "https://api.manifold.markets/v0/bets?userId=USER_ID&limit=50"

Write...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/crotalus/manifold
Version
—
Commit
231f06349bfcc5e96bb6ce1983e71005f87f8a49
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# Manifold Markets

Use this skill to read from Manifold Markets (search markets, fetch probabilities, inspect public user info) and to place trades/comments with explicit confirmation.

Write actions require `MANIFOLD_API_KEY` (in the environment or configured via OpenClaw skill entries).

Base URL: `https://api.manifold.markets/v0`

Docs: https://docs.manifold.markets/api

## Read tasks

### Search markets

```bash
curl -s "https://api.manifold.markets/v0/search-markets?term=AI+safety&limit=5"
```

Tip: replace spaces with `+` (or URL-encode). If you have `jq`, format results:

```bash
curl -s "https://api.manifold.markets/v0/search-markets?term=AI+safety&limit=5" | jq '.[] | {id, slug, question, outcomeType, probability, createdTime, creatorUsername}'
```

### List newest markets

```bash
curl -s "https://api.manifold.markets/v0/markets?limit=10"
```

With `jq`:

```bash
curl -s "https://api.manifold.markets/v0/markets?limit=10" | jq '.[] | {id, slug, question, outcomeType, probability, closeTime}'
```

### Get market details (by ID)

```bash
curl -s "https://api.manifold.markets/v0/market/MARKET_ID"
```

Binary markets usually expose `probability` (0..1). Other market types may not have a single probability field.

### Get market details (by slug)

The slug is the portion of the Manifold URL after the username (e.g. `.../Alice/my-market-slug` → `my-market-slug`).

```bash
curl -s "https://api.manifold.markets/v0/slug/MARKET_SLUG"
```

### Inspect a user (by username)

```bash
curl -s "https://api.manifold.markets/v0/user/USERNAME"
```

### List bets for a user

If you have `jq`:

```bash
USER_ID="$(curl -s "https://api.manifold.markets/v0/user/USERNAME" | jq -r '.id')"
curl -s "https://api.manifold.markets/v0/bets?userId=$USER_ID&limit=50"
```

Without `jq`, fetch the user JSON and read the `id` field, then use it:

```bash
curl -s "https://api.manifold.markets/v0/user/USERNAME"
curl -s "https://api.manifold.markets/v0/bets?userId=USER_ID&limit=50"
```

## Write...

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.