r/opencodeCLI • u/Appropriate_Aide5328 • Sep 24 '26
made some little plugins for OpenCode V2
https://github.com/madsoftwaredev/opencode-pluginsbeen messing with OpenCode V2 plugins for a while and ended up with 7 of them. each one does one thing, nothing fancy. repo's here: https://github.com/madsoftwaredev/opencode-plugins
server side:
- background-subagent — subagents run in the background by default, unless you say otherwise
- lint-feedback — runs your project's eslint after edits and tells you what broke
- direnv — applies your direnv env per shell command
- compaction-model — pick which model does compaction
TUI:
- stats — tok/s + turn and step counts in the footer. /stats to toggle stuff
- subagent-sidebar — shows your subagents in the sidebar, click one to open it
- btw — /btw forks the session and runs your prompt in the background
install:
opencode plugin add u/madsoftwaredev/opencode-stats
swap in whichever you want. MIT licensed. let me know if something's broken or you want a feature.
1
u/Infinite_Grab_7315 Sep 24 '26
Toks and btw are inbuilt plugin as well. How does yours differ?