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-supabase

v0.3.1

Published

OpenCode plugin for Supabase integration with server and TUI components

Downloads

1,958

Readme

opencode-supabase

Supabase plugin for OpenCode.

opencode-supabase screenshot

Get started

Requires OpenCode >= 1.3.4.

opencode plugin opencode-supabase

Launch opencode in your project, then run:

/supabase

Connect your account and ask your agent about Supabase capabilities.

Bundled Supabase Skills

opencode-supabase ships the official Supabase agent skills by default:

  • supabase
  • supabase-postgres-best-practices
  • opencode-supabase-guide

No separate skills CLI setup is required. Installing the plugin makes these skills available to OpenCode through the plugin server config hook.

Supabase MCP Onboarding

After connecting Supabase, start by asking OpenCode to list projects:

List my Supabase projects

Pick the project you want to work with, then ask OpenCode to connect Supabase MCP for that project. OpenCode opens Supabase Studio so you can choose MCP permissions and copy the generated OpenCode config.

After config is added, restart OpenCode and authenticate the MCP server:

opencode mcp auth supabase

Complete OAuth in the browser. Skip any install Supabase Agent Skills step in Studio; this plugin already bundles the Supabase skills.

Disable Bundled Skills

If you want Supabase tools without bundled skills, disable them in plugin options:

{
  "plugin": [
    ["opencode-supabase", { "skills": false }]
  ]
}

Select Individual Skills

Set a bundled skill name to false to disable only that skill. Omitted skills stay enabled. Unknown keys are ignored with a warning.

{
  "plugin": [
    ["opencode-supabase", {
      "skills": {
        "supabase-postgres-best-practices": false
      }
    }]
  ]
}

Maintainer Skill Sync

Bundled skills are vendored as real files under skills/ from supabase/agent-skills, pinned to an exact upstream commit in skills/.upstream.json.

bun run skills:sync
# or: bun run skills:sync <commit-sha-or-ref>
bun run typecheck
bun run test
bun run verify:pack

Review the generated diff before releasing.

OAuth Callback Contract

Plugin uses fixed localhost callback window for browser auth:

  • http://localhost:14589/auth/callback
  • http://localhost:14590/auth/callback
  • http://localhost:14591/auth/callback

Your Supabase OAuth app must allow all 3 redirect URIs.

Maintainer note: deployed OAuth app config must stay in sync with this fixed callback set. If callback ports change in code later, update OAuth app setup too.

Debug Logging

If you hit auth or tool errors and need logs for an issue, collect the newest OpenCode session log from its default log directory:

  • macOS/Linux: ~/.local/share/opencode/log/
  • Windows: %USERPROFILE%\.local\share\opencode\log

Run OpenCode with debug logging enabled while reproducing the problem:

opencode --log-level DEBUG --print-logs

Then share that newest session log file in the issue. In our testing, the session log file is more reliable than redirecting stderr with 2> for capturing plugin activity.

Available today

  • Connect your Supabase account from OpenCode
  • List organizations and projects
  • Get project API keys
  • Create new Supabase projects

Reference

  • Supabase Management API: https://supabase.com/docs/reference/api/introduction

Releasing

For user-visible or package-relevant changes, add a changeset in your PR:

bun run changeset

Commit the generated .changeset/*.md file with your code change.

Maintainers use a release PR workflow driven by Changesets. Internal-only changes can use the no-changeset label when appropriate.

See docs/releasing.md for the full maintainer runbook.