martin-prince-loop: open-source Codex skill loops its own predicted messages

turtlesoupy · x · 2026-11-25

turtlesoupy open-sourced martin-prince-loop (MIT): a Codex skill that takes Codex's own composer prediction (the suggested next message) and sends it back as a real user message, repeating the cycle. Meta suggestions, repeats, and "keep going" all count; it stops by default after five messages or 30 minutes. Requires Python 3.10+, a recent Codex desktop/CLI with thread/sample and codex queue, and a ChatGPT login in auth.json (tested on macOS). Invoke in any Codex chat with $martin-prince-loop, with optional args like turns=3 timeout=10m.

Related event: Martin Prince Loop Open-Sourced: Codex Auto-Executes Its Predicted Messages(2 posts)→

Original post →

More from coding & agent

coding & agent channel →