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

portage-cli

v0.1.4

Published

Port, install, validate, repair, and safely roll back custom agents across every filesystem agent — one agent, every IDE.

Readme

portage

Port, install, validate, repair, and safely roll back custom agents across every filesystem agent — one agent, every IDE.

portage is the sibling of skillport (skillswap): the same architecture, pipeline, and safety guarantees — but for custom agents instead of skills.

Supported ecosystems

| Vendor | Format | Project root | User root | |---|---|---|---| | Copilot / VS Code | .agent.md | .github/agents | ~/.copilot/agents | | Antigravity / Gemini CLI | agent.md | .agents/agents | ~/.gemini/config/agents | | Claude Code | .md | .claude/agents | ~/.claude/agents | | opencode | .md | .opencode/agents | ~/.config/opencode/agents | | Cursor | .md | .cursor/agents | ~/.cursor/agents | | Codex | TOML | .codex/agents | $CODEX_HOME/agents |

Install

npm install -g portage-cli

Usage

portage has two core commands: port (convert) and install (deploy).

Quick: port + install in one step

# Port from a GitHub repo and install into user-scope locations
portage port github:owner/repo/path/to/agents --to opencode --scope user

# Port from a local directory and install into a specific project
portage port ~/.copilot/agents --to opencode --scope project --project-root ./my-app

The --scope flag triggers a two-phase commit: agents are first converted and staged in an output directory, then copied into the real ecosystem locations (.opencode/agents/, .github/agents/, etc.). A receipt is saved so rollback can undo everything.

Step by step: port first, install later

# Step 1 — Convert agents and write to an output directory
portage port github:owner/repo/path/to/agents --to opencode --out ./ported

# Step 2 — Review the output, then install from the receipt
portage install ./ported --scope user

This is useful when you want to inspect or edit converted agents before deploying them.

Other commands

# List installed agents across all ecosystems
portage list

# Validate installed agents
portage doctor

# Repair invalid agent directories
portage repair

# Roll back the last port + install
portage rollback

Source types

# Local directory of agents (discovers all agents inside)
portage port ~/.copilot/agents --to opencode

# GitHub repo
portage port github:owner/repo/path/to/agents --to all

# Individual agent file
portage port ./my-agent.md --to claude-code

Every mutating command supports --dry-run, --json, --force, and --yes.

Safety

  • Two-phase commit with .bak-<timestamp> backups and atomic writes
  • Hash-verified receipts and rollback
  • Quarantine on conflict (.portage-conflict-<id>)
  • Risk scanning of remote sources before materialization
  • Never emits unverified tool names (a misspelled tool can hang a subagent)

Development

npm install
npm run check   # typecheck + test + build

See docs/portage-design.md for the full design contract.

License

MIT