trading-strategies SKILL.md skillA

trading-strategies from agentmc15/polymarket-trader is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add agentmc15/polymarket-trader/trading-strategies@git:20260906.08ff3f1

Pins git:20260906.08ff3f1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
agentmc15/polymarket-trader
Path
.claude/skills/trading-strategies/SKILL.md
Versions recorded
2
Latest version
git:20260906.08ff3f1, committed Sep 6, 2026
First version recorded
Dec 25, 2025
Size
12,322 bytes
Repository stars
26
License
none declared

Framework for developing, testing, and deploying trading strategies for prediction markets. Use when creating new strategies, implementing signals, or building backtesting logic.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Trading Strategy Development Skill

## Strategy Base Class

```python
from abc import ABC, abstractmethod
from dataclasses import dataclass
from typing import Optional
from datetime import datetime
from enum import Enum

class SignalType(Enum):
    BUY = "buy"
    SELL = "sell"
    HOLD = "hold"

@dataclass
class Signal:
    type: SignalType
    token_id: str
    price: float
    size: float
    confidence: float  # 0-1
    timestamp: datetime
    metadata: dict = None

@dataclass
class MarketState:
    token_id: str
    yes_price: float
    no_price: float
    volume_24h: float
    open_interest: float
    orderbook: dict
    recent_trades: list
    timestamp: datetime

class BaseStrategy(ABC):
    """Base class for all trading strategies."""
    
    def __init__(self, config: dict):
        self.config = config
        self.positions = {}
        self.signals_history = []
    
    @abstractmethod
    async def analyze(self, market: MarketState) -> Optional[Signal]:
        """Analyze market and generate signal."""
        pass
    
    @abstractmethod
    def calculate_position_size(
        self,
        signal: Signal,
        portfolio_value: float
    ) -> float:
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add agentmc15/polymarket-trader/trading-strategies@sha256:4b695d038c94ca2d

The line at the top of this page pins the label git:20260906.08ff3f1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_w7ztqqnsqymo5p4s.svg)](https://markdownregistry.com/a/art_w7ztqqnsqymo5p4s)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Dec 25, 2025 and Sep 6, 2026, about one every 254 days.

versioncommittedcommitsizeaudit
git:20260906.08ff3f1 latest2026-09-06 08ff3f1 12,322 BA view · diff
git:20251225.4b10de32025-12-25 4b10de3 13,744 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (12322 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

agentmc15/polymarket-trader · 26 stars · license none declared · pushed 2026-09-13 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_w7ztqqnsqymo5p4s
GET https://markdownregistry.com/api/v1/resolve?ref=agentmc15/polymarket-trader/trading-strategies
GET https://markdownregistry.com/api/v1/blob/4b695d038c94ca2d8a9e6ebf96d3dc8988367a5ee14e23a803db0fa757b16745

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from agentmc15/polymarket-trader

kalshi-api SKILL.md skill
agentmc15/polymarket-trader · .claude/skills/kalshi-api/SKILL.md · Kalshi Trade API v2 integration facts, endpoints, and fee model. Reference for venue adapter implementation…
git:20260906.08ff3f1 · audit A · 26 stars
polymarket-api SKILL.md skill
agentmc15/polymarket-trader · .claude/skills/polymarket-api/SKILL.md · Deep integration guide for Polymarket's CLOB API, Gamma API, and on-chain data. Use when building trading…
git:20260906.08ff3f1 · audit A · 26 stars
CLAUDE.md CLAUDE.md file
agentmc15/polymarket-trader · CLAUDE.md
git:20260906.08ff3f1 · audit A · 26 stars

Every file in agentmc15/polymarket-trader

Browse by kind, by grade A, or by owner.