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

@op1/install

v0.5.1

Published

Interactive CLI installer for op1 - OpenCode harness with batteries included

Readme

@op1/install

Interactive CLI installer for op1 - OpenCode harness with batteries included.

Quick Start

bunx @op1/install

Or with npm:

npx @op1/install

Dry run (preview changes without writing files):

bunx @op1/install --dry-run

What It Installs

Agents (11)

| Agent | Description | |-------|-------------| | backend | NestJS/Express specialist - APIs, services, databases | | build | Implementation agent - writes code, runs tests, ships | | coder | Focused implementation specialist | | explore | Codebase explorer - finds files and patterns | | frontend | UI/UX specialist | | infra | Terraform/Infrastructure specialist - IaC, AWS | | oracle | High-IQ consultation for architecture | | plan | Strategic planner - creates work breakdowns | | researcher | External docs and API research | | reviewer | Code review specialist | | scribe | Documentation writer |

Commands (12)

| Command | Description | |---------|-------------| | /init | Bootstrap project context and conventions | | /plan | Create implementation plan | | /continue | Resume unfinished work (uses continuation tools when enabled) | | /work | Start working on active plan (with ULW mode) | | /deslop | Run a strict simplifier review/fix loop on current work | | /review | Run code review | | /review-loop | Iterate reviewer/oracle review and fixes until clean | | /find | Find code patterns | | /understand | Explain codebase components | | /oracle | Consult oracle agent | | /research | Research external topics | | /ulw | Activate ULTRAWORK mode |

Skills (42)

  • ulw - ULTRAWORK maximum capability mode
  • code-philosophy - The 5 Laws of Elegant Defense
  • frontend-philosophy - UI/UX excellence
  • nestjs-master - Comprehensive NestJS patterns
  • terraform-master - Infrastructure as Code mastery
  • react-performance - React/Next.js optimization
  • analyze-mode - Deep analysis protocols
  • simplify - Prefer current-state code over compatibility glue
  • search-mode - Maximum search effort
  • plan-protocol - Plan format guidelines
  • code-review - Review methodology
  • git-master - Git operations mastery
  • databases - PostgreSQL/MongoDB patterns
  • backend-development - API design, security, testing
  • playwright - Browser automation
  • linear - Linear issue tracking
  • figma-design - Figma integration
  • newrelic - Observability
  • mcp0-navigation - Warmplane mcp0 facade routing
  • And more...

Plugins (3)

| Plugin | Description | |--------|-------------| | @op1/workspace | Plan management, notepads (always included) | | @op1/ast-grep | Structural code search | | @op1/lsp | Language server tools |

Installation Flow

  1. Detect existing config - Offers merge or replace
  2. Select components - Agents, commands, skills, plugins
  3. Configure plugins - Choose which plugins to enable
  4. Select MCPs - Optional MCP integrations (Linear, Notion, etc.)
  5. Choose models - Dropdown picker backed by https://models.dev/api.json (manual override supported)
  6. Install - Copies files to ~/.config/opencode/

Template Layout

The installer uses plural template directories under packages/install/templates/:

  • agents/
  • commands/
  • skills/
  • themes/

These are copied to matching target folders:

  • ~/.config/opencode/agents/
  • ~/.config/opencode/commands/
  • ~/.config/opencode/skills/
  • ~/.config/opencode/themes/

Bundled themes are installed automatically into ~/.config/opencode/themes/.

SkillPointer Behavior

With default settings, installer keeps features.skillPointer: true and writes:

  • Pointer index: ~/.config/opencode/skills/.skillpointer/index.json
  • Category pointers: ~/.config/opencode/skills/<category>-category-pointer/SKILL.md
  • Full skill bodies: ~/.config/opencode/skill-vault/<category>/<skill>/SKILL.md

At runtime, OP7 resolves skill content from pointer+vault first, then falls back to legacy skill folders.

Adding Custom Skills

For custom local skills, use the legacy path:

mkdir -p ~/.config/opencode/skills/my-skill
$EDITOR ~/.config/opencode/skills/my-skill/SKILL.md

This is immediately compatible with SkillPointer-enabled runtime through fallback resolution.

Config Preservation

The installer intelligently preserves your settings:

  • ✅ Provider credentials (API keys)
  • ✅ Existing plugins (merged, not replaced)
  • ✅ Custom agent models
  • ✅ Permission settings
  • ✅ MCP configurations

