Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

opencogopencog 搜索

Agent Skill

opencog 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

11,191

周安装

471

GitHub Stars

1

下载量

3,919
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:opencog(opencog 搜索)
来源仓库:https://github.com/0xastraea/opencog
安装命令:
openclaw skills install opencog
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install opencog

简介

opencog 用于预测市场交易,支持创建钱包、查询价格和买卖结果股票。

  • 适合在 OpenClaw 中需要根据关键词或场景进行市场数据检索时使用。
  • 即将推出直接创建市场并为其提供资金的功能。
  • 安装前建议确认权限范围、维护状态及是否触发联网操作。
  • 可结合来源仓库和 README 进一步核验具体用法和限制条件。

SKILL.md

name
precog
description
Trade on prediction markets. Create a local wallet, list markets, check prices, buy and sell outcome shares. Coming soon: create and fund markets directly from this skill.
homepage
https://github.com/openclaw/precog-skill
env
PRIVATE_KEY
description
Secp256k1 private key (0x-prefixed) for signing transactions. Generated locally by running setup.mjs --generate and saved to ~/.openclaw/.env. Never transmitted over the network.
required
true
PRECOG_RPC_URL
description
Override the default public RPC endpoints (https://sepolia.base.org for testnet, https://mainnet.base.org for mainnet). Use a trusted endpoint only.
required
false
PRECOG_NETWORK
description
Default network: 'sepolia' (testnet, default) or 'mainnet' (Base mainnet, real funds). Can be overridden per-command with --network.
required
false
requires
bins
install
npm install # run once in the skill directory before first use

Precog Prediction Markets

Precog is a fully onchain prediction market protocol on Base. Anyone can create a market around a real-world question, fund it with liquidity, and trade outcome shares. Prices equal implied probabilities (0–1). Every action is a signed onchain transaction — no custody, no central party.

MATE is a non-monetary practice token (no real economic value). Markets denominated in MATE are safe to use for learning and experimentation. MATE can be claimed at matetoken.xyz.

What you can do here:

  • Browse active prediction markets and outcome probabilities
  • Get detailed market info including category and resolution criteria
  • Quote, buy, and sell outcome shares using your local wallet
  • Check your positions (shares held, net cost, trade history)
🚧 Coming soon: Native market creation — submit and fund new markets directly from this skill without visiting the web UI.

For full protocol documentation see PRECOG.md — it covers prediction markets 101, the LS-LMSR pricing curve, resolution via Reality.eth + Kleros, LP mechanics, MATE markets, and more.

Contract addresses and RPCs are built in — no config needed.

Networks

The default network is Base Sepolia (testnet). No flag needed for testnet — scripts connect to sepolia unless told otherwise.

Two networks are supported. Pass --network <name> to any script, or set PRECOG_NETWORK in your environment.

Network--network valueChainContract
Base Sepolia (testnet)sepolia ← defaultBase Sepolia (84532)0x61ec71F1Fd37ecc20d695E83F3D68e82bEfe8443
Base MainnetmainnetBase (8453)0x00000000000c109080dfa976923384b97165a57a
⚠️ Mainnet uses real funds. Before running any mainnet command, confirm the network with the user and show the contract address. Do NOT default to mainnet — always require an explicit --network mainnet flag or a PRECOG_NETWORK=mainnet env var set by the user.

Security and local state

  • ~/.openclaw/.env — created by setup.mjs --generate. Stores PRIVATE_KEY in plaintext. Treat it like a wallet key file: restrict permissions (chmod 600) and back it up. Losing it means losing access to any funds in that wallet.
  • No key is ever transmitted. Transactions are signed locally; only the signed transaction is broadcast to the RPC.
  • Use a throwaway wallet. The MATE markets use a practice token with no real value — ideal for testing. Do not load a high-value key into this skill.
  • Custom RPC risk. If you set PRECOG_RPC_URL, use only a trusted endpoint. An untrusted RPC can observe signed transaction contents (but cannot extract your private key from them).

⚠️ Run scripts sequentially. Parallel transactions share a nonce and will collide on-chain — run one script at a time. ⚠️ Do NOT create batch or automation scripts. Each transaction must be confirmed by the user individually; automated chains of trades bypass the confirmation step and can cause unintended financial loss. ⚠️ Do NOT edit skill scripts. The scripts are audited as a unit; silent edits could introduce bugs or security issues. If you find a bug, report it to the user so it can be fixed upstream. ⚠️ Always show script output verbatim in a fenced code block. The output contains exact amounts, prices, and suggested parameters that will be used in the next command — reformatting or summarizing it risks losing or distorting those values. ⚠️ Always run quote before buy or sell. The quote shows the exact cost/proceeds and the safe --max/--min slippage bounds. Show the full output to the user and wait for explicit confirmation before executing the trade. ⚠️ Never modify trade parameters. If a script fails, show the exact error and stop. Do not retry with a different share count or workaround — incorrect parameters can result in unintended trades. Token approval is handled automatically inside the scripts.

Wallet

Check status or create a new wallet:

node {baseDir}/scripts/setup.mjs [--network sepolia|mainnet]
node {baseDir}/scripts/setup.mjs --generate

The private key is saved to ~/.openclaw/.env and never printed. Only the address is shown. After generating, ask the user to fund the address with ETH (for gas) and the market's collateral token (for trading).

Example output (wallet exists and funded):

Wallet: 0x77Ffa97c2dcDA0FF6c9393281993962FA633d9E1

  ETH:  0.004210 ✓
  MATE: 81.2300 ✓

Example output (wallet exists, no funds):

Wallet: 0x77Ffa97c2dcDA0FF6c9393281993962FA633d9E1

  ETH:  0.000000 ⚠️  needs gas
  MATE: 0.0000 (no funds)

List Markets

node {baseDir}/scripts/markets.mjs [--network sepolia|mainnet]
node {baseDir}/scripts/markets.mjs --all [--network sepolia|mainnet]

Example output:

Active Markets (2)

[4] Which AI model will be the top performer at the end of March?
    📈 Claude  67.3%  💰 MATE  📅 Mar 31, 2026

[5] Will ETH hit $5k by Q2?
    📈 YES  58.1%  💰 USDC  📅 Jun 30, 2026

Market Detail

When the user asks for more info / details about a specific market:

node {baseDir}/scripts/market.mjs --market <id> [--network sepolia|mainnet]

Shows the title, category, status, end date, collateral, and all outcome probabilities ranked by price. After showing the output, ask the user: "Would you like to see the resolution criteria?" If they say yes:

node {baseDir}/scripts/market.mjs --market <id> --criteria [--network sepolia|mainnet]

Example output (--market 4):

📊  Market 4  ·  AI / Leaderboard
Which AI model will be the top performer at the end of March?
🟢 Active  📅 Mar 31, 2026  💰 MATE

🥇  [1] Claude    16.3%
🥈  [2] Gemini    11.6%
🥉  [3] Grok      11.6%
    [4] ChatGPT   11.6%
    [5] Ernie     11.6%
    [6] GLM       11.6%
    [7] Kimi      11.6%
    [8] Qwen      11.6%
    [9] Other     11.6%

Example output (--market 4 --criteria):

📊  Market 4  ·  AI / Leaderboard
Which AI model will be the top performer at the end of March?
🟢 Active  📅 Mar 31, 2026  💰 MATE

🥇  [1] Claude    16.3%
🥈  [2] Gemini    11.6%
🥉  [3] Grok      11.6%
    [4] ChatGPT   11.6%
    [5] Ernie     11.6%
    [6] GLM       11.6%
    [7] Kimi      11.6%
    [8] Qwen      11.6%
    [9] Other     11.6%

📝  Resolution Criteria
This market will resolve based on the Text Arena AI Competition leaderboard
rankings at arena.ai as of March 31, 2026, 23:59:59 UTC.

Quote a Trade

Always run before buy or sell. Show the full output verbatim in a fenced code block. Ask the user to confirm before proceeding.

Choosing the right flag — CRITICAL

What the user saysFlag to useExample command
"buy N shares"--shares N--shares 50
"spend $X" / "for $X" / "budget $X"--cost X--cost 50
"reach X%" / "move to X%" / "push to X%" / "target X%"--price 0.X--price 0.25
"use all my balance" / "all in" / "spend everything"--all--all

Do NOT guess share counts manually. Use the correct flag — the script computes the exact answer.

node {baseDir}/scripts/quote.mjs --market <id> --outcome <n> --shares <amount> --buy [--network sepolia|mainnet]
node {baseDir}/scripts/quote.mjs --market <id> --outcome <n> --cost <usdc>     --buy [--network sepolia|mainnet]
node {baseDir}/scripts/quote.mjs --market <id> --outcome <n> --price <0.0-1.0> --buy [--network sepolia|mainnet]
node {baseDir}/scripts/quote.mjs --market <id> --outcome <n> --all             --buy [--network sepolia|mainnet]
  • --outcome is 1-based (1 = first outcome, usually YES)
  • --buy shows only the buy side; --sell shows only the sell side; omit both to show both sides
  • --networksepolia (default) or mainnet; must match the network used for the subsequent buy/sell

Example output (--price 0.25 --buy):

📋  Quote — Market 4: Which AI model will be the top performer at the end of March?
─────────────────────────────────────────────────────────
  🎯  Outcome      : Claude
  🔢  Shares       : 312
  📊  Current prob : 14.2%

  🛒  Buy 312 shares
       💵  Cost           : ~98.4521 MATE
       📏  Price / share  : 0.3156 MATE
       📈  Prob after buy : 25.0%  (market moves up ↑)
       🏆  Max return     : 312.0000 MATE   (+213.5479 profit if "Claude" wins)

  ⚡  Suggested --max for buy  : 99.4366
─── Paste ALL lines above verbatim to the user before asking to confirm ───

Buy

node {baseDir}/scripts/buy.mjs --market <id> --outcome <n> --shares <amount> --max <usdc> [--network sepolia|mainnet]
  • --shares — number of shares (from the quote output)
  • --max — maximum collateral to spend; use the Suggested --max value from the quote output
  • --network — must match the network used in the preceding quote
  • Token approval is handled automatically — never adjust --max or --shares for allowance reasons

Sell

node {baseDir}/scripts/sell.mjs --market <id> --outcome <n> --shares <amount> --min <usdc> [--network sepolia|mainnet]
  • --shares — number of shares to sell (check positions.mjs if unsure)
  • --min — minimum collateral to accept; use the Suggested --min value from the quote output
  • --network — must match the network used in the preceding quote

Positions

node {baseDir}/scripts/positions.mjs --market <id> [--network sepolia|mainnet]

Example output:

💼  Market 4
Which AI model will be the top performer at the end of March?

👛  0x77Ffa97c2dcDA0FF6c9393281993962FA633d9E1
💵  Net cost  19.03 MATE  ·  📥 8 buys  📤 7 sells

🎯  Shares held
🥇  [1] Claude   135 shares  ·  16.3%

Responding to "what can I do?" questions

When the user asks what they can do, what Precog is, or how to get started — answer in plain prose with emojis, no tables. Mention their current positions if you know them. Example:

With Precog you can trade on the probability of real-world outcomes using MATE (a safe practice token — no real money). Here's what you can do: 🗂️ List markets — see what's open and the leading outcome for each 🔍 Market detail — outcomes, probabilities, category, and resolution criteria for a specific market 💸 Trade — quote first, then buy or sell outcome shares (by share count, budget, or target probability) 📋 Positions — see your shares, net cost, and trade history You currently hold 100 Claude shares on Market 4. Want to check the latest prices or make a move?

Adapt the last line to whatever you actually know about the user's positions and active markets.


Standard flow

--network is omitted from these examples for brevity. Add it to every command when the user is on mainnet.

User: "What markets are open?"
→ node markets.mjs

User: "What mainnet markets are open?" / "Show me Base mainnet markets"
→ Confirm with the user: "This will connect to Base mainnet where real funds are used. Continue?"
→ node markets.mjs --network mainnet

User: "Tell me more about market 4" / "What are the outcomes on market 4?"
→ node market.mjs --market 4
→ After output, ask: "Would you like to see the resolution criteria?"
→ If yes: node market.mjs --market 4 --criteria

User: "What's my position on market 4?"
→ node positions.mjs --market 4

User: "Show all my positions" / "Do I have any shares?"
→ node markets.mjs --all   (get list of all market IDs)
→ node positions.mjs --market <id>   (repeat for each market)

User: "Use all my MATE to buy Claude on market 4"
→ node quote.mjs --market 4 --outcome 1 --all --buy
→ Paste full output verbatim. Ask: "Confirm buy?"
→ Wait for user to confirm
→ node buy.mjs --market 4 --outcome 1 --shares <n from quote> --max <suggested-max>
→ After trade: suggest checking positions or new market price

User: "Buy Claude for $50 on market 4"
→ node quote.mjs --market 4 --outcome 1 --cost 50 --buy
→ Paste full output verbatim. Ask: "Confirm buy?"
→ Wait for user to confirm
→ node buy.mjs --market 4 --outcome 1 --shares <n from quote> --max <suggested-max>
→ After trade: suggest checking positions or new market price

User: "Buy Claude to reach 25% on market 4"
→ node quote.mjs --market 4 --outcome 1 --price 0.25 --buy
→ Paste full output verbatim. Ask: "Confirm buy?"
→ Wait for user to confirm
→ node buy.mjs --market 4 --outcome 1 --shares <n from quote> --max <suggested-max>
→ After trade: suggest checking positions or new market price

User: "Sell my Claude shares on market 4"
→ node positions.mjs --market 4        (find share count)
→ node quote.mjs --market 4 --outcome 1 --shares <n> --sell
→ Paste full output verbatim. Ask: "Confirm sell?"
→ Wait for user to confirm
→ node sell.mjs --market 4 --outcome 1 --shares <n> --min <suggested-min>
→ After trade: suggest checking positions or remaining balance

User: "Create a market about X" / "Can you create a market for Y?"
→ Tell the user to go to https://core.precog.markets/84532/create-market
→ Explain briefly: log in with MetaMask, fill the form, submit for review
→ Remind them: after submission they need to fund the market at the launchpad
  and wait for staff approval before it goes live
→ Do NOT attempt to automate this — no script can do it on this server

Create a Market

Market creation must be done manually through the Precog web UI — no script can automate this from the server.

Steps:

  1. Go to https://core.precog.markets/84532/create-market
  2. Connect your wallet (MetaMask or compatible)
  3. Fill in the market details:

- Question, description (resolution criteria), category - Outcomes (e.g. YES / NO, or multiple choices) - Start date, end date - Collateral token (MATE address: 0xC139C86de76DF41c041A30853C3958427fA7CEbD)

  1. Click Review Market → Create Market → Confirm Creation

After submission — two more steps required

⚠️ The market is NOT live yet after submitting the form.
  1. Fund the market — provide initial liquidity at:

https://core.precog.markets/84532/launchpad

  1. Staff approval — the Precog team reviews and approves markets before they go live.

Prerequisites

  • Wallet must have at least 3,000 Precog Points (creator status).

Without this the form will show "Market Creation Restricted".


Roadmap

Features planned for future versions of this skill:

  • Market creation — submit a new prediction market directly from the skill (no web UI needed).

This requires direct contract access that is currently restricted; a permissionless path is in progress.

  • Market funding — provide initial liquidity to a newly created market from the CLI.
  • Liquidity management — add/remove LP positions and track LP returns.

Notes

  • Testnet contract: 0x61ec71F1Fd37ecc20d695E83F3D68e82bEfe8443 (Base Sepolia, chain 84532)
  • Mainnet contract: 0x00000000000c109080dfa976923384b97165a57a (Base, chain 8453)
  • Default network: sepolia. Pass --network mainnet or set PRECOG_NETWORK=mainnet for mainnet.
  • RPC: public endpoints used by default. Set PRECOG_RPC_URL to override (applies to whichever network is active).
  • Wallet: generated locally, stored in ~/.openclaw/.env, never leaves the machine.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

98.4%
按下载量换算3,856

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills