Omahub
← All plugins
O

OpenCode Go Usage

by OpenCode community

OpenCode Go usage, account switching, reset countdowns, and token history.

Security review

No obvious issues detected

Deterministic scan — not a security guarantee

None
Risk level
None
Analyzed commit
3594b52
Scanned
1 month ago

No potentially dangerous behavior detected in the analyzed commit.

Automated analysis only — not a security guarantee.

AI advisory review

No obvious issues detected

Language-model assessment · ~deepseek/deepseek-v4-flash-latest — advisory only

Low
AI risk level
Low
Recommendation
install
Model
~deepseek/deepseek-v4-flash-latest
Analyzed commit
3594b52
Reviewed
1 month ago

The plugin reads the user's OpenCode API key and local usage database to display usage statistics, making an HTTP request to the official OpenCode API. No malicious behavior, obfuscation, or destructive actions were found; the code is transparent and matches its described functionality.

  • The plugin reads the user's API key from ~/.local/share/opencode/auth.json and sends it to opencode.ai, which is necessary for the widget's purpose but involves handling sensitive credentials.
  • The plugin queries the local SQLite database for usage data, which is also expected for the widget's functionality.
How this check works

This review combines the deterministic scan (the rule-based results above) with an independent look at the plugin's code by a language model. The model reads a trimmed sample of the repository's files, the manifest, and the README, then gives a plain-language risk level and a recommendation: install (no notable danger), review (look closer first), or avoid (clearly dangerous).

It runs on the same analyzed commit as the deterministic scan and is strictly advisory — it is not a security guarantee and never blocks a plugin by itself. A human moderator still reviews plugins before they are listed.

AI advisory only — automated analysis, not a security guarantee.

Install
$ omarchy plugin add https://github.com/M4Marvin/omarchy-plugin-opencode-go --enable
Developer Tools #bar #ai

OpenCode Go Usage

An Omarchy Quattro bar widget for OpenCode Go usage and recent token history.

Install

omarchy plugin add ~/.config/omarchy/plugins/local.opencode-go --no-enable
# Add local.opencode-go to the right section when ready:
omarchy bar add local.opencode-go --section right

Account

The widget reads the active key from ~/.local/share/opencode/auth.json (opencode-go entry) and labels it Go.

Limits and settings

The 5-hour rolling limit is $12, weekly is $30, and monthly is $60. Left click opens details; right/middle click refreshes; press R in the panel. The default refresh interval is five minutes and can be changed in the bar widget settings (60–3600 seconds).

Removal

omarchy bar remove local.opencode-go
omarchy plugin remove local.opencode-go --yes

License

MIT.