mcp0-Only Migration

mcp0 (Warmplane) is now the recommended default MCP category in the installer. When selected, the installer converts OpenCode to a strict facade topology instead of keeping a mixed direct-MCP setup.

On macOS, the installer now also manages a deterministic Warmplane binary path for this topology:

  • target binary path: ~/.local/share/opencode/bin/warmplane
  • generated mcp0 command uses that absolute path instead of relying on warmplane on PATH
  • local verification/development can override the source binary with OP1_WARMPLANE_BIN_PATH
  • release downloads default to the forked GitHub repo opzero1/warmplane and can be redirected with OP1_WARMPLANE_GITHUB_REPO

What the installer does deterministically:

  • Keeps only mcp.mcp0 in ~/.config/opencode/opencode.json
  • Writes the facade command as ["~/.local/share/opencode/bin/warmplane", "mcp-server", "--config", "~/.config/opencode/mcp0/mcp_servers.json"]
  • Scaffolds ~/.config/opencode/mcp0/mcp_servers.json from the downstream MCPs you selected during install
  • Removes stale direct MCP entries and matching global or per-agent tool grants so old direct tool rules do not linger
  • Points Warmplane-managed OAuth state at the shared auth store (~/.local/share/opencode/mcp-auth.json by default)

After migration, use these runtime checks:

  • mcp0_health to confirm the Warmplane binary, config path, auth-store visibility, and downstream readiness
  • mcp_oauth_helper to inspect Warmplane-managed OAuth-capable downstream servers behind mcp0

Recommended post-install OAuth bootstrap for any downstream server that reports not_authenticated or expired:

  1. ~/.local/share/opencode/bin/warmplane auth discover --config ~/.config/opencode/mcp0/mcp_servers.json --server <server>
  2. ~/.local/share/opencode/bin/warmplane auth login --config ~/.config/opencode/mcp0/mcp_servers.json --server <server>
  3. ~/.local/share/opencode/bin/warmplane auth status --config ~/.config/opencode/mcp0/mcp_servers.json --server <server>

If integrated login is not possible in your environment, use ~/.local/share/opencode/bin/warmplane auth start and ~/.local/share/opencode/bin/warmplane auth exchange instead, then re-run mcp0_health and mcp_oauth_helper.

Current provider notes:

  • Figma follows the native Warmplane discovery/login flow directly.
  • Linear uses native Warmplane OAuth with explicit fallback metadata in the generated config because its OAuth endpoints are documented but not exposed through MCP well-known discovery.
  • Notion remains an explicit compatibility exception until PKCE + loopback behavior is validated for the MCP path, so treat any generated wrapper-based path as intentional rather than architectural success.

Troubleshooting and rollback:

  • mcp0_health to confirm binary/config/auth-store readiness
  • mcp_oauth_helper to inspect downstream OAuth state behind mcp0
  • ~/.local/share/opencode/bin/warmplane auth status --config ~/.config/opencode/mcp0/mcp_servers.json --server <server> for provider-specific auth diagnostics
  • ~/.local/share/opencode/bin/warmplane auth logout --config ~/.config/opencode/mcp0/mcp_servers.json --server <server> to clear bad tokens before retrying login
  • Restore the installer-created opencode.json.*.bak and workspace.json.*.bak files if you need to roll back from strict mcp0 mode to the previous local config state

Workspace Defaults

Installer writes workspace defaults to:

  • ~/.config/opencode/workspace.json

Key defaults for runtime safeguards:

  • safeHookCreation: false
  • features.hashAnchoredEdit: true
  • features.contextScout: true
  • features.externalScout: true
  • features.skillPointer: true
  • features.taskGraph: true
  • features.continuationCommands: true
  • features.tmuxOrchestration: true
  • features.boundaryPolicyV2: true
  • features.claudeCompatibility: true
  • features.mcpOAuthHelper: true
  • features.notifications: true
  • notifications.enabled: true
  • features.approvalGate: false
  • approval.mode: "off"

Operational improvements are enabled by default; approval gating remains opt-in.

Manual Installation

If you prefer manual setup:

# Clone the repo
git clone https://github.com/anthropics/op1.git

# Copy templates to your config
cp -r op1/packages/install/templates/* ~/.config/opencode/

License

MIT