npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

opencode-plugin-cc

v0.2.3

Published

Use OpenCode from Claude Code to review code or delegate tasks.

Readme

opencode-plugin-cc

CI npm license

Use OpenCode from inside Claude Code for code reviews or delegated tasks.

This plugin mirrors the workflow shape of codex-plugin-cc, but delegates to the local opencode CLI.

What You Get

  • /opencode:review for a read-only OpenCode review
  • /opencode:adversarial-review for a steerable challenge review
  • /opencode:rescue, /opencode:status, /opencode:result, and /opencode:cancel to delegate work and manage background jobs
  • /opencode:setup to check local OpenCode readiness and toggle the optional stop-time review gate

Requirements

  • Node.js 22.18 or newer
  • OpenCode CLI installed and authenticated

Install

Add the marketplace in Claude Code:

/plugin marketplace add skillsland/opencode-plugin-cc

Install the plugin:

/plugin install opencode@skillsland-opencode

The marketplace entry installs the published opencode-plugin-cc npm package, so the package must be published before this command can install a working plugin.

Reload plugins:

/reload-plugins

Then run:

/opencode:setup

/opencode:setup will tell you whether Node.js, OpenCode, and OpenCode authentication are ready.

Plugin runs use OpenCode's built-in build agent in --pure mode by default so external OpenCode plugins cannot change the agent type or break basic commands. Pass --agent <name> on a command when you want another primary OpenCode agent. Set OPENCODE_COMPANION_PURE=0 before launching Claude Code if you explicitly want OpenCode plugin loading for companion runs.

If you need to install OpenCode, use:

curl -fsSL https://opencode.ai/install | bash

If OpenCode is installed but not logged in yet, run:

!opencode providers login

After install, you should see:

  • the slash commands listed below
  • the opencode:opencode-rescue subagent in /agents

One simple first run is:

/opencode:review --background
/opencode:status
/opencode:result

Usage

/opencode:review

Runs a read-only OpenCode review on your current git state.

Examples:

/opencode:review
/opencode:review --base main
/opencode:review --background

/opencode:adversarial-review

Runs a review that challenges the implementation approach and design assumptions.

Examples:

/opencode:adversarial-review
/opencode:adversarial-review --base main challenge the retry and rollback design
/opencode:adversarial-review --background look for race conditions

/opencode:rescue

Delegates an investigation or fix request to OpenCode.

Examples:

/opencode:rescue investigate why tests are failing
/opencode:rescue --write fix the failing test with the smallest safe patch
/opencode:rescue --model anthropic/claude-sonnet-4-5 --variant high inspect this regression
/opencode:rescue --background --write implement the missing edge case

Notes:

  • The plugin never adds --dangerously-skip-permissions unless you explicitly ask for it.
  • Follow-up rescue requests can resume the latest tracked OpenCode task when an OpenCode session ID is available.

Job Management

/opencode:status
/opencode:status <job-id>
/opencode:result
/opencode:result <job-id>
/opencode:cancel
/opencode:cancel <job-id>

Review Gate

/opencode:setup --enable-review-gate
/opencode:setup --disable-review-gate

When enabled, the plugin uses a Claude Code Stop hook to run a compact OpenCode review of the previous Claude turn. If OpenCode returns BLOCK: ..., the stop is blocked so Claude can address the issue first.

Development

Requirements:

  • Node.js 22.18 or newer
  • pnpm 10.33 or newer

Install dependencies:

pnpm install

Run the full local quality gate:

pnpm run check

Useful scripts:

  • pnpm run build - bundle TypeScript into dist/ with tsdown
  • pnpm run typecheck - run TypeScript without emitting files
  • pnpm run lint - run ESLint with type-aware TypeScript rules
  • pnpm run test - run Vitest once
  • pnpm run format - format the repo with Prettier
  • pnpm run changeset - create a Changesets release note
  • pnpm run commit - write a Conventional Commit with Commitizen

License

MIT