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-profiles-manager

v1.1.8

Published

Interactive SDD model profile management built natively for the Pi Coding Agent.

Readme

pi-profiles-manager

pi-profiles-manager is a Pi Coding Agent extension for saving, selecting, editing, importing, and exporting SDD model profiles. A profile can set an orchestrator model and thinking level, plus routes for managed subagents.

Install

Prerequisites:

  • Pi Coding Agent
  • Node.js 22.19.0 or later (for development)

Install the published package:

pi install npm:pi-profiles-manager

Reload an active Pi session with /reload if needed.

Pi command: /profiles

Pi registers one command: /profiles. Its actions are arguments to that command, not separate Pi commands such as /profiles:sync.

/profiles

Open the interactive manager with no arguments. When entering an argument, Pi completion suggests supported actions; after use or save, it suggests matching saved profile names. Profile names may contain spaces.

| Command | Action | | --- | --- | | /profiles | Open the interactive profile manager. | | /profiles list | List saved profiles. | | /profiles status | Show the active profile for the current session. | | /profiles use <name> | Activate a saved profile. | | /profiles save <name> | Save the current configuration as a profile. | | /profiles next | Activate the next profile in the configured cycle. | | /profiles off | Disable the active profile for the current session. | | /profiles sync | Discover managed agents/*.md files and reconcile every saved profile's subagent entries. It does not create Pi commands. |

The default shortcut, ctrl+shift+p, activates the next profile in the configured cycle.

Where data lives

These locations have different purposes:

Saved profile persistence

Saved profiles, the default profile, cycle, and shortcut preference are persisted in:

~/.pi/agent/pi-profiles/config.json

The extension creates this file and its parent directory when it saves a profile.

Managed subagent definitions

Pi agent markdown files live in the Pi agent directory:

~/.pi/agent/agents/*.md

Run /profiles sync after adding or removing these files. Sync discovers their names and reconciles each saved profile: new managed agents receive a profile entry, and entries for removed markdown files are removed. Sync updates profile data; it does not register additional Pi slash commands.

Applied subagent routes

When a profile is activated, its subagent routes are applied to Pi's global agent-route configuration:

~/.pi/agent/subagents.json

This is separate from pi-profiles/config.json: the former is the active routing configuration Pi uses, while the latter stores the profiles that can be selected later.

Features

  • Create, activate, edit, and delete profiles.
  • Import and export versioned profile strings.
  • Set model and thinking routes for the orchestrator and managed subagents.
  • Mark a default profile for session startup and view active/default status in the UI.
  • Cycle profiles with a keyboard shortcut.

Development

Clone this repository into your Pi extensions directory to develop it locally:

git clone https://github.com/javinnav/pi-profiles-manager.git ~/.pi/agent/extensions/profiles-manager
cd ~/.pi/agent/extensions/profiles-manager
npm ci
npm test
npm run typecheck
npm run package-check

License

MIT © javinnav