@tokenwarden/opencodeTokenWarden for opencode local-first context optimization and cost reporting plugin.
0
295
29 in 7 days
32.5
Multi-signal model
1 month ago
2026-06-26
Install and configure
opencode.jsonWrites to this project's opencode.json — applies to this repository only.
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@tokenwarden/opencode@1.1.0"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@tokenwarden/opencode@1.1.0"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D @tokenwarden/opencodeopencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.
No README provided
Missing documentation usually means the project is still early. Check the source repository for details.