Skip to content

Context Integration

Generic branch and stack context now lives in the standalone context tool.

Use the new commands directly:

Terminal window
context git
context git --json
context stack
context stack --json

The dotfiles repo keeps the OpenCode plugins that consume those JSON payloads:

  • branch-context runs context git --json and renders <branch-context> XML for scoped commands.
  • stack-context runs context stack --json and renders <stack-context> XML automatically and for /inject-stack or /inject-context.

For CLI flags, JSON payload shape, and MCP tools, see https://context.timmo.dev.