Agent skill

Myriad Prediction Markets

by moonpay in moonpay/skills

AI trading agent for Myriad prediction markets on BNB Chain.

MITAuto-check: notesAgent Workflows

Install Myriad Prediction Markets

skills CLI
$ npx skills add moonpay/skills --skill myriad-prediction-markets -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install moonpay/skills myriad-prediction-markets --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/moonpay/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/myriad-prediction-markets .claude/skills/myriad-prediction-markets && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
myriad-prediction-markets
GitHub stars
113
Token cost
~1.6k tokens
SKILL.md length
342 words
Files
1
Skills in repo
39
Repo updated
First seen
Licence
MIT

At a glance

AI trading agent for Myriad prediction markets on BNB Chain.

  • Works in 10 steps: npm i -g @myriadmarkets/cli → mp wallet create --name "myriad-agent" → mp buy --token usdt_bsc --amount 100… → …
  • The user wants to trade prediction markets on BNB Chain
  • SKILL.md covers Overview, Installation, Setup and Key Commands, plus 6 more sections
  • Calls npm; needs MYRIAD_PRIVATE_KEY

What it does

Myriad Prediction Markets is an agent skill from moonpay/skills. 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.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Trading and backtesting, Startup and business strategy and Multi-agent orchestration. It works with BNB Chain and Model Context Protocol. The repository describes itself as: Skills for AI agents to move money — on-ramps, swaps, wallets, deposits, and more via the MoonPay CLI. The licence is MIT.

When your agent uses it

  • The user wants to trade prediction markets on BNB Chain
  • Find market opportunities by keyword
  • Automate a trading + claims loop

Example prompts

  • “/myriad-prediction-markets”

Requirements

  • Node.js
  • A credential in MYRIAD_PRIVATE_KEY

Workflow steps

10 steps, taken from the first numbered list in SKILL.md.

  1. npm i -g @myriadmarkets/cli
  2. mp wallet create --name "myriad-agent"
  3. mp buy --token usdt_bsc --amount 100 --wallet --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 --outcome-id --value 25 --dry-run
  8. myriad trade buy --market-id --outcome-id --value 25
  9. myriad claim all — sweep resolved positions
  10. mp virtual-account offramp create — withdraw winnings

What it can do on your machine

Read from SKILL.md and the folder at commit aa672ab. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • npmjs.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • MYRIAD_PRIVATE_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Myriad Prediction Markets loads about 1.6k tokens when it runs. Until then it costs about 93 tokens; SKILL.md has 342 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~93
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:41
    solves in order: CLI flags → env vars / `.env` → `~/.config/myriad/config.json` → built-in defaults.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from moonpay/skills at commit aa672ab, republished under its MIT licence (© moonpay). 342 words, ~1,565 tokens.

