StanPonomarev a3c5ae5c42
CI / verify (pull_request) Successful in 11s
fix: claude limits missing sometimes
2026-10-08 07:12:33 +02:00
2026-10-04 13:03:19 +02:00
2026-10-04 13:03:19 +02:00
2026-10-08 07:12:33 +02:00
2026-09-09 09:56:21 +02:00
2026-09-09 09:56:21 +02:00
2026-09-09 09:56:21 +02:00
2026-09-26 21:35:59 +02:00
2026-09-09 09:56:21 +02:00
2026-10-04 12:55:04 +02:00
2026-10-04 13:03:19 +02:00
2026-10-04 12:49:41 +02:00
2026-10-04 15:12:43 +02:00
2026-10-07 14:49:00 +02:00
2026-09-12 09:51:04 +02:00
2026-09-12 10:29:24 +02:00

stanp-opencode

Release installation

Requires OpenCode 2.0.22, Bun 1.4.2+, Bash, curl, jq, and sha256sum on Linux/WSL.

# Upgrading the old monolith resets quota and invalidates its Multi-work bindings.
curl -fsSL https://git.krtss.de/StanPonomarev/stanp-opencode/raw/branch/main/install.sh | bash -s -- --plugins agents,multi-work,quota
opencode service restart
# Connect OpenAI and select coordinate in OpenCode.

Choose any plugin subset; Multi-work requires Agents first.

Quota shows ChatGPT limits for the connected OpenAI account and, when Claude Code is logged in, Claude subscription limits read from ${CLAUDE_CONFIG_DIR:-~/.claude}/.credentials.json (read-only; Claude Code refreshes the token).

Local installation

From a local checkout, run:

bash /path/to/stanp-opencode/install-local.sh --plugins agents,multi-work,quota
opencode service restart
# Connect OpenAI and select coordinate in OpenCode.

GPT configuration

Merge this into ~/.config/opencode/opencode.json, preserving unrelated settings and plugins; update existing plugin entries instead of appending duplicates.

{
    "$schema": "https://opencode.ai/config.json",
    // Required at the root and in worktrees.
    "experimental": { "subagent_depth": 2 },
    "plugins": [
        {
            "package": "./plugins/stanp-opencode/agents",
            "options": {
                "mode": "gpt",
                "provider": "openai",
                // Priority may cost more; set false to opt out.
                "lunaPriority": true,
            },
        },
        { "package": "./plugins/stanp-opencode/multi-work" },
        { "package": "./plugins/stanp-opencode/quota" },
    ],
}

Custom model configuration

Merge this into ~/.config/opencode/opencode.json, preserving unrelated settings and plugins; update existing plugin entries instead of appending duplicates. The deep-lo and deep-hi assignments are optional as a pair; if either is omitted, both deep workers are disabled and orchestration uses good-lo.

{
    "$schema": "https://opencode.ai/config.json",
    // Required at the root and in worktrees.
    "experimental": { "subagent_depth": 2 },
    "plugins": [
        {
            "package": "./plugins/stanp-opencode/agents",
            "options": {
                "mode": "custom",
                "agents": {
                    "fast-lo": { "model": "openai/gpt-6-luna", "effort": "low" },
                    "fast-hi": { "model": "openai/gpt-6-luna", "effort": "high" },
                    "good-lo": { "model": "openai/gpt-6.1-sol", "effort": "low" },
                    "good-hi": { "model": "openai/gpt-6.1-sol", "effort": "high" },
                    "deep-lo": { "model": "openai/gpt-6-astra", "effort": "low" },
                    "deep-hi": { "model": "openai/gpt-6-astra", "effort": "high" },
                },
            },
        },
        { "package": "./plugins/stanp-opencode/multi-work" },
        { "package": "./plugins/stanp-opencode/quota" },
    ],
}
S
Description
opencode plugin for personal use by StanPonomarev
Readme
412 KiB
3.3.0
Latest
2026-10-10 15:17:49 +02:00
Languages
TypeScript 98.9%
Shell 1.1%