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

@ogulcancelik/pi-ssh-tools

v0.1.2

Published

Explicit SSH tools for pi. Toggle /ssh on for a host, then use ssh_read, ssh_write, ssh_edit, and ssh_bash without replacing local tools.

Readme

pi-ssh-tools

Explicit SSH tools for pi.

Turn SSH mode on only when you need it, keep local tools untouched, and give the agent a separate remote toolset:

  • ssh_read
  • ssh_write
  • ssh_edit
  • ssh_bash

Install

pi install npm:@ogulcancelik/pi-ssh-tools

Or add manually to ~/.pi/agent/settings.json:

{
  "packages": ["npm:@ogulcancelik/pi-ssh-tools"]
}

What it does

This package adds a /ssh command.

  • Default is off
  • No persistence across sessions
  • Local read, write, edit, and bash stay local
  • When SSH mode is active, the agent also gets ssh_read, ssh_write, ssh_edit, and ssh_bash
  • The active remote host and cwd are injected into the system prompt while SSH mode is on

That makes remote work explicit instead of silently swapping out local tools.

Usage

/ssh
/ssh mac
/ssh clawd
/ssh mac:/Users/can/project
/ssh status
/ssh off

When /ssh is called with no arguments, the extension offers hosts from ~/.ssh/config.

You can always bypass the picker and type a host manually:

/ssh user@host
/ssh user@host:/remote/path

That means the package still works even if you do not use ~/.ssh/config.

How host selection works

The picker reads Host ... aliases from your local ~/.ssh/config.

  • wildcard entries like Host * are ignored
  • aliases are used as the SSH target directly
  • if no remote path is provided, the extension resolves it with ssh <host> pwd

This is mainly a convenience layer. SSH config is not required for the actual remote tools.

Requirements

  • pi
  • local ssh client available in $PATH
  • key-based auth or another non-interactive SSH setup
  • bash available on the remote host

Notes

  • ssh_write writes file content over stdin, which behaves better on macOS than GNU-specific base64 -d shell snippets
  • relative remote paths resolve against the active remote cwd
  • image reads are supported for common extensions: jpg, jpeg, png, gif, webp

License

MIT