A 13-step "Executive Function" mega-prompt tries to keep MetaAI focused while coding
Designer-Material633 · reddit · 2026-12-06
A Reddit user shares an "Executive Function" system prompt meant to keep MetaAI on track during coding sessions. Before answering, the model must run 13 ordered steps: closed-loop check of unresolved tasks, context hygiene, associative indexing against external memory, an External Working Memory note with Goal/Raw Ideas/Updating/Inhibition sections, generating and committing to at least two candidate approaches, self-monitoring for drift, state/overload management, task initiation, 3-5 sub-step planning, metacognition, goal maintenance, feedback integration, and a consent gate against boundary violations — then answer only from the working-memory note.
The author asks which branches could be turned into a working tool today for real testing. It's essentially cognitive-science executive function templated into a prompt; potentially useful for long-conversation drift, but running all 13 steps adds heavy latency.
More from coding & agent
- Let your AI agent read iMessage/WhatsApp via MCP servers, no computer use needed — signulll · 2026-12-06
- Dev says shadcn, Vercel and uisdk open source let him build a near-production software factory in 4 days — shadcn · 2026-12-06
- Months-long essay: what happens to data analytics when AI agents do all engineering work — sh_reya · 2026-12-06
- Agent orchestration is fatiguing engineers — and 'chief of staff' agents are next — minhnguyen · 2026-12-06
- Dev shares full Gemini swarm build plan for a local site crawler: 8 parallel workers plus adversarial verification gates — gaganghotra_ · 2026-12-06
- Why editing a Claude message kills your prompt cache: SWA checkpointing? — YouJiacheng · 2026-12-06