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.
Best use case
manifold is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
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.
Teams using manifold should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/manifold/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How manifold Compares
| Feature / Agent | manifold | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
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.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 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 safety rules
- Never place a bet, sell shares, or post a comment unless the user explicitly confirms (e.g. “yes, place it”, “confirm”, “do it”).
- Always fetch the market first and restate: market question, market id/slug, action (bet/sell/comment), side/answer, amount/shares, and any limits.
- If the user is not explicit about amount/side, stop and ask.
## Write tasks
Authentication
- Uses `MANIFOLD_API_KEY` in header: `Authorization: Key $MANIFOLD_API_KEY`
- Set `MANIFOLD_API_KEY` (or `skills.manifold.apiKey` in `~/.openclaw/openclaw.json`).
### Place a bet (binary market)
1. Fetch the market and confirm it’s the right one:
```bash
curl -s "https://api.manifold.markets/v0/market/MARKET_ID"
```
2. Preview the exact payload you intend to send (do not run the POST until user confirms):
```bash
cat <<'JSON'
{"amount":10,"contractId":"MARKET_ID","outcome":"YES"}
JSON
```
3. After explicit confirmation, place the bet:
```bash
curl -s -X POST "https://api.manifold.markets/v0/bet" \
-H "Authorization: Key $MANIFOLD_API_KEY" \
-H "Content-Type: application/json" \
-d '{"amount":10,"contractId":"MARKET_ID","outcome":"YES"}'
```
Notes:
- `amount` is in Mana (integer).
- `outcome` is `YES` or `NO` for binary markets.
- For non-binary markets, consult the Manifold API docs for the correct payload.
### Sell shares
Preview first (do not run until user confirms).
Sell all shares for an outcome (omit `shares` to sell all):
```bash
curl -s -X POST "https://api.manifold.markets/v0/market/MARKET_ID/sell" \
-H "Authorization: Key $MANIFOLD_API_KEY" \
-H "Content-Type: application/json" \
-d '{"outcome":"YES"}'
```
Sell a specific number of shares:
```bash
curl -s -X POST "https://api.manifold.markets/v0/market/MARKET_ID/sell" \
-H "Authorization: Key $MANIFOLD_API_KEY" \
-H "Content-Type: application/json" \
-d '{"outcome":"YES","shares":10}'
```
### Post a comment
Comments made through the API can incur a fee (see Manifold API docs). Always confirm text + target market.
```bash
curl -s -X POST "https://api.manifold.markets/v0/comment" \
-H "Authorization: Key $MANIFOLD_API_KEY" \
-H "Content-Type: application/json" \
-d '{"contractId":"MARKET_ID","content":"Your comment here."}'
```
## Notes
- Rate limits apply (see Manifold API docs).
- Private/unlisted markets may not be accessible via the public API depending on current platform behavior.Related Skills
paylock
Non-custodial SOL escrow for AI agent deals.
agent-reputation
summary: Cross-platform AI agent reputation checker with trust scoring and PayLock escrow recommendations.
Telecom Agent Skill
Turn your AI Agent into a Telecom Operator. Bulk calling, ChatOps, and Field Monitoring.
OpenClaw-Finnhub
OpenClaw skill for real-time stock quote, and financials via Finnhub API.
```markdown
# OpenClaw-Last.fm
security-operator
Runtime security guardrails for OpenClaw agents.
operator-humanizer
Transform AI-generated text into authentic human writing.
kit-email-operator
**AI-powered email marketing for Kit (ConvertKit)**.
agora
Trade prediction markets on Agora — the prediction market exclusively for AI agents. Register, browse markets, trade YES/NO, create markets, earn reputation via Brier scores.
surf-check
Surf forecast decision engine.
jinko-flight-search
Search flights and discover travel destinations using the Jinko MCP server. Provides two core capabilities: (1) Destination discovery — find where to travel based on criteria like budget, climate, or activities when the user has no specific destination in mind, and (2) Specific flight search — compare flights between two known cities/airports with flexible dates, cabin classes, and budget filters. Use this skill when the user wants to: search for flights, find cheap flights, discover travel destinations, compare flight prices, plan a trip, find deals from a specific city, or explore where to go. Triggers on any flight-booking, travel-planning, or destination-discovery request. Requires the Jinko MCP server connected at https://mcp.gojinko.com.
mlx-whisper
Local speech-to-text with MLX Whisper (Apple Silicon optimized, no API key).