Discipline skill for long-running agent tasks — recurring loops and run-until-done goals: checkpoint state, isolate context per iteration, explicit exit condition.
2 files for GitHub Copilot, Codex and OpenCode: loop-goal copilot-instructions.md, loop-goal AGENTS.md — 620 tokens loaded in every session.
.github/copilot-instructions.md A 262 tok AGENTS.md A 358 tok These files are lgqyhm2010/loop-goal's own configuration — they tell GitHub Copilot, Codex and OpenCode how to work on this repository, so they are not mods to install elsewhere. Copy one as a starting point and replace the parts that are about this project.