Omahub
← All plugins
B

OMP Usage

by brianstarke

OMP usage stats in the Omarchy bar.

Install
$ omarchy plugin add https://github.com/brianstarke/omarchy-plugin-omp --enable
Widgets #bar

omp-usage

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

Preview

Requirements

  • Python 3
  • OMP (Oh My Pi) https://omp.sh
  • Existing OMP session data in ~/.omp/agent/sessions/

Installation

omarchy plugin add https://github.com/brianstarke/omarchy-plugin-omp.git --enable

Then place it in your bar layout with

omarchy bar plugin add omp-usage [--section <left|center|right>]

Suggested placement:

omarchy bar plugin add omp-usage --section left

You can validate the plugin at any time with:

omarchy plugin validate ~/.config/omarchy/plugins/omp-usage

Configuration

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

Key Type Default Description
refreshIntervalSec integer (30–3600) 300 How often to re-scan the OMP session logs (seconds)

Uninstall

omarchy plugin remove omp-usage

Credits

Heavily inspired by dizziee.opencode-model-usage.

License

MIT