Omahub
← All plugins
D

OpenCode Usage

by Dizziee

OpenCode usage stats in the Omarchy bar.

Security review

No obvious issues detected

None
Risk level
None
Analyzed commit
38ee991
Scanned
1 month ago

No potentially dangerous behavior detected in the analyzed commit.

Automated analysis only — not a security guarantee.

Install
$ omarchy plugin add https://github.com/JJDizz1L/dizziee.opencode-model-usage --enable
Widgets #bar #quickshell #ai

dizziee.opencode-model-usage

OpenCode token usage stats in the Omarchy bar. Displays today, weekly, and all-time token counts per model.

Requirements

Installation

omarchy plugin add https://github.com/JJDizz1L/dizziee.opencode-model-usage.git --enable

Then place it in your bar layout with

omarchy bar plugin add dizziee.opencode-model-usage [--section <left|center|right>]</br>

Suggested placement:

omarchy bar plugin add dizziee.opencode-model-usage --section left

You can validate the plugin at any time with:

omarchy plugin validate ~/.config/omarchy/plugins/dizziee.opencode-model-usage

Configuration

Configuration lives in ~/.config/omarchy/shell.json.

Key Type Default Description
refreshIntervalSec integer (30–3600) 300 How often to re-query the OpenCode database (seconds)

Preview

preview

Uninstall

omarchy plugin remove dizziee.opencode-model-usage

License

MIT