Goal Persistence

Maintain explicit north-star goal for the whole thread that survives compactions and detects drift. USE WHEN: non-trivial task stated, user redirected mid-task ("actually do X instead" / "wait scrap that" / "现在改成"), before `context-pressure-compact`, about to mark done, user said "我们的目标是" / "we're trying to" / "我想要的" / "what I want is" / "目标是", agent drifting (tool call no longer serves original ask). TRIGGER PHRASES: "我们的目标", "目标是", "我想要", "we're trying to", "what I want is", "drift", "走偏了", "focus on", "stay focused", "on track", "actually do X instead", "wait scrap that", "现在改成". SKIP WHEN: trivial one-shot task, exploration without commitment, goal hasn't changed in many turns.

MiniMax AI Updated 12.9k repo stars

File contents

minimax-ai/minimax-code-plugins/tree/main/plugins/antianqi/codex-harness-patterns/skills/goal-persistence commit a7a145ed7e

Frequently asked questions

npx skillmds@latest add minimax-ai/goal-persistence