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

@codewright/install

v0.1.4

Published

One-command installer for Codewright: detects your agent harness (Claude Code, Codex CLI, OpenCode) and registers the MCP server + skill. Run with `npx @codewright/install`.

Downloads

29

Readme

@codewright/install

One-command installer for Codewright: detects your agent harness and configures it, no manual JSON editing or per-harness commands required.

Two install paths are available:

  • npx @codewright/install (tier 1, this package) — works with Claude Code, Codex CLI, and OpenCode. See Usage below.

  • Claude Code plugin marketplace (tier 2) — for Claude Code only, entirely within Claude Code, no terminal needed:

    /plugin marketplace add highnet/codewright
    /plugin install codewright@codewright

    This installs the same MCP server registration and skill as tier 1, packaged as plugins/codewright/ and listed in .claude-plugin/marketplace.json at the repo root. Both tiers are generated from the same building blocks (src/skill-content.ts, src/mcp-server.ts) via src/plugin-manifest.ts/src/generate-plugin-cli.ts — see Regenerating the plugin below.

Usage

npx @codewright/install

This:

  1. Detects which supported harness(es) are present — Claude Code (claude on PATH), Codex CLI (codex on PATH), and OpenCode (opencode on PATH or an existing opencode.json).
  2. Registers the codewright MCP server the harness-appropriate way:
    • Claude Code / Codex CLI: runs claude mcp add codewright -- npx -y @codewright/mcp / codex mcp add codewright -- npx -y @codewright/mcp (both idempotent — re-running is safe).
    • OpenCode: merges an mcp.codewright block into opencode.json in the target directory (creating the file if it doesn't exist), preserving any existing content.
  3. Drops the standalone skill at .claude/skills/codewright-recipes/SKILL.md in the target directory — adapted from packages/agent-skill/SKILL.md to call the codewright MCP tools (or the public API directly via curl) instead of pnpm --filter @codewright/agent-skill ..., which only works inside this monorepo.

Options

npx @codewright/install [--dir <path>] [--harness claude-code|codex-cli|opencode]... [--skip-skill]
  • --dir <path> — target project directory (default: current directory). Used for the OpenCode config file and the skill file.
  • --harness <id> — restrict to specific harness(es) instead of installing for everything auto-detected present. Repeatable.
  • --skip-skill — register the MCP server(s) only, don't write the skill file.

Regenerating the plugin

plugins/codewright/ (the tier-2 plugin's .claude-plugin/plugin.json, .mcp.json, and skills/codewright-recipes/SKILL.md) is generated, not hand-maintained. After changing src/skill-content.ts or src/mcp-server.ts, regenerate and commit the result:

pnpm --filter @codewright/install generate:plugin

test/plugin-manifest.test.ts fails CI if the checked-in plugin files stop matching the generator's output, so this can't silently drift.

What it does not do

  • It never publishes or modifies anything outside the target directory and your harness's own MCP registry (e.g. ~/.claude.json for Claude Code, managed by the claude CLI itself).
  • It doesn't touch ~/.codex/config.toml directly — that's codex mcp add's job, not this installer's.
  • Tier 3 (skills.sh submission) from https://github.com/highnet/codewright/issues/261 is tracked as separate, human-gated follow-up work — out of coding-agent scope.

Publishing

This package is not published to npm as part of introducing it — publishing under the @codewright npm scope is a separate, human-gated step performed outside the agent workflow (see packages/mcp-server/README.md and packages/cli/README.md for the same note on their packages).