Karpathy-inspired harness prompt turns Opus 5.5 into a self-verifying execution engine
Roger_M_Taylor · x · 2026-10-23
@0xPontiuz adapted ex-OpenAI founding member Andrej Karpathy's public agent-harness guidance into a full harness prompt for Opus 5.5, claiming it turns the model into an execution engine that actually ships, alongside a guide: "Grok Bot + Opus 5.5: Build a 24/7 AI Engineering Team in 12 Steps."
The prompt's structure (visible in the shared image):
- Run tasks inside a harness, not one long chat: plan, context, tools, checks, a visible verification report, and an updated CLAUDE.md form a closed loop
- Seven layers: plan (plan.md steps, parallelizable marked), context (load only needed files, long logs saved as paths), autonomy (three autonomy levels per step), permissions (confirm before publishing/spending, no two sessions editing the same file), verification (every step proves itself with real signals — tests, builds, screenshots — tracked in checks.md), feedback (failed checks bounce back with reason, capped at 3 attempts, corrections written to CLAUDE.md), completion (every output has an openable path, checked against the saved version)
- Execution loop: read plan.md, run steps in parallel, verify against checks, rerun failures, run the full suite before merge until done or blocked
- The Grok Bot + Opus 5.5 setup: one Chief plus four specialist agents, Cursor cloud agents, shared memory, automated testing and a review loop that fixes GitHub issues and prepares PRs while your laptop is closed
More from coding & agent
- Why LLMs dissolve the long-standing barriers to formally verified software — teortaxesTex · 2026-10-23
- Row-Bot 5.1 connects local AI to 100+ apps and 40,000 MCP servers — Acceptable-Object390 · 2026-10-23
- Agent evals should test metric definition drift, argues dev in new post — jylusdev · 2026-10-23
- AI agents drove this dev's GitHub Actions bill from $738 to ~$2,400/month — CellistOk6782 · 2026-10-23
- How to keep AI-built apps from looking vibe coded: designer themes plus a design MD file for agents — Roger_M_Taylor · 2026-10-23
- freeCodeCamp tutorial: how to build production-safe agent loops after a Claude Code run burned $50,000 — Roger_M_Taylor · 2026-10-23