Skip to content
PluginStats

@khalilgharbaoui/opencode-claude-code-plugin weekly downloads statistics

By khalilgharbaoui · npm · AI SDKs

Claude Code CLI provider plugin for opencode

View on npm Fresh · Dec 6, 2026

@khalilgharbaoui/opencode-claude-code-plugin has 1,919 recorded weekly downloads on npm, a decrease of 38.6% over the past 30 days, ranking #1898 of 3,247 tracked listings.

Weekly downloads
1,919
Official API · Dec 5, 2026
7-day growth
-22.2%
-547 weekly downloads
30-day growth
-38.6%
-1.2K weekly downloads
90-day growth
+11.2%
+193 weekly downloads
Rank
#1898
▼ 176 in 7 days

About @khalilgharbaoui/opencode-claude-code-plugin

<picture> <source media="(prefers-color-scheme: dark)" srcset="site/public/banner-dark.svg"> <source media="(prefers-color-scheme: light)" srcset="site/public/banner-light.svg"> <img alt="opencode-claude-code-plugin: run Claude in opencode through the official claude CLI" src="site/public/banner-dark.svg" width="1200"> </picture>

@khalilgharbaoui/opencode-claude-code-plugin

npm version npm downloads per month npm downloads total GitHub stars GitHub forks Contributors Tests Models Publish License Buy me a coffee

Claude Code is the provider. This opencode plugin runs Anthropic's Claude models through the official Claude Code CLI (claude) as a subprocess instead of calling the HTTP API. opencode inherits whatever that CLI is logged in as (a Claude subscription, an API key, Bedrock or Vertex), gets Claude's own tools, MCP servers and skills, and keeps running the tools that touch your machine itself, behind its own permission prompts. One package serves opencode 1.x and 2.x.

  • Your CLI's login, untouched. The plugin never reads, stores or replays a token. Lifting the OAuth session out of the official client is what proxy-style plugins do, and Anthropic disallowed that for third-party Claude use in February 2026. This plugin structurally cannot do it.
  • opencode runs the tools. Bash, Edit, Write, WebFetch and Task are proxied by default: Claude calls an in-process MCP tool and opencode executes it, under its own permissions and audit log.
  • Billed as your CLI bills. Headless claude --print on a subscription draws from the plan's ordinary usage limits; an API key bills pay as you go. The CLI's apiKeySource says which, every session, and the plugin warns when a stray ANTHROPIC_API_KEY would move the bill.

Docs: https://opencode-claude-code-plugin.dev/ (the same pages are the markdown under docs/, which GitHub renders on its own).

Quickstart

  1. Install and log in the Claude Code CLI. The plugin drives an existing claude; it does not bundle one.

    claude --version      # e.g. 2.1.284 (Claude Code)
    claude auth status    # which account you are signed in as
    claude auth login     # only if you are not signed in yet
    
  2. Add the package to opencode's global config. That spec is the whole install. Do not npm install it yourself: opencode resolves and caches plugin packages on its own.

    {
      "plugin": ["@khalilgharbaoui/opencode-claude-code-plugin"]
    }
    

    ~/.config/opencode/opencode.json, on opencode 1.x and 2.x alike. opencode 2's native key is plugins, and opencode plugin add @khalilgharbaoui/opencode-claude-code-plugin writes that entry and installs the package for you.

  3. Quit opencode fully and relaunch. Plugins load once, at process start. The model picker now has a Claude Code provider (opencode 1.x labels it with its id, claude-code) with entries such as Claude Sonnet 5.5 (2×) and Claude Opus 5 (5×); the suffix is each model's list price relative to Haiku. A model's full id is claude-code/<model>, so one line checks it from a terminal:

    opencode run -m claude-code/claude-haiku-5-5 "reply with ok"
    

Nothing in the picker? Troubleshooting is keyed on the first thing you see. /claude-code-doctor in any session prints what the plugin thinks is happening, without calling a model.

What you get…

Description from the npm listing.

  • opencode
  • claude
  • claude-code
  • ai-sdk
  • 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

@khalilgharbaoui/opencode-claude-code-plugin weekly downloads on npm, last 90 days: 1,919 weekly downloads as of Dec 5, 2026, +11.2% over 90 days.@khalilgharbaoui/opencode-claude-code-…Weekly downloads on npm · Last 90 days1,919downloads / week+11.2% over 90 days01K2K3K4K5K6K7KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@khalilgharbaoui/opencode-claude-code-plugin weekly downloads on npm, last 90 days: 1,919 weekly downloads as of Dec 5, 2026, +11.2% over 90 days.

7/30/90-day growth

@khalilgharbaoui/opencode-claude-code-plugin weekly downloads growth on npm: -22.2% over 7 days, -38.6% over 30 days, +11.2% over 90 days.@khalilgharbaoui/opencode-claude-code-…Weekly downloads growth on npm1,919downloads / week now7-day growth-547 weekly downloads-22.2%30-day growth-1,206 weekly downloads-38.6%90-day growth+193 weekly downloads+11.2%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@khalilgharbaoui/opencode-claude-code-plugin weekly downloads growth on npm: -22.2% over 7 days, -38.6% over 30 days, +11.2% over 90 days.

Ranking history

@khalilgharbaoui/opencode-claude-code-plugin npm ranking history: currently #1898 (by weekly downloads).@khalilgharbaoui/opencode-claude-code-…npm ranking · by weekly downloads · Last 90 days#1898current rank#400#600#800#1000#1200#1400#1600#1800#2000Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
@khalilgharbaoui/opencode-claude-code-plugin npm ranking history: currently #1898 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 95, #18 (overall #1,898)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs378 listings · 19 pages · page 9, #20 (overall #180)
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 (591)
Recent weekly downloads observations for @khalilgharbaoui/opencode-claude-code-plugin
Date (UTC)Weekly downloadsChange vs. previous
1,919+119
1,800-534
2,334+7
2,327-213
2,540-137
2,677-201
2,878+412
2,466+304
2,162+125
2,037-127
2,164+186
1,978-46
2,024-437
2,461—

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/@khalilgharbaoui/opencode-claude-code-plugin. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.