Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Trade Prediction Markets Kelly Sizing

BSecurity

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 tradin…

19 stars
0 votes
0 copies
0 views
Added 9/19/2026
ai-agentsgobashtestingapi

Works with

api

Security Analysis

B75/100
criticalSends environment variables or credentials to an external URL

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add rondoflow/rondoflow --skill trade-prediction-markets-kelly-sizing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Trade Prediction Markets Kelly Sizing?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Trade Prediction Markets Kelly Sizing
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/rondoflow-trade-prediction-markets-kelly-sizing/badge)](https://www.skillsdirectory.com/skills/rondoflow-trade-prediction-markets-kelly-sizing)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: trade-prediction-markets-kelly-sizing
description: "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 tradin…"
category: "Community"
author: community
version: "1.0.1"
icon: puzzle
---

# 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:

```bash
# 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

```bash
# 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.**

```bash
# 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

| Script | Purpose | Args |
|--------|---------|------|
| `check-resolution-needed.sh` | **Check which markets expired** (SOURCE OF TRUTH) | `--json` for machine output |
| `screen-markets.sh` | List open markets with flags | none |
| `place-bet.sh` | Place a YES/NO bet | market_id, outcome, amount |
| `create-market.sh` | Create new market | title, description, [duration_min] |
| `resolve-market.sh` | Resolve a market | market_id, resolution |
| `my-positions.sh` | Show balance & positions | none |

## 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

| Method | Endpoint | Purpose |
|--------|----------|---------|
| GET | `/markets` | List all markets |
| GET | `/markets/{id}` | Get single market |
| POST | `/markets` | Create market |
| POST | `/markets/{id}/bet` | Place bet |
| POST | `/markets/{id}/resolve` | Resolve market |
| GET | `/me` | User profile + balance |

### Request/Response Formats

**Create market:**
```json
POST /markets
{"title": "...", "description": "...", "closes_at": "2026-01-30T23:00:00Z"}
```

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

**Resolve market:**
```json
POST /markets/{id}/resolve
{"resolution": "YES"}
```

Attribution

rondoflowrondoflow
View sourceMore from rondoflow →
SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1074701 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

693161 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

691 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →