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

@gannonh/agent-setup

v0.2.3

Published

Install Claude Code, Codex, Cursor, and Pi agent configs, plugins, and skills

Readme

@gannonh/agent-setup

CLI that copies this repo's Codex, Cursor, and Pi configs into $HOME and runs the matching plugin/skill install scripts, including the Claude Code and Codex pstack plugin (from gannonh/open-pstack).

$ npx @gannonh/agent-setup --help
Install Claude Code, Codex, Cursor, and Pi agent configs, plugins, and skills.

Usage:
  npx @gannonh/agent-setup              Interactive
  npx @gannonh/agent-setup --all        Claude Code, Codex, Cursor, Pi, and skills
  npx @gannonh/agent-setup --claude     Claude Code only
  npx @gannonh/agent-setup --codex      Codex only
  npx @gannonh/agent-setup --cursor     Cursor only
  npx @gannonh/agent-setup --pi         Pi AGENTS.md and extensions
  npx @gannonh/agent-setup --skills     Skills only

Node 20+ on macOS or Linux. npx downloads the package, then the CLI writes under $HOME and runs bash scripts that call claude, codex, git, pi, and npx for the targets you pick.

No flags: it asks Claude Code, Codex, Cursor, Pi AGENTS.md, Pi extensions, then Skills. Each prompt defaults to yes. Pi extensions are a separate prompt from AGENTS.md. If a dest already exists, it lists the files this package would write and asks replace (overwrite those files), append (add this package's content to the end of existing files), or skip.

Flags

npx @gannonh/agent-setup --all
npx @gannonh/agent-setup --claude
npx @gannonh/agent-setup --codex
npx @gannonh/agent-setup --cursor
npx @gannonh/agent-setup --pi
npx @gannonh/agent-setup --skills
npx @gannonh/agent-setup --codex --cursor

--all installs Claude Code, Codex, Cursor, Pi AGENTS.md, Pi extensions, and skills. Target flags can be combined. --pi installs both Pi AGENTS.md and extensions. --skills runs install-skills.sh only, and npx skills add writes into the directory you ran from. Non-interactive flags replace files this package ships and leave other files in the dest directory. While a script runs, the CLI prints what it is doing and a heartbeat every 10s. Pi extensions often take a few minutes.

What it writes

| Target | Script | Copy | | --- | --- | --- | | Claude Code | scripts/install-plugins-claude.sh (claude plugin marketplace add gannonh/open-pstack / claude plugin install pstack@open-pstack) | .claude/CLAUDE.md~/.claude/CLAUDE.md | | Codex | scripts/install-plugins-codex.sh (codex plugin marketplace add gannonh/open-pstack / codex plugin add pstack@open-pstack) | .codex~/.codex | | Cursor | scripts/install-plugins-cursor.sh (installs each entry in scripts/plugins-cursor.toml: sparse-clones the repo subdirectory into ~/.cursor/plugins/local/<name> and registers it in enabled_plugins in ~/.cursor/settings.json; Cursor has no CLI install command) | .cursor/rules~/.cursor/rules | | Pi AGENTS.md | none | .pi/agent/AGENTS.md~/.pi/agent/AGENTS.md | | Pi extensions | scripts/install-pi-extensions.sh (pi install for each extension) | none | | Skills | scripts/install-skills.sh (npx skills add ... --copy in the current directory) | none |

To install another Cursor plugin, add a [[plugin]] table (name, repo, path, optional ref) to scripts/plugins-cursor.toml. Restart Cursor after installing.

Replace overwrites the files this package ships. Append concatenates this package's content onto the existing file (or, for directories, onto matching files and copies files that are missing). Skip leaves the dest as-is.

Undo

Codex: codex plugin remove pstack@open-pstack and codex plugin marketplace remove open-pstack. Claude Code: claude plugin uninstall pstack@open-pstack and claude plugin marketplace remove open-pstack; delete ~/.claude/CLAUDE.md if you do not want the copied instructions.

Copied files: delete ~/.codex, ~/.cursor/rules, ~/.pi/agent/AGENTS.md (or the individual files you do not want). Cursor plugins: remove the entry from enabled_plugins in ~/.cursor/settings.json and delete ~/.cursor/plugins/local/<name>. Pi extensions and skills stay until you uninstall them with pi / npx skills.

License

MIT