Skip to content
PluginStats

@xtruder/opencode-claude-max-plugin weekly downloads statistics

By xtruder · npm · AI SDKs

OpenCode plugin for Claude Max/Pro subscription via @anthropic-ai/sdk - uses Claude Code OAuth credentials

View on npm Fresh · Oct 18, 2026

@xtruder/opencode-claude-max-plugin has 203 recorded weekly downloads on npm, an increase of 118% over the past 30 days, ranking #1669 of 2,322 tracked listings.

Weekly downloads
203
Official API · Oct 18, 2026
7-day growth
-81.7%
-906 weekly downloads
30-day growth
+118%
+110 weekly downloads
90-day growth
+1169%
+187 weekly downloads
Rank
#1669
Among tracked npm listings

About @xtruder/opencode-claude-max-plugin

@xtruder/opencode-claude-max-plugin

Use Claude Pro/Max subscription credentials in OpenCode, with a subscription-usage sidebar and /usage dialog. The plugin uses the official Anthropic SDK through OpenCode's AI SDK adapter.

Requires OpenCode 2.0.16 or later. OpenCode v1 is not supported. Model availability depends on your account.

Installation

Sign in to Claude Code, then add the plugin to ~/.config/opencode/opencode.json or your existing opencode.jsonc:

claude auth login
{
  "plugins": ["@xtruder/opencode-claude-max-plugin"]
}

OpenCode installs the package and discovers both its provider and terminal UI. No separate provider configuration is needed. Restart OpenCode after changing the configuration; if you use a shared server, restart it and the terminal client.

When migrating from v1, replace the old plugin entry with the v2 plugins configuration and remove any separate registration of src/tui.tsx. Use a v2-compatible plugin release; version 0.4.6 predates this migration.

Authentication

For subscription access, sign in with Claude Code:

claude auth login

The plugin reads ~/.claude/.credentials.json. Credential refresh is deferred until an inference request needs it.

Authentication is selected in this order:

  1. An explicit apiKey plugin option.
  2. The ANTHROPIC_API_KEY environment variable.
  3. Claude Code's OAuth credentials.

If you intend to use your subscription, make sure an API key is not overriding it. API-key requests use API billing rather than subscription access.

For a custom credentials file, supply server plugin options:

{
  "plugins": [
    {
      "package": "@xtruder/opencode-claude-max-plugin",
      "options": {
        "credentialsPath": "/absolute/path/to/.credentials.json"
      }
    }
  ]
}

The credentials must be accessible to the process running the provider. The usage TUI reads credentials on the machine running the terminal client.

Usage

Choose a model from the anthropic-sdk provider in OpenCode, or run:

opencode run --standalone -m anthropic-sdk/claude-haiku-5-5 'Reply with exactly OK.'
opencode run --standalone -m 'anthropic-sdk/claude-sonnet-5-5#high' 'Explain this code.'

Registered models (each row is a separate selectable entry):

ModelOpenCode model ID
Claude Haiku 5.5claude-haiku-5-5
Claude Sonnet 5claude-sonnet-5
Claude Sonnet 5.5claude-sonnet-5-5
Claude Opus 4.8claude-opus-4-8
Claude Opus 5claude-opus-5
Claude Opus 5.5claude-opus-5-5
Claude Fable 5claude-fable-5
Claude Fable 5.1claude-fable-5-1

Claude Opus 5 remains available as a legacy model; it is not an alias for Opus 5.5. Anthropic names it “Claude Opus 5”, not “Claude Opus 5.0”.

Haiku 4.5, Sonnet 4.6, Opus 4.6 (including the -1m variant), and Opus 4.7 are no longer registered by this plugin. Select a supported model when continuing sessions that used them.

Registration does not guarantee account access to a model. Use these OpenCode IDs rather than dated API aliases.

Model settings

Use OpenCode v2's providers configuration for model overrides. For example, to disable refusal fallback for a model:

{
  "providers": {
    "anthropic-sdk": {
      "models": {
        "claude-fable-5": {
          "settings": { "refusalFallback": false }
        }
      }
    }
  }
}

The provider supports model-specific prompts, prompt caching, thinking, tool calls, pause-turn continuation, and server-side refusal fallbacks. See RESEARCH.md for request-format details.

Subscription usage

The terminal sidebar shows available 5-hour and 7-day usage windows and reset times. Run /usage or select it from the command palette for additional model-specific windows and extra-usage status. Press Escape to close the dialog.

Usage comes from subscription data, not estimates derived from token counts. It is separate from OpenCode's native token/cost statistics.

The display checks its shared cache every 60 seconds by default. Usage API results are cached for five minutes; opening /usage does not bypass that cache or rate-limit backoff. Failed requests retain cached values with a status notice. Fetching usage does not send an inference request or launch Claude Code to refresh credentials.

TUI settings

Defaults work with the server plugin registration alone. To customize the terminal UI, add an entry to ~/.config/opencode/cli.json:

{
  "plugins": [
    {
      "package": "@xtruder/opencode-claude-max-plugin",
      "options": {
        "enabled": true,
        "sidebar": true,
        "poll_interval": 60
      }
    }
  ]
}
OptionDefaultDescription
enabledtrueEnable the usage TUI.
sidebartrueShow sidebar usage. Disabling it keeps /usage available.
poll_interval60Cache polling interval in seconds; minimum 10.
credentialsPath~/.claude/.credentials.jsonCredentials file used by the usage TUI.

Server plugin options are not automatically passed to the TUI. Set a custom TUI credentials path in cli.json, even if it is already configured for the server. The usage cache is shared within an XDG state directory, not separated by credentials file or account.

Development…

Description from the npm listing.

  • ai-sdk
  • anthropic
  • claude
  • opencode
  • provider

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@xtruder/opencode-claude-max-plugin weekly downloads on npm, last 90 days: 203 weekly downloads as of Oct 18, 2026, +1169% over 90 days.@xtruder/opencode-claude-max-pluginWeekly downloads on npm · Last 90 days203downloads / week+1169% over 90 days02004006008001K1.2KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
@xtruder/opencode-claude-max-plugin weekly downloads on npm, last 90 days: 203 weekly downloads as of Oct 18, 2026, +1169% over 90 days.

7/30/90-day growth

@xtruder/opencode-claude-max-plugin weekly downloads growth on npm: -81.7% over 7 days, +118% over 30 days, +1169% over 90 days.@xtruder/opencode-claude-max-pluginWeekly downloads growth on npm203downloads / week now7-day growth-906 weekly downloads-81.7%30-day growth+110 weekly downloads+118%90-day growth+187 weekly downloads+1169%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
@xtruder/opencode-claude-max-plugin weekly downloads growth on npm: -81.7% over 7 days, +118% over 30 days, +1169% over 90 days.

Ranking history

@xtruder/opencode-claude-max-plugin npm ranking history: currently #1669 (by weekly downloads).@xtruder/opencode-claude-max-pluginnpm ranking · by weekly downloads · Last 90 days#1669current rank#1600#1610#1620#1630#1640#1650#1660#1670#1680Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 18, 2026 – Oct 20, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
@xtruder/opencode-claude-max-plugin npm ranking history: currently #1669 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,161 shown · page 84, #13 (overall #1,673)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs259 listings · 13 pages · page 11, #18 (overall #218)
AI SDKs: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (122)
Recent weekly downloads observations for @xtruder/opencode-claude-max-plugin
Date (UTC)Weekly downloadsChange vs. previous
203+23
180-145
325-251
576-380
956-154
1,1100
1,110+1
1,109+69
1,040+78
962+30
932-37
969+140
829-17
846—

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@xtruder/opencode-claude-max-plugin. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.