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

@isanchez31/pi-profiles

v1.3.1

Published

Named reviewer, planner, and coder profiles for pi with model, thinking level, tools, shortcuts, and profile-specific instructions.

Downloads

1,222

Readme

pi-profiles

npm version npm downloads license: MIT GitHub stars

Dynamic reviewer, planner, and coder profiles for Pi. Switch model, thinking level, tools, and role-specific instructions with one command or shortcut.

If this project helps your workflow, consider starring the repository and sharing feedback through issues or pull requests.

Why use it?

  • Keep separate profiles for review, planning, and implementation.
  • Use safer read-only profiles for code review and planning.
  • Configure model, reasoning level, tools, and shortcuts dynamically without editing the extension source.
  • Persist profile, tool, and shortcut overrides in a simple JSON file.
  • Let the assistant configure profiles through the configure_profile, configure_profile_tools, and configure_profile_shortcut tools.

Profiles

  • /reviewer or F6: read-only review mode.
  • /planner or F7: read-only planning mode with higher thinking effort.
  • /coder or F8: implementation mode with editing tools enabled.
  • /profile: show the active profile and available profile configuration.
  • /profile <name>: activate a profile by name.
  • /profile off or F5: disable the active profile and restore the previous model, thinking level, and tool selection.

Each profile sets a model, thinking level, active tools, status-bar label, and extra system instructions. Reviewer and planner profiles also block non-allowlisted tools as a safety layer.

Install

pi install npm:@isanchez31/pi-profiles

Try without installing:

pi -e npm:@isanchez31/pi-profiles

Update an existing installation:

pi update npm:@isanchez31/pi-profiles

Dynamic configuration

Profiles and shortcuts are configurable. Overrides are stored in:

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

Configure a profile from Pi:

/profile set <name> <provider/model> <thinking>

Examples:

/profile set planner openai-codex/gpt-5.6-sol xhigh
/profile set coder openai-codex/gpt-5.6-terra high
/profile set reviewer openai-codex/gpt-5.6-luna medium

Supported thinking levels:

off, minimal, low, medium, high, xhigh, max

Supported tools are limited to Pi's minimal built-in tool set:

read, write, edit, bash

Configure profile tools from Pi:

/profile tools <name> <tool...>

Examples:

/profile tools reviewer read
/profile tools planner read
/profile tools coder read bash edit write

Configure a shortcut from Pi:

/profile shortcut <name|off> <shortcut>

Examples:

/profile shortcut reviewer f2
/profile shortcut planner f3
/profile shortcut coder f4
/profile shortcut off f12

Shortcut changes reload Pi automatically when configured through the command. If you edit the JSON file manually, run /reload or restart Pi.

Reset one profile override and shortcut:

/profile reset planner

Reset all profile overrides:

/profile reset

Example configuration file:

{
  "profiles": {
    "planner": {
      "provider": "openai-codex",
      "model": "gpt-5.6-sol",
      "thinkingLevel": "xhigh",
      "tools": ["read"]
    },
    "coder": {
      "provider": "openai-codex",
      "model": "gpt-5.6-terra",
      "thinkingLevel": "high"
    }
  },
  "shortcuts": {
    "off": "f5",
    "reviewer": "f6",
    "planner": "f7",
    "coder": "f8"
  }
}

The extension also exposes configure_profile, configure_profile_tools, and configure_profile_shortcut tools so the assistant can configure profile models, thinking levels, tools, and shortcuts when you ask it to.

Default configuration

The built-in defaults are:

  • reviewer: openai-codex/gpt-5.6-luna, thinking medium, tools read
  • planner: openai-codex/gpt-5.6-sol, thinking xhigh, tools read
  • coder: openai-codex/gpt-5.6-terra, thinking high, tools read, bash, edit, write

Contributing

Contributions are welcome. Good first contributions include:

  • Additional profile presets that only use Pi's minimal built-in tools.
  • Better documentation and examples.
  • Safer profile policies.
  • Tests or validation scripts.
  • Compatibility improvements for more Pi providers.

Please read CONTRIBUTING.md before opening a pull request. Commit messages should follow Conventional Commits.

Open source

Links

  • GitHub: https://github.com/isanchez31/pi-profiles
  • npm: https://www.npmjs.com/package/@isanchez31/pi-profiles
  • Pi packages: https://pi.dev/packages

License

MIT