@ousing9/omo-no-time
v1.0.0
Published
OpenCode plugin that removes the 'Current time' line from <omo-env> block to improve LLM cache hit rates
Downloads
54
Maintainers
Readme
@ousing9/omo-no-time
OpenCode plugin that removes the Current time: line from the <omo-env> block in system prompts.
Why?
The <omo-env> block injected by oh-my-opencode includes a Current time: line that changes every request. This kills LLM prompt cache hit rates since the system prompt is different each time.
This plugin strips only the time line, keeping date, timezone, and locale intact — so your cache stays stable within a day.
Before:
<omo-env>
Current date: Thu, Mar 12, 2026
Current time: 03:42:09 PM
Timezone: Asia/Shanghai
Locale: en-US
</omo-env>After:
<omo-env>
Current date: Thu, Mar 12, 2026
Timezone: Asia/Shanghai
Locale: en-US
</omo-env>Install
npm install @ousing9/omo-no-timeThen add to your OpenCode config (~/.config/opencode/opencode.jsonc):
{
"plugin": [
// ... other plugins
"@ousing9/omo-no-time"
]
}License
MIT
