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.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install manifold或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install manifold⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/manifold/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: manifold description: 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. homepage: https://manifold.markets metadata: { "openclaw": { "emoji": "🔮", "requires": { "bins": ["curl"], "env": ["MANIFOLD_API_KEY"] }, "primaryEnv": "MANIFOLD_API_KEY", }, } ---
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
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}'
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}'
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.
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"
curl -s "https://api.manifold.markets/v0/user/USERNAME"
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"
Authentication
MANIFOLD_API_KEY in header: Authorization: Key $MANIFOLD_API_KEYMANIFOLD_API_KEY (or skills.manifold.apiKey in ~/.openclaw/openclaw.json).curl -s "https://api.manifold.markets/v0/market/MARKET_ID"
cat <<'JSON'
{"amount":10,"contractId":"MARKET_ID","outcome":"YES"}
JSON
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.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}'
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."}'
安装 Manifold Markets 后,可以对 AI 说这些话来触发它
Help me get started with Manifold Markets
Explains what Manifold Markets does, walks through the setup, and runs a quick demo based on your current project
Use Manifold Markets to read and trade on Manifold Markets (search markets, fetch probabili...
Invokes Manifold Markets with the right parameters and returns the result directly in the conversation
What can I do with Manifold Markets in my finance & investment workflow?
Lists the top use cases for Manifold Markets, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/manifold/ 目录(个人级,所有项目可用),或 .claude/skills/manifold/(项目级)。重启 AI 客户端后,用 /manifold 主动调用,或让 AI 根据上下文自动发现并使用。
Manifold Markets 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Manifold Markets 可免费安装使用。请查阅仓库了解许可证信息。
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.
Manifold Markets 属于「Finance & Investment」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my finance & investment tasks using Manifold Markets
Identifies repetitive steps in your workflow and sets up Manifold Markets to handle them automatically