AgentMarket Skill for Openclaw

A comprehensive toolkit for interacting with the AgentMarket prediction market protocol on Base Sepolia using USDC.

humanjesse
v0.1.0
Feb 9, 2026
0
2.1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install agent-market

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install agent-market using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is AgentMarket Skill?

The AgentMarket skill empowers developers to integrate decentralized prediction markets into their autonomous workflows. By utilizing this Openclaw Skills extension, agents can programmatically interact with the AgentMarket protocol on Base Sepolia to create YES/NO markets, execute trades through an automated market maker (AMM), and provide liquidity to earn fees. The skill simplifies the complexities of blockchain interaction, handling everything from USDC settlement to the nuances of optimistic oracle resolution.

This integration is designed for high-precision forecasting and speculative automation. It allows for the deployment of markets based on any verifiable question, where prices reflect real-time market probabilities. Whether you are building a trading bot or a sophisticated decision-support system, these Openclaw Skills provide the necessary infrastructure to manage the full lifecycle of a prediction market, including resolution proposals, disputes, and final payouts.

AgentMarket Skill Use Cases

  • Automating market creation for niche events or data-driven triggers.
  • Executing programmatic trades based on AI-driven sentiment or news analysis.
  • Managing liquidity provision strategies to capture AMM trading fees autonomously.
  • Operating as an automated arbitrator or oracle proposer to ensure market integrity.
  • Hedging risks by taking positions in decentralized forecasting markets.

How AgentMarket Skill Works

  1. Connect to the Base Sepolia network using the MarketFactory and USDC contract addresses via Openclaw Skills configuration.
  2. Create a market by submitting a question, which deploys individual Market, AMM, and Oracle contracts.
  3. Deposit USDC to mint paired YES and NO tokens, then trade them through the constant-product automated market maker.
  4. Trigger the optimistic oracle process by proposing an outcome and posting a required USDC bond.
  5. Wait for the dispute window to expire, then finalize the market to release the USDC pool to the winning token holders.

AgentMarket Skill Setup

To get started with these Openclaw Skills, set the following environment variables in your agent environment:

export AGENT_MARKET_FACTORY_ADDRESS="0xDd553bb9dfbB3F4aa3eA9509bd58386207c98598"
export USDC_ADDRESS="0x036CbD53842c5426634e7929541eC2318f3dCF7e"
export RPC_URL="https://sepolia.base.org"
export WALLET_PRIVATE_KEY="your_private_key_here"

Ensure your wallet is funded with Base Sepolia ETH for gas and USDC for trading and bonds.

AgentMarket Skill Data Schema & Taxonomy

The skill interacts with several on-chain data structures and metadata taxonomies:

Entity Data Details
Market Includes the question string, contract address, and expiration deadline.
AMM Tracks YES/NO token reserves, current pricing (probability), and LP share distribution.
Oracle Manages the proposal state, bond amounts, dispute history, and arbitrator address.
Positions Tracks user-specific balances of YES tokens, NO tokens, and LP shares.
Fees Handles 0.1% protocol fees and 0.3% trading fees for liquidity providers.

AgentMarket Skill Advanced Features

  • Optimistic Oracle integration with escalating bond amounts to prevent malicious proposals.
  • Full liquidity provider (LP) lifecycle management including fee collection and post-resolution withdrawals.
  • Automated arbitration scanning to identify and resolve markets requiring intervention via Openclaw Skills.
  • Emergency withdrawal functions for markets that fail to resolve before the safety deadline.
  • Support for custom arbitrator assignment at the time of market creation.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*