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

@sherif-fanous/pi-presets-plus

v0.4.0

Published

Pi extension: model + thinking + tools + system-prompt presets, with a UI on top.

Readme

pi-presets-plus

A Pi extension that lets you bundle a model, thinking level, tools, and system prompt into a named preset, then switch between presets with one hotkey.

Why

Pi already lets you change the model you talk to, how hard it thinks, which tools it can use, and what system prompt it follows. Each of those is its own setting, and tweaking them one at a time is fine for ad-hoc work but it gets tedious when you have a handful of working modes you keep coming back to: a fast cheap model for boilerplate, a heavy reasoning model for tricky design, a "review only" setup with no write tools and a strict prompt, a planning mode, an implementation mode.

pi-presets-plus lets you save a complete setup as a named preset and switch to it with one keystroke.

Install

pi install npm:@sherif-fanous/pi-presets-plus

Or try it without installing:

pi -e npm:@sherif-fanous/pi-presets-plus

To uninstall:

pi remove npm:@sherif-fanous/pi-presets-plus

Quick start

  1. Run /presets in any Pi session to open the preset picker.
  2. Press n to create a new preset, or e to edit an existing one.
  3. Press Enter on the Prompt row to open the multi-line prompt editor, or press F1 on any row to get help for that row.
  4. Save your preset and, optionally, give it a hotkey. From then on, pressing the hotkey switches to the preset. Run /presets clear to go back to Pi's defaults.

The picker also lets you filter by name, switch the scope filter, reorder, duplicate, and delete presets. The footer always shows the keys you can press.

What's in a preset

| Field | What it does | | -------- | ------------------------------------------------------------------------------------------------------------------ | | Name | A short, memorable label for the preset. Names are unique within their scope. | | Scope | User presets follow you across every project. Project presets stay tied to one repo and can be shared. | | Provider | The service that hosts the model (OpenAI, Anthropic, etc.). Only providers Pi knows about appear here. | | Model | The specific model Pi will use when this preset is active. | | Thinking | How much extra reasoning effort to ask for. Some models don't support every level; unavailable ones appear dimmed. | | Tools | Either keep whatever tools are active, or pin an exact tool list to the preset. | | Prompt | Extra instructions added to Pi's system prompt while the preset is active. Pi's defaults are kept either way. | | Hotkey | Optional. A single key combination (like ctrl+shift+1) that switches to this preset. |

Where presets live

| Scope | Path | | ------- | ------------------------------------------------------------------------------------------- | | User | <agent-dir>/presets-plus/presets.json (typically ~/.pi/agent/presets-plus/presets.json) | | Project | <repo>/.pi/presets-plus/presets.json |

If a project preset and a user preset share a name, the project preset wins while you're working in that project.

Commands

| Command | What it does | | ----------------------------- | ------------------------------------------------------------- | | /presets | Opens the picker. | | /presets clear | Clears the active preset and returns to Pi's defaults. | | /presets reload | Re-reads your preset files (use after editing them by hand). | | /presets status | Shows the active preset's settings compared to Pi's defaults. | | /presets show-prompt [name] | Shows the active preset's prompt, or the named preset's prompt. |