Skip to content
Back to skills

Btc15 Prediction Market

ASecurity

BTC15 Autonomous Prediction Market A fully autonomous BTC

  • 16 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 7, 2026
ai-agentspythongitapi

Works with

  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 3 files and shows the line behind each finding

Scanned June 7, 2026

npx -y skills add modbender/skill-library-mcp --skill btc15-prediction-market --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Btc15 Prediction Market?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Btc15 Prediction Market
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-btc15-prediction-market/badge)](https://www.skillsdirectory.com/skills/modbender-btc15-prediction-market)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: btc15-prediction-market
description: BTC15 Autonomous Prediction Market A fully autonomous BTC
  prediction market powered by three cooperating agents using USDC.
---

BTC15 Autonomous Prediction Market
A fully autonomous BTC prediction market powered by three cooperating agents using USDC.

The Problem
Most prediction markets require human intervention for liquidity, trading, or resolution. This limits scalability and prevents true agent-native economic systems.

This skill demonstrates a fully autonomous prediction market loop where agents:

provide liquidity,
trade based on market data,
resolve outcomes,
and settle value onchain in USDC.

No human interaction is required once the system starts.

Agents
This system consists of three autonomous agents:

Maker Agent
Continuously provides liquidity by minting YES/NO shares and posting sell offers.

Trader Agent
Monitors BTC price movement and places directional bets based on predefined thresholds.

Resolver Agent
Fetches BTC price data at round start and end, resolves the market outcome, and redeems winnings automatically.

Economic Loop
Each round follows a fully autonomous lifecycle:

1. Maker provides liquidity in USDC.
2. Trader observes BTC movement and places a bet.
3. Round ends.
4. Resolver determines outcome using external price data.
5. Contract resolves onchain.
6. Winnings are redeemed automatically.
7. Capital is reused in the next round.

This creates a continuous onchain economic loop:

liquidity → trading → resolution → settlement → reinvestment

Key Properties
Fully autonomous: no human steps required after launch.
USDC settlement: stable unit of account for agent commerce.
Continuous operation: agents run indefinitely.
Onchain resolution and redemption.

Installation
Clone the main project:

git clone https://github.com/kamal-sutra/clawbtc15.git
cd clawbtc15

Install Python dependencies:

pip install web3 python-dotenv requests

Create environment file:

cp .env.example .env

Fill in the following values:

RPC=https://sepolia.base.org

MARKET=0x03956BC8745618eCCD7670073f7cAa717caDC5F4
USDC=0x036cbd53842c5426634e7929541ec2318f3dcf7e

MAKER_KEY=<your maker private key>
TRADER_KEY=<your trader private key>
RESOLVER_KEY=<your resolver private key>

Commands
Run maker:

run-maker

Run trader:

run-trader

Run resolver:

run-resolver

Run all agents:

run-all

Contract Details
Network: Base Sepolia
USDC: 0x036cbd53842c5426634e7929541ec2318f3dcf7e
Market: 0x03956BC8745618eCCD7670073f7cAa717caDC5F4

Use Cases
Agent-native trading systems.
Autonomous market making.
Onchain economic coordination between agents.
Continuous prediction markets.

Built for the USDC Hackathon (Feb 2026).

Files in this skill

  • SKILL.md2.7 KB
  • package.json357 B
  • scripts/run-maker.sh100 B

Attribution

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

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.