bennyjo

Phil — AI skill for Claude Code

AI community

Phil is a self-improving trader: an AI agent that trades short-term prediction markets and rewrites his own strategy after every settled bet.

How to install Phil

This entry records only its repository, not the path inside it, so there is no exact command to give. Open bennyjo/phil and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Phil does

Phil is a self-improving trader: an AI agent that trades short-term prediction markets and rewrites his own strategy after every settled bet. Paper 24/7 in the cloud; small capped real stakes via Pearl Connect.

Alternatives in AI

  • Gtm Engineer Skills — Claude Code skill for improving website AEO (AI Engine Optimization) and GEO (Generative Engine Optimization) 761 ★
  • Vibe Astock — Vibe AStock:A 股短线复盘与跟踪工作台 · 盯盘异动、情绪复盘(连板天梯、题材轮动、明日验证)、AI 复盘与周报、交易日志、盘前提醒,182 个数据端点 679 ★
  • Engage.Scorecard — Calibrate model verdict trust (Wilson-bounded miss-rate) to short-circuit re-validation 348 ★

README

Phil the self-improving trader

[![CI](https://github.com/bennyjo/phil/actions/workflows/ci.yml/badge.svg)](https://github.com/bennyjo/phil/actions/workflows/ci.yml)

Phil, a groundhog peeking over a rising price chart

**Phil is a self-improving trader: an AI agent that trades short-term prediction markets and rewrites its own strategy after every resolved bet.** Paper trading is the 24/7 learning engine. Real money runs alongside it, deliberately small: capped stakes through [Pearl Connect](https://github.com/valory-xyz/connect), only in edge classes whose settled evidence has earned it.

The name honors the man who relived the same day until he'd learned enough to win it, and the groundhog who makes forecasts.

The experiment

Claude Code gets a simulated $1,000 bankroll and the short-term Polymarket universe: earnings beats, daily sports, pre-match esports, official economic prints, near-term news. Crypto up-or-down coin-flips are banned. Every cycle it settles yesterday's bets against official resolutions and scores its own calibration against the market price it paid. It writes a retrospective when bets have settled. A swarm of cheap screening subagents scores ~300 markets per full cycle against the live price (`core/screen.py`), and the agent spends its research slots on the largest divergences. It **edits its own playbook, risk policy, tooling, sensing** (the market-discovery queries and the screening prompt) **and pacing** (which hourly ticks deserve a full cycle). Then it commits the diff, researches, and bets again.

Three layers keep it honest:

  • an hourly cycle agent that screens, researches, bets, and self-edits, plus lightweight watchers (core/watch.py) that check every ~15 minutes for new listings and price moves on the agent's watchlist and trigger an early cycle when something fires;
  • a daily deep-retro agent that audits every strategy edit (keep, sharpen, or