Download SKILL.mdSave it as .claude/skills/myriad-prediction-markets/SKILL.md (or your agent's skills folder).
name
myriad-prediction-markets
description
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.
tags
prediction-markets, trading, bnb-chain, mcp, defi

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

  • 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

© moonpay, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/myriad-prediction-markets of moonpay/skills.

Open the folder on GitHubat commit aa672ab

Compare with similar skills

Myriad Prediction Markets next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Myriad Prediction Markets compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Myriad Prediction Markets this skillmoonpay/skills113—~1.6kAutomated safety check: NotesMIT
BNB Chain MCP Serverinternet-court/internet-court-skill6.6k1 repos~1.7kAutomated safety check: PassMIT
Codex with ChatGPT Planning LoopXiaoDuoYa/codex-with-chatgpt7.2k—~11kAutomated safety check: NotesMIT
Ruflo Multi-Agent Orchestrationruvnet/ruflo74k1 repos~975Automated safety check: PassMIT
Puppetmaster Agent Orchestrationprofessorpalmer/Puppetmaster467—~3.2kAutomated safety check: PassMIT
Polymarket Tennislivetennisapi/livetennisapi-mcp152—~3kAutomated safety check: PassMIT

Similar skills

  • BNB Chain MCP Server

    internet-court/internet-court-skill

    Connects an agent to the BNB Chain MCP server to read blocks and contracts, move tokens and NFTs, register ERC-8004 agents and use Greenfield storage.

    6.6k GitHub starsUsed in 1 repo~1.7k tokens
    Agent WorkflowsAuto-check passed
  • Codex with ChatGPT Planning Loop

    XiaoDuoYa/codex-with-chatgpt

    Uses ChatGPT in the browser as the planning and review brain for a Codex session, with Codex keeping all execution and ChatGPT reading the workspace through a bridge.

    7.2k GitHub stars~11k tokensUpdated 10 days ago
    Agent WorkflowsAuto-check: notes
  • Sets up and drives Ruflo, an npm-installed orchestration layer for multi-agent swarms, persistent memory, routing, hooks and its MCP tool catalog.

    74k GitHub starsUsed in 1 repo~975 tokens
    Agent WorkflowsAuto-check passed
  • Puppetmaster Agent Orchestration

    professorpalmer/Puppetmaster

    Operates and supervises Puppetmaster, a multi-agent orchestrator, through its MCP tools or CLI, picking the right verb for edits, reviews, audits and long-running jobs.

    467 GitHub stars~3.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Polymarket Tennis

    livetennisapi/livetennisapi-mcp

    Build observe-only Polymarket and Kalshi tennis market tooling on the polymarket-tennis Python package (MIT) plus the Live Tennis API free tier.

    152 GitHub stars~3k tokensUpdated 4 days ago
    Business, Finance & HRAuto-check passed
  • Agent Deck Sessions

    artwist-polyakov/polyakov-claude-skills

    Launches, monitors and collects results from child AI agent sessions with the agent-deck terminal session manager.

    208 GitHub stars~965 tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed

More from moonpay/skills

All 39 skills in this repo
  • A skill your agent uses when accessing Alchemy APIs for RPC calls, token balances, NFT metadata, asset transfers, transaction simulation, or Alchemy-specific features.

    113 GitHub stars~2.1k tokensUpdated 1 mo ago
    Auto-check: notes
  • Alchemy API

    moonpay/skills

    Integrates Alchemy blockchain APIs using an API key. An agent skill from moonpay/skills.

    113 GitHub stars~2.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Allium Onchain Data

    moonpay/skills

    Query blockchain data via Allium APIs. An agent skill from moonpay/skills.

    113 GitHub stars~1.9k tokensUpdated 1 mo ago
    Auto-check passed
  • Corbits Marketplace

    moonpay/skills

    Paid API marketplace for AI agents via Corbits. An agent skill from moonpay/skills.

    113 GitHub stars~1.5k tokensUpdated 1 mo ago
    Auto-check passed
  • Dune Analytics

    moonpay/skills

    Blockchain analytics via Dune REST API — execute DuneSQL queries against live on-chain data, discover decoded contract tables, and monitor credit usage.

    113 GitHub stars~1.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Moonpay Auth

    moonpay/skills

    Set up the MoonPay CLI, authenticate, and manage local wallets.

    113 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed

Questions about Myriad Prediction Markets

What does Myriad Prediction Markets do?

AI trading agent for Myriad prediction markets on BNB Chain. Myriad Prediction Markets is an agent skill from moonpay/skills. AI trading agent for Myriad prediction markets on BNB Chain.

When should I use Myriad Prediction Markets?

Myriad Prediction Markets fits situations like: the user wants to trade prediction markets on BNB Chain; find market opportunities by keyword; automate a trading + claims loop.

How do I install Myriad Prediction Markets in Claude Code?

Run `npx skills add moonpay/skills --skill myriad-prediction-markets -a claude-code`. Or copy the skill folder (skills/myriad-prediction-markets in moonpay/skills) into .claude/skills/myriad-prediction-markets in your project. Claude Code loads it when a task matches its description.

How do I install Myriad Prediction Markets in Codex?

Run `npx skills add moonpay/skills --skill myriad-prediction-markets -a codex`. Or copy the skill folder (skills/myriad-prediction-markets in moonpay/skills) into .agents/skills/myriad-prediction-markets in your project. Codex loads it when a task matches its description.

Can I use Myriad Prediction Markets in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add moonpay/skills --skill myriad-prediction-markets -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/myriad-prediction-markets, .gemini/skills/myriad-prediction-markets, .github/skills/myriad-prediction-markets and .opencode/skills/myriad-prediction-markets in your project.

What does Myriad Prediction Markets need to run?

Going by SKILL.md and its folder, Myriad Prediction Markets needs the command-line tools its instructions call (npm) and credentials named MYRIAD_PRIVATE_KEY. Our summary lists: Node.js; A credential in MYRIAD_PRIVATE_KEY.

Does Myriad Prediction Markets access the network?

SKILL.md names 1 domain. As links in the text: npmjs.com. This is read from the text; nothing was executed.

Is Myriad Prediction Markets safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Myriad Prediction Markets use?

Myriad Prediction Markets is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Myriad Prediction Markets use?

About 1.6k tokens (SKILL.md is roughly 6.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Myriad Prediction Markets?

Skills that share tags, products or a category with Myriad Prediction Markets: BNB Chain MCP Server (internet-court/internet-court-skill, 6.6k stars), Codex with ChatGPT Planning Loop (XiaoDuoYa/codex-with-chatgpt, 7.2k stars), Ruflo Multi-Agent Orchestration (ruvnet/ruflo, 74k stars) and Puppetmaster Agent Orchestration (professorpalmer/Puppetmaster, 467 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Myriad Prediction Markets?

moonpay (a GitHub organization) maintains it in moonpay/skills, which has 113 GitHub stars. The repository holds 39 skills in this directory. The repository was last updated on September 10, 2026.

Source: moonpay/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.