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

@accidentally-awesome-labs/opencode-bestest

v0.8.0

Published

OpenCode head for the bestest plugin: guard/lock/syntax enforcement shelling into the shared bash hooks, passive state injection, and an installer for skills/agents/commands.

Readme

opencode-bestest

The OpenCode head of the bestest plugin — one compact lifecycle (P0 interrogate → P5 ship) with physically enforced gates: spec freeze, design-contract freeze (frozen DESIGN.md for anything with a visible interface), TDD test locks, destructive-command guard, and drift detection.

Install (per project)

cd your-project
bunx @accidentally-awesome-labs/opencode-bestest init   # or npx

init is idempotent (re-run it to update) and supports --dry-run and --global (skills/agents/commands into ~/.config/opencode/). It:

  • copies the lifecycle skills into .opencode/skills/ (prefixed bestest-*)
  • installs the plan-checker / researcher / reviewer / builder agents (pointer stubs — their canonical bodies ride the payload, so --global installs need a project init before the roles resolve) and /bestest-go + /bestest-status commands
  • copies the runtime payload (guard scripts, trace.sh + gate.sh, templates, canonical agent bodies) to .opencode/bestest/
  • wires opencode.json: the @accidentally-awesome-labs/opencode-bestest plugin (enforcement) and an instructions entry that passively injects .bestest/.context.md — the plugin-maintained digest of STATE + LOCKS + active card + DRIFT notice

Then open opencode and run /bestest-go.

Update

bunx @accidentally-awesome-labs/opencode-bestest@latest init

The explicit @latest matters: bunx caches per-package manifests in $TMPDIR, and a stale one can make a freshly published version unresolvable ("No version matching … but package exists"); bun pm cache rm does not clear it — delete the $TMPDIR/bunx-* directory for this scope if you hit it. init is idempotent: it refreshes the skills, agents, commands, and runtime payload in place. Run it in every project using the plugin — the payload is vendored per project. After a version jump, check the repo's MIGRATION-v*.md for that release before resuming in-flight work.

What the plugin enforces

| Tool call | Script | Outcome | |---|---|---| | bash | guard.sh | destructive commands (rm -rf /, git reset --hard, force-push to main, …) → blocked | | write / edit / apply_patch | lock-guard.sh | writes to the frozen SPEC/DESIGN.md or locked test files → blocked with the amendment path | | session.idle | session-start.sh stop | drift snapshot; next session's digest carries a DRIFT notice if the tree changed out-of-band |

The bash scripts are byte-identical to the ones the Claude Code and Codex heads run — one guard implementation, three harnesses. Guards fail closed: no bash (install Git Bash on Windows) means guarded tools are refused, not waved through.

Dev/source install (no npm): clone the repo, then in your project's .opencode/plugins/bestest-dev.ts:

export { BestestPlugin } from "/path/to/the-bestest-agent/adapters/opencode/src/index"