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

pi-cd

v0.1.0

Published

A pi extension that changes pi's working directory with /cd — path autocomplete, interactive browser, and recent destinations

Downloads

304

Readme

pi-cd

Change pi’s working directory mid-session with /cd.

Pi binds tools, skills, project config, and sessions to a cwd. This extension switches that cwd properly (new session file + runtime rebind), not a fake process.chdir alone.

Install

pi install npm:pi-cd

Or from a local checkout / git:

pi install ./pi-cd
pi install git:github.com/richardanaya/pi-cd

Reload pi (/reload) or restart.

Usage

| Command | What it does | | -------- | ---------------- | | /cd | Interactive directory browser | | /cd <path> | Go to path (keeps conversation via session fork) | | /cd -n <path> | New empty session in path | | /cd --new <path> | Same as -n | | /cd - | Previous directory | | /cd ~ | Home | | /cd .. | Parent | | /cd --recents | Pick from recent destinations | | /cd --clear-recents | Clear recent list |

While typing /cd …, argument completion lists directories (and specials -, ~, .., --new, --recents).

Browser keys

  • ↑↓ navigate
  • type filter
  • enter open folder, or confirm “Use this directory”
  • or select .. go up
  • esc cancel

Modes

  • DefaultSessionManager.forkFrom copies the current session history into a new session under the target cwd, then switches. Context travels with you.
  • --new / -n — fresh session in the target cwd (no history).

Recent destinations and the previous cwd are stored in ~/.pi/agent/pi-cd-state.json.

Why not just bash cd?

Bash tools run with the session cwd. Changing the shell’s directory inside one bash call does not rebind pi’s project root, tools, skills, or session storage. /cd does.

License

MIT © Richard Anaya