Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

autopredict

БесплатноЗапускает вложенные скриптыНе проверен

Wrap the howdymary/autopredict Polymarket trading-agent repo. Use when you need to scan live Polymarket markets, inspect structural event mispricing, evaluate…

ckorhonenот ckorhonen★ 35 звёзд на GitHub

Об этом скилле

AutoPredict

Quick Start — Simple Examples

New to AutoPredict? Start here before reading the full docs.

1. Scan what's trending on Polymarket right now

python3 predict.py --top 10

Shows the 10 most active markets with spreads, depth, and overround signals.

2. Show me the 5 most liquid markets

python3 predict.py --top 5 --verbose

Lists markets sorted by liquidity with full execution details.

3. Browse multi-outcome events for structural mispricing

python3 predict.py --events --top 10

Checks whether event probabilities sum to more or less than 100%.

4. What does the order book look like for a specific market?

python3 predict.py --fair 0.55 <condition_id>

Replace <condition_id> with the Polymarket ID. Provide your own fair probability estimate and AutoPredict evaluates the trade.

Run python3 predict.py --help for all flags. No credentials required for live reads.


AutoPredict is an execution framework for prediction-market trading. It is not a forecasting model.

  • You provide fair_prob.
  • The repo evaluates execution quality: side, order type, size, spread, depth, slippage, and risk.
  • Live market reads require internet but no credentials.
  • Real trading is scaffolded, not production-ready.

This skill was audited against the upstream repository layout and command surface, not just the README.

What Is Real vs Scaffold

Reliable entry points

  • python3 predict.py scans live Polymarket markets.
  • python3 predict.py --events inspects multi-outcome event overround / underround.
  • python3 predict.py --fair 0.60 <condition_id> evaluates one market using your explicit probability.
  • python3 -m autopredict.cli backtest --dataset ... runs an offline backtest.
  • python3 -m autopredict.cli score-latest prints the most recent saved metrics JSON.

Partially implemented or scaffold-only

  • python3 -m autopredict.cli learn analyze only works if you already have JSONL trade logs. Plain CLI backtests do not create those logs.
  • python3 -m autopredict.cli learn tune and learn improve are placeholders that point to a nonexistent scripts/learn_and_improve.py.
  • python3 -m autopredict.cli trade-live is intentionally disabled by config.
  • scripts/run_paper.py and scripts/run_live.py are deployment scaffolds. run_live.py uses a MockVenueAdapter, so it is not a real exchange adapter.

Repo Map

  • predict.py: live Polymarket scanner and one-off evaluation path.
  • autopredict/cli.py: packaged CLI used for backtest, score-latest, and learning commands.
  • run_experiment.py: simple offline backtest harness used by autopredict.cli backtest.
  • strategy_configs/*.json: strategy knobs for offline experiments.
  • autopredict/_defaults/datasets/sample_markets.json: bundled sample dataset. Use this when you need a known-good backtest input.
  • autopredict/learning/tuner.py: reusable grid-search API. Better than the stub CLI.
  • scripts/run_paper.py, scripts/run_live.py: paper/live monitoring templates.

Decision Tree

1. Choose the workflow

If the user wants to:

  • Find liquid live markets or structural event mispricing: use predict.py via scripts/scan_markets.sh.
  • Evaluate one market with a known fair probability: use predict.py --fair ....
  • Compare strategy configs or produce reproducible metrics: use python3 -m autopredict.cli backtest --dataset ... via scripts/run_backtest.sh.
  • Sweep parameters safely: use scripts/tune_params.sh. Do not use python3 -m autopredict.cli learn tune.
  • Inspect trade logs: use python3 -m autopredict.cli learn analyze --log-dir ... only if JSONL logs already exist.
  • Discuss paper/live deployment scaffolds: read docs/DEPLOYMENT.md, configs/*.yaml, and the Python runners before claiming the repo can trade live.

2. Choose the command surface

  • Use predict.py for live reads and one-off agent evaluation.
  • Use python3 -m autopredict.cli ... for reproducible offline backtests.
  • Avoid python3 -m autopredict.backtest.cli ...; that submodule has brittle import behavior in the current repo state.

3. Choose the data source

  • For a quick smoke test: use autopredict/_defaults/datasets/sample_markets.json.
  • For real research: require a user-supplied dataset of historical snapshots.
  • If the user has no dataset and wants strategy performance claims, stop and say the repo cannot produce a valid backtest without one.

Setup

Preferred helper:

bash skills/autopredict/scripts/setup.sh --dir /tmp/autopredict

Manual setup:

git clone https://github.com/howdymary/autopredict.git /tmp/autopredict
cd /tmp/autopredict
python3 -m pip install -e .
python3 predict.py --help
python3 -m autopredict.cli --help

After setup, keep work inside the cloned repo when invoking upstream commands.

Opinionated Workflows

Workflow A: Fast live market triage

Use this when the user wants

Полный SKILL.md на GitHub

Установить autopredict в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

DOCS.mdscripts/run_backtest.shscripts/scan_markets.shscripts/setup.shscripts/tune_params.sh

FAQ

Что делает скилл autopredict?

Wrap the howdymary/autopredict Polymarket trading-agent repo. Use when you need to scan live Polymarket markets, inspect structural event mispricing, evaluate a market with your own fair probability, run reproducible backtests against a JSON dataset, tune strategy parameters safely, or review the repo's paper/live trading scaffolds and failure modes.

Как установить скилл autopredict?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл autopredict запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить autopredict с