Global instruction file for OpenCode that enforces proactive task tracking and clarifying-questions discipline across all sessions.
- Todowrite Discipline — Automatically prompts the model to create and maintain a task list for any multi-step work, keeping you informed of progress.
- Ask Before Assuming — Guides the model to use the
questiontool when requirements are ambiguous, rather than guessing.
Add to your global OpenCode config (~/.config/opencode/opencode.json):
{
"instructions": [
"~/.config/opencode/global-prompt.md"
]
}Then restart OpenCode.
global-prompt.md— The instruction file consumed by OpenCode.
MIT