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

myopc

v0.1.3

Published

Bootstrap OpenCode beads workflows with a single npx command

Readme

Release

myopc

myopc is a standalone npm CLI that installs a Beads-oriented OpenCode workflow with one command.

It writes native OpenCode assets into ~/.config/opencode and gives you three core commands inside OpenCode:

  • /beads-plan <request>
  • /beads-work [bead-id]
  • /beads-status

Requirements

  • OpenCode installed on the machine
  • br on PATH
  • bv on PATH when graph-oriented status and prioritization are useful

br is required. bv is optional.

Quickstart

npx myopc

Then open OpenCode and run:

/beads-status
/beads-plan Add health check endpoint
/beads-work

What gets installed

~/.config/opencode/
├── commands/
│   ├── beads-plan.md
│   ├── beads-work.md
│   └── beads-status.md
├── skills/
│   ├── beads-plan/SKILL.md
│   ├── beads-work/SKILL.md
│   └── beads-status/SKILL.md
└── .myopc-manifest.json

CLI

Install is the default command:

npx myopc
npx myopc install

Common variations:

npx myopc --yes
npx myopc --force --yes
npx myopc --config-dir /tmp/opencode-test --yes
npx myopc doctor
npx myopc uninstall --yes
npx myopc --help
npx myopc --version

Commands

install

Installs the packaged skills and commands into the OpenCode config directory.

doctor

Checks br, checks bv, inspects the manifest, and reports the status of each expected asset.

uninstall

Removes files owned by myopc and restores backups created when unmanaged files were overwritten.

Options

--yes, -y

Runs without prompts. Required for uninstall in non-interactive environments.

--force, -f

Overwrites conflicting files after backup. During uninstall, removes modified managed files instead of skipping them.

--config-dir <path>

Uses a custom OpenCode config directory instead of ~/.config/opencode.

--help, -h

Prints CLI usage.

--version, -V

Prints the package version.

OpenCode workflow

/beads-plan <request>

Runs in subtask: true, reads repository context automatically, creates a dependency-aware plan, converts it into beads with br, wires dependencies, syncs, and reports the ready work.

/beads-work [bead-id]

Runs in subtask: true, targets a specific bead or auto-selects from br ready, claims it when possible, implements the requested scope, verifies the result, closes the bead, and syncs.

/beads-status

Runs inline in the main OpenCode session and summarizes progress, ready work, in-progress work, and blocked work.

Ownership behavior

  • Missing target files are created.
  • Matching files are left untouched.
  • Previously managed files are updated in place.
  • Managed files with local edits are overwritten only with confirmation or --force.
  • Unmanaged conflicting files are overwritten only with confirmation or --force.
  • Overwritten unmanaged files receive .myopc.bak-* backups.
  • Overwritten managed files with local edits receive .myopc.local-* backups.
  • .myopc-manifest.json tracks files owned by myopc.

Scope

  • Native OpenCode install only
  • Single-agent workflow by default
  • No plugin
  • No Agent Mail integration
  • No hidden worker subagent by default
  • No automatic git commit or push

Local development

node ./src/cli.js --help
node ./src/cli.js install --config-dir /tmp/opencode-test --yes
node ./src/cli.js doctor --config-dir /tmp/opencode-test
node ./src/cli.js uninstall --config-dir /tmp/opencode-test --yes

npm run lint
npm pack --dry-run

Documentation

  • docs/MYOPC_V1_SPEC.md: package contract and CLI behavior
  • docs/OPENCODE_BEADS_INTEGRATION.md: OpenCode architecture and runtime mapping
  • docs/PLAN_TO_BEADS_PROMPT.md: planning prompt reference behind beads-plan