Shared cached prefix
First requests hit the cache only 14% to 26% of the time. Yet 11k to 21k tokens of tool definitions and agent prompt were identical across repos. OpenCode v1 built one system block with the agent prompt and the environment (working directory and date). It put one cache breakpoint at the end. The team added a marker at the end of each agent prompt, and a plugin hook splits the block there. The shared half now has its own breakpoint. Repo-specific content moved after it, the skills list was disabled, and tool descriptions were frozen. First-request cache reads rose to 91% to 99.5%.