Myriad Prediction Markets logo

Myriad Prediction Markets

Organization
moonpay
myriad-prediction-markets

AI trading agent for Myriad prediction markets on BNB Chain. Discover live markets, execute buy/sell trades, monitor portfolio exposure, claim winnings, and run as an MCP server for multi-agent workflows. Use when the user wants to trade prediction markets on BNB Chain, find market opportunities by keyword, or automate a trading + claims loop.

Overview

Publishermoonpay
Repositoryskills
Skill namemyriad-prediction-markets
Stars
112
Forks
30
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by moonpay on GitHub. Read the source before you install it.

Installation

Install the Myriad Prediction Markets AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/moonpay/skills/tree/main/skills/myriad-prediction-markets
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/moonpay/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/myriad-prediction-markets .claude/skills/myriad-prediction-markets
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Myriad Prediction Markets in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Myriad Prediction Markets on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Myriad Prediction Markets is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Myriad — AI Prediction Market Trading Agent

Overview

Myriad CLI gives AI agents a full trading loop on Myriad prediction markets running on BNB Chain: discover markets, make decisions, execute trades, and claim winnings. Supports MCP server mode for multi-agent orchestration.

Chain: BNB Chain (chainId=56) Settlement token: USDT / USD1 Default slippage: 0.05 (trades), 0.005 (swaps)

Installation

bash
npm i -g @myriadmarkets/cli

Setup

bash
# 1. Create and fund a MoonPay wallet (see Wallet section below)
# 2. Configure Myriad with your private key
myriad wallet setup        # interactive — encrypts key to file + OS keychain
# OR
export MYRIAD_PRIVATE_KEY="0x..."   # env var

# 3. Deposit funds
myriad wallet deposit

Config resolves in order: CLI flags → env vars / .env → ~/.config/myriad/config.json → built-in defaults.

Key Commands

Markets

bash
# List open markets sorted by volume
myriad markets list --state open --order volume --sort desc

# Filter by keyword
myriad markets list --keyword "bitcoin" --state open --limit 10

# JSON output for agent pipelines
myriad markets list --state open --json

Trading

bash
# Buy a position (dry-run first)
myriad trade buy --market-id 164 --outcome-id 0 --value 25 --dry-run
myriad trade buy --market-id 164 --outcome-id 0 --value 25

# Sell a position
myriad trade sell --market-id 164 --outcome-id 0 --value 25 --dry-run
myriad trade sell --market-id 164 --outcome-id 0 --value 25

Always use --dry-run before write operations — preview the transaction without execution.

Portfolio & Wallet

bash
# View open positions and exposure
myriad portfolio

# Check balances
myriad wallet balances

# Swap tokens (auto-runs when USDT balance is insufficient)
myriad swap

Claims

bash
# Sweep all resolved winning positions
myriad claim all

MCP Server

bash
# Run as MCP server for Claude Code / multi-agent orchestration
myriad mcp

MCP config for Claude Code (~/.claude/settings.json):

json
{
  "mcpServers": {
    "myriad": {
      "command": "myriad",
      "args": ["mcp"]
    }
  }
}

Skills (Claude / OpenClaw)

bash
# Install Myriad skills into Claude Code
myriad skills install --target claude

Key Flags

FlagDescription
--dry-runPreview transaction without executing
--jsonMachine-readable output for agent pipelines
--keyword <term>Filter markets by topic
--state <state>Filter by market status: open, resolved, etc.
--order <field>Sort field (e.g. volume)
--sort <dir>asc or desc
--limit <n>Cap result count

Agent Patterns

Event-Driven Trader

Spot a news catalyst → scan markets → stage trade:

bash
myriad markets list --keyword "fed rate" --state open --json
# → review markets and odds
myriad trade buy --market-id <id> --outcome-id <id> --value 50 --dry-run
# → confirm looks right
myriad trade buy --market-id <id> --outcome-id <id> --value 50

Portfolio Monitor

Check exposure before each trading cycle:

bash
myriad portfolio
myriad wallet balances

Winnings Sweeper

Automate claims on resolved markets:

bash
myriad claim all

Multi-Agent Desk

Run scout + execution agents via MCP:

bash
myriad mcp   # Claude Code connects via MCP tools

Wallet Management with MoonPay

Myriad trades on BNB Chain and settles in USDT. Use MoonPay to create a BNB Chain wallet, fund it, and export the key for Myriad.

bash
npm install -g @moonpay/cli
mp login

# Create a dedicated trading wallet
mp wallet create --name "myriad-agent"
mp wallet retrieve --wallet "myriad-agent"   # note your BNB Chain address

Fund with USDT on BNB Chain

bash
# Buy USDT directly on BNB Chain
mp buy --token usdt_bsc --amount 100 --wallet <bnb-address> --email <email>

# Or bridge USDT from another chain
mp token bridge \
  --from-wallet myriad-agent --from-chain ethereum \
  --from-token 0xdac17f958d2ee523a2206206994597c13d831ec7 \
  --from-amount 100 \
  --to-chain bsc \
  --to-token 0x55d398326f99059ff775485246999027b3197955

Export Key for Myriad

bash
# ⚠️ Your private key gives full access to your wallet.
# Never share it, commit it to version control, or reuse it across services.
mp wallet export --wallet "myriad-agent"
# Copy EVM private key → use in myriad wallet setup or MYRIAD_PRIVATE_KEY

Check Balance

bash
mp token balance list --wallet <bnb-address> --chain bsc

Withdraw Winnings to Bank

bash
mp virtual-account offramp create \
  --name "Offramp" \
  --bankAccountId <bank-account-id> \
  --stablecoin usdc \
  --chain bsc

End-to-End Workflow

  1. npm i -g @myriadmarkets/cli
  2. mp wallet create --name "myriad-agent"
  3. mp buy --token usdt_bsc --amount 100 --wallet <address> --email <email>
  4. mp wallet export --wallet "myriad-agent" → copy private key
  5. myriad wallet setup → paste key (stored encrypted)
  6. myriad markets list --state open --order volume --sort desc
  7. myriad trade buy --market-id <id> --outcome-id <id> --value 25 --dry-run
  8. myriad trade buy --market-id <id> --outcome-id <id> --value 25
  9. myriad claim all — sweep resolved positions
  10. mp virtual-account offramp create — withdraw winnings

Resources

Related Skills

  • moonpay-prediction-market — Polymarket and Kalshi trading (alternative platforms)
  • moonpay-check-wallet — Verify BNB Chain balances before trading
  • moonpay-swap-tokens — Swap tokens to USDT for Myriad trades

Frequently asked questions

What does the Myriad Prediction Markets AI skill do?

AI trading agent for Myriad prediction markets on BNB Chain. Discover live markets, execute buy/sell trades, monitor portfolio exposure, claim winnings, and run as an MCP server for multi-agent workflows. Use when the user wants to trade prediction markets on BNB Chain, find market opportunities by keyword, or automate a trading + claims loop.

Why use Myriad Prediction Markets on TypingMind?

Because you install it once and use it with any model. Myriad Prediction Markets is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Myriad Prediction Markets in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/moonpay/skills/tree/main/skills/myriad-prediction-markets. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Myriad Prediction Markets?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Myriad Prediction Markets?

As many as you like. As long as a model supports skills, you can use Myriad Prediction Markets with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Myriad Prediction Markets AI skill free?

Yes. It is published on GitHub by moonpay under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