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

@sunderrrr/opencode-setup

v1.0.0

Published

Analyze a codebase and recommend tailored OpenCode automations (MCP servers, skills, subagents, commands, plugins). A faithful, OpenCode-adapted reproduction of Anthropic's claude-code-setup.

Downloads

183

Readme

OpenCode Setup

A reproduction of claude-code-setup (Anthropic's official plugin), adapted to OpenCode.

Analyzes your codebase and recommends the most useful OpenCode automations — MCP servers, skills, subagents, commands, and plugins/hooks. It is read-only: it recommends, it never modifies your files.

How it works

Like the original, the core is an LLM-driven skill (not a fixed detection script). It follows a 3-phase workflow — scan → map → report — backed by detailed reference files. It surfaces the top 1-2 automations per category (or 3-5 if you ask for a specific category).

opencode-setup/
├── skills/opencode-automation-recommender/
│   ├── SKILL.md                       # the brain (workflow + decision framework)
│   └── references/
│       ├── mcp-servers.md             # context7, Playwright, Supabase, GitHub…
│       ├── skills-reference.md        # custom skills to create
│       ├── subagents.md               # code-reviewer, security-reviewer…
│       ├── commands.md                # /test, /pr, /review…
│       └── plugins-hooks.md           # format/lint/block via the plugin API
├── command/setup.md                   # the /setup command (trigger)
└── plugin/index.js                    # read-only `project-scan` tool (ESM)

claude-code-setup → OpenCode mapping

| claude-code-setup | OpenCode | |---|---| | MCP Servers | mcp block in opencode.jsonc (type: local/remote) | | Skills | .opencode/skills/<n>/SKILL.md | | Subagents | .opencode/agent/<n>.md (mode: subagent) | | Slash Commands | .opencode/command/<n>.md | | Hooks | OpenCode plugin API (tool.execute.before/after, event) — OpenCode has no separate hooks config |

Installation

npm (recommended)

npx @sunderrrr/opencode-setup

Cross-platform. Installs the skill, the /setup command, and the project-scan plugin into ~/.config/opencode/. Override the target with OPENCODE_CONFIG=/path npx @sunderrrr/opencode-setup.

curl

curl -fsSL https://raw.githubusercontent.com/Sunderrrr/opencode-setup/main/install.sh | bash

Both methods install the same files into ~/.config/opencode/.

Usage

In OpenCode:

/setup

or simply, in natural language (the skill triggers itself):

recommend automations for this project
help me set up OpenCode for this project
what plugins/hooks should I use?

Requirements

  • OpenCode 1.17+
  • Node 18+ (for npx); or curl for the shell installer

Publishing (maintainers)

Releases are published to npm automatically by .github/workflows/publish.yml when a GitHub Release is published. One-time setup:

  1. Create an npm automation access token (npmjs.com → Access Tokens).
  2. Add it as the repo secret NPM_TOKEN (Settings → Secrets and variables → Actions).
  3. Bump version in package.json, then publish a GitHub Release tagged vX.Y.Z (the tag must match the package version). The workflow runs npm publish with provenance enabled.

To publish manually instead:

npm publish   # uses publishConfig.access=public + provenance

License

MIT