Each capability below exists in the repository and feeds the same agent loop. Nothing here is a roadmap promise.
systemtoolshistoryreservemargin
History allowance derives from the model's verified window minus system, tools, a 4096 token output reserve, and a 5 percent margin. Auto compact fires near 83 percent.
available = window - system - tools - 4096 - 5%
Read: Configurationauto 9asks 3you 1
Nine read-only executors run free. Write, edit, and bash pause for approval. Outputs truncate with overflow pointers, and long shells run in the background.
read src/auth.ts # auto
edit src/auth.ts # asks
Read: Toolsmatch → load body → grant turn
SKILL.md files load in tiers: names always known, bodies on activation, references on demand. At most one skill auto loads per turn, and deny rules still win.
/skill:name # frontmatter grants apply
Read: Skillsenv key → stored key → live list
Zen, OpenAI, Anthropic, DeepSeek, Mistral, Gemini, or any OpenAI-compatible server. Keys resolve env first, then the stored auth file. The live model list wins when reachable.
OPENCODE_ZEN_API_KEY # wins over stored
Read: Providersdeny → allow → prompt
Normal asks, yolo never does, plan blocks writes entirely. Scoped allow and deny rules cover single sessions, and deny beats everything including yolo.
/allow bash:npm test*
Read: Permissionssave → resume → rewind
Atomic saves survive kills mid-write. Resume restores turns and picks, rewind restores file bytes from silent pre-mutation snapshots. Failed turns never touch the file.
Read: Sessions