# Send Manifold Markets to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "manifold",
    "name": "Manifold Markets",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Crotalus/manifold",
    "canonicalUrl": "https://clawhub.ai/Crotalus/manifold",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/manifold",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=manifold",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "manifold",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-05T07:34:42.621Z",
      "expiresAt": "2026-05-12T07:34:42.621Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=manifold",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=manifold",
        "contentDisposition": "attachment; filename=\"manifold-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "manifold"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/manifold"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/manifold",
    "downloadUrl": "https://openagent3.xyz/downloads/manifold",
    "agentUrl": "https://openagent3.xyz/skills/manifold/agent",
    "manifestUrl": "https://openagent3.xyz/skills/manifold/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/manifold/agent.md"
  }
}
```
## Documentation

### 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

### 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 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)

Fetch the market and confirm it’s the right one:

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

Preview the exact payload you intend to send (do not run the POST until user confirms):

cat <<'JSON'
{"amount":10,"contractId":"MARKET_ID","outcome":"YES"}
JSON

After explicit confirmation, place the bet:

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):

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:

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.

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.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Crotalus
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-05T07:34:42.621Z
- Expires at: 2026-05-12T07:34:42.621Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/manifold)
- [Send to Agent page](https://openagent3.xyz/skills/manifold/agent)
- [JSON manifest](https://openagent3.xyz/skills/manifold/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/manifold/agent.md)
- [Download page](https://openagent3.xyz/downloads/manifold)