Usage Limits
OpenCode TUI plugin that shows Codex, Command Code, OpenCode GO, ZAI, Synthetic, MiniMax Token Plan, and Qwen usage limits in the sidebar and prompt footer.
3
+2 in 30 days
4,732
2.9k in 7 days
50.8
Multi-signal model
47 minutes ago
2026-10-05
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": ["@mynameistito/opencode-usage-limits@1.2.2"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@mynameistito/opencode-usage-limits@1.2.2"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D @mynameistito/opencode-usage-limitsOpenCode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.
Personal OpenCode V2 (@opencode/cli) Plugins.
Packages
@mynameistito/opencode-force-input
Interrupts the active run and force-submits the current prompt with Ctrl+Enter.
Install it with OpenCode's plugin command:
opencode2 plugin add "@mynameistito/opencode-force-input@latest" -g
See the force-input README for manual configuration and Windows Terminal key bindings.
@mynameistito/opencode-usage-limits
Shows provider usage limits in the sidebar and prompt footer.
Supported providers:
- Alibaba Token Plan
- ChatGPT
- Command Code
- DeepSeek
- Novita AI
- OpenCode GO
- MiniMax Token Plan
- Synthetic
- Qwen
- ZAI Coding Plan
Install it with:
opencode2 plugin add "@mynameistito/opencode-usage-limits@latest" -g
See the usage-limits README for provider credentials, configuration, and troubleshooting.
Local Development
Build the workspace and load the source entrypoints from ~/.config/opencode/cli.json:
{
"$schema": "https://opencode.ai/v2/cli.json",
"plugins": [
"/path/to/opencode-plugins/packages/opencode-force-input/src/index.ts",
"/path/to/opencode-plugins/packages/opencode-usage-limits/src/index.ts",
],
}
Development
bun install --frozen-lockfile
bun run typecheck
bun run check
bun run test
bun run build
Use the root Changesets helper for user-facing changes:
bun run changeset-add -- docs patch "Describe the documentation change"
bun run changeset-add -- force-input patch "Describe the change"
bun run changeset-add -- usage-limits minor "Describe the change"
Packages are independently publishable. Build output is generated during packaging and is not committed.
Similar plugins
Commandcode
@brainervirus/opencode-commandcode
Command Code API provider for opencode — use Claude, GPT, Gemini, DeepSeek, Qwen, Kimi, GLM, MiniMax, and Step models via Command Code
Commandcode
@herouucn/opencode-commandcode
Inject Command Code API provider into opencode — access Claude, GPT, Gemini, DeepSeek, Qwen, Kimi, GLM, MiniMax & Step via unified Command Code API. / 将 Command Code API provider 注入 opencode —— 通过统一的 Command Code API 使用 Claude、GPT、Gemini、DeepSeek、Qwen、Kim
Codex Usage
opencode-plugin-codex-usage
OpenCode TUI plugin that shows live Codex usage limits in the session sidebar.