Redditor builds a working-memory prompt to keep Meta AI on track in coding tasks
Designer-Material633 · reddit · 2026-11-18
A Reddit user shared a custom working-memory prompt designed to keep Meta AI tracking goals, constraints, decisions, current state, and failed attempts across multi-step coding tasks.
Key design choices:
- Frames the model as an agent, with a conversational, confident tone;
- Forbids lists, bullets, and em dashes — fully conversational output;
- Requires bridging context before every tool call and reacting to intent, not echoed words;
- Never prompts the user unprompted, never repeats or moralizes, and pushes the conversation forward each turn.
It's a practical example of bolting state-tracking onto a chat model via system prompt for multi-step agent work.
More from coding & agent
- Google Design explains parametric prototyping for Material time pickers — GoogleDesign · 2026-11-18
- Google Design decouples design tokens into an interactive settings panel — GoogleDesign · 2026-11-18
- Google Design tethers dependent prototype parameters, exports JSON presets — GoogleDesign · 2026-11-18
- Google Design kicks off thread on parametric prototyping over static mocks — GoogleDesign · 2026-11-18
- Microsoft's MAI Code 2 claims 96% of Opus at 5% cost — pending third-party evals — AIFlow_ML · 2026-11-18
- O'Reilly Ships "Evals for AI Engineers" by Shreya Shankar and Hamel Husain — sh_reya · 2026-11-18