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.

Original post →

More from coding & agent

coding & agent channel →