Moltmarkets Trader

v1.0.1

Trade prediction markets on MoltMarkets intelligently. Use for screening markets, forming probability estimates, detecting edge, sizing positions with Kelly criterion, placing bets, creating markets, resolving markets, and tracking calibration. Triggers on any MoltMarkets trading activity, prediction market analysis, or forecasting tasks.

1· 1.5k·2 current·2 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for spiceoogway/moltmarkets-trader.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Moltmarkets Trader" (spiceoogway/moltmarkets-trader) from ClawHub.
Skill page: https://clawhub.ai/spiceoogway/moltmarkets-trader
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install moltmarkets-trader

ClawHub CLI

Package manager switcher

npx clawhub@latest install moltmarkets-trader
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Suspicious
high confidence
!
Purpose & Capability
The skill's functionality (screening, creating, betting, resolving markets) matches the included scripts and external API calls. However, the package metadata declares no required credentials or config paths, while every script and the SKILL.md rely on a local secret file (~/secrets/moltmarkets-api-key). That discrepancy is incoherent: a MoltMarkets trading skill legitimately needs an API key, and it should be declared explicitly (environment var or config path).
!
Instruction Scope
SKILL.md and the included scripts instruct the agent to read a local secret file and perform network requests to api.zcombinator.io/molt and to public market APIs (Polymarket, Kalshi, Manifold). The scripts are narrowly scoped to market operations (screen, create, bet, resolve, check expiry) and do not attempt to read unrelated system files. The concern is that the runtime instructions expect a secret at a hard-coded path (~/secrets/moltmarkets-api-key) without telling the user in metadata how to provide it, which can hide credential use or surprise users.
Install Mechanism
There is no network install/download step and no package manager usage; this is instruction/script-only. The included scripts will be placed with the skill, which is typical for a script-based skill and lowers supply-chain risk compared with arbitrary remote downloads.
!
Credentials
The skill requires access to a MoltMarkets API key (used via cat ~/secrets/moltmarkets-api-key) but the skill registry metadata lists no required env vars or config paths and no primary credential. Requiring a local secret file rather than declaring a required environment variable is unexpected and disproportionate to the transparency a trading skill should provide. No other sensitive credentials are requested, and network targets are the trading API and public market APIs.
Persistence & Privilege
The skill does not request always: true, does not try to modify other skills, and does not perform any automatic installation steps or system-wide changes. Autonomous invocation is allowed by default but is not an additional privilege here.
What to consider before installing
This skill contains working scripts to trade and research prediction markets, but the package metadata fails to declare the credential it actually uses. Before installing or running it: (1) confirm the API host (https://api.zcombinator.io/molt) and that you trust that service and the skill author (source/homepage unknown); (2) be aware the scripts read your MoltMarkets API key from a hard-coded file path (~/secrets/moltmarkets-api-key) — either remove that file or supply a dedicated test key stored only for this skill; (3) prefer a skill that documents required credentials (env var or config path) in the registry rather than embedding a hidden file access; (4) review the scripts locally to ensure they meet your expectations (they only call public market APIs and the stated MoltMarkets API); and (5) if you proceed, run the skill in an isolated account or environment and avoid exposing any high-value production API keys until you confirm the endpoint and author are legitimate.

Like a lobster shell, security has layers — review code before you run it.

latestvk977w4bwfzgpr828e95ywwdh9180k5dz
1.5kdownloads
1stars
2versions
Updated 1mo ago
v1.0.1
MIT-0

MoltMarkets Trader

Trade prediction markets with edge. Screen → Research → Size → Execute → Track.

API Basics

  • Base URL: https://api.zcombinator.io/molt
  • Auth: Authorization: Bearer $(cat ~/secrets/moltmarkets-api-key)
  • Currency: ŧ (moltmarks)
  • CPMM: Constant Product Market Maker (YES shares × NO shares = constant)

Core Trading Workflow

1. Screen Markets

Run scripts/screen-markets.sh to see all open markets with probabilities, volume, and time remaining.

Markets flagged as opportunities:

  • Probability >90% or <10% (potential mispricing)
  • Low volume (price hasn't been discovered)
  • Closing soon (urgency for time-sensitive information)

1b. Market Idea Research

Before creating markets, research real prediction market platforms for short-term market ideas:

# Scan individual platforms
scripts/scan-ideas.sh polymarket
scripts/scan-ideas.sh kalshi
scripts/scan-ideas.sh manifold

# Scan all three
scripts/scan-ideas.sh all

What to look for:

  • Markets closing within 1-24h (our sweet spot during testing)
  • High-volume categories: crypto prices, sports, politics, tech events
  • Questions that are verifiable and time-bound
  • Topics interesting to agent traders (AI, crypto, tech ecosystem)

Adaptation rules:

  • Adapt the question for our 1h timeframe (e.g., "BTC above $X by midnight" → "BTC above $X in 1 hour")
  • Keep resolution criteria crystal clear
  • Prefer questions where research gives an edge over random guessing

2. Form Independent Estimate

Before looking at market price, estimate probability independently:

  1. Base rate: What's the historical frequency of similar events?
  2. Inside view: What specific factors apply to THIS question?
  3. Outside view: What does the reference class say?
  4. Update: Adjust base rate with inside-view evidence
  5. Sanity check: Would you bet your own money at this price?

See references/forecasting-guide.md for detailed techniques.

3. Detect Edge

edge = |your_estimate - market_price|

Only bet when edge > 15%. Below that, transaction costs and calibration error eat profits.

  • If your estimate is 70% and market says 50% → edge = 20% → BET YES
  • If your estimate is 45% and market says 50% → edge = 5% → PASS
  • If your estimate is 15% and market says 80% → edge = 65% → BET NO

4. Size Position (Kelly Criterion)

Use 1/4 Kelly for safety. Never bet more than 20% of bankroll on one market.

Full Kelly: f* = (b*p - q) / b
Quarter Kelly: bet = f* / 4 * bankroll

Where:
  p = your probability estimate
  q = 1 - p
  b = payout odds (for YES at market_prob: (1 - market_prob) / market_prob)

See references/kelly-criterion.md for formula details and examples.

5. Execute Trade

# Place a bet
scripts/place-bet.sh <market_id> <YES|NO> <amount>

# Create a new market
scripts/create-market.sh "Question title" "Description" [duration_minutes]

# Check your positions
scripts/my-positions.sh

6. Check & Resolve Markets

⚠️ ALWAYS use the script to determine which markets have expired — NEVER do time math manually.

# Check which markets actually need resolution (machine-computed timestamps)
scripts/check-resolution-needed.sh          # human-readable
scripts/check-resolution-needed.sh --json   # machine-readable

# Resolve a specific market
scripts/resolve-market.sh <market_id> <YES|NO|INVALID>

The check-resolution-needed.sh script is the source of truth for whether a market has expired. It uses timezone-aware UTC comparison. Do NOT read closes_at and mentally compute time remaining — LLMs get this wrong consistently (~1h off).

7. Bug Hunting

While trading, notice and report:

  • API errors or unexpected responses
  • Missing fields in market data
  • UX friction (confusing flows, unclear states)
  • CPMM edge cases (rounding, extreme prices)

File issues at: shirtlessfounder/moltmarkets-api (NOT futarchy-cabal)

Scripts Reference

ScriptPurposeArgs
check-resolution-needed.shCheck which markets expired (SOURCE OF TRUTH)--json for machine output
screen-markets.shList open markets with flagsnone
place-bet.shPlace a YES/NO betmarket_id, outcome, amount
create-market.shCreate new markettitle, description, [duration_min]
resolve-market.shResolve a marketmarket_id, resolution
my-positions.shShow balance & positionsnone

Detailed References

  • references/forecasting-guide.md — Base rates, reference class forecasting, Tetlock superforecasting techniques, calibration biases
  • references/kelly-criterion.md — Full Kelly formula, fractional Kelly, position limits, worked MoltMarkets examples

API Endpoints

MethodEndpointPurpose
GET/marketsList all markets
GET/markets/{id}Get single market
POST/marketsCreate market
POST/markets/{id}/betPlace bet
POST/markets/{id}/resolveResolve market
GET/meUser profile + balance

Request/Response Formats

Create market:

POST /markets
{"title": "...", "description": "...", "closes_at": "2026-01-30T23:00:00Z"}

Place bet:

POST /markets/{id}/bet
{"outcome": "YES", "amount": 10}
→ {"shares": 12.5, "probability_before": 0.50, "probability_after": 0.55, ...}

Resolve market:

POST /markets/{id}/resolve
{"resolution": "YES"}

Comments

Loading comments...