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

@hk_net/pi-thinking-command

v0.1.11

Published

Pi extension that adds a /think slash command for changing reasoning level

Readme

/think command extension for pi

Adds a /think thinking-level shortcut and status display to Pi 0.84.4 or newer.

This is especially useful when switching between model classes. Smaller models, including many local models, often benefit from tighter thinking limits than larger hosted models from major providers.

Pi 0.84.3 command rename

This extension originally registered /thinking. Pi 0.84.3 took over that command name for its new native thinking selector, and built-in interactive commands take precedence over extensions. Starting with this package release, our command therefore moves to /think to avoid the naming conflict. Pi's native /thinking remains available alongside it.

Existing users should replace commands such as /thinking high with /think high when they specifically want this extension's shortcut behavior.

Install

Avoid duplicate installation. Install this npm package or the GitHub bundle, not both. Loading both copies can duplicate commands, autocomplete providers, and status updates.

Install just this extension from npm:

pi install npm:@hk_net/pi-thinking-command

Or install the full collection from GitHub:

pi install git:[email protected]:hknet/pi-extensions@main
pi install https://github.com/hknet/pi-extensions

Or install this extension manually:

cp packages/pi-thinking-command/thinking-shortcut.ts ~/.pi/agent/extensions/thinking-shortcut.ts

After installing, restart pi or run:

/reload

Usage

/think [level]

Autocomplete offers only the thinking levels supported by the active model.

Examples:

/think off
/think low
/think medium
/think high
/think xhigh
/think max

If no argument is provided, /think sets the level to medium when supported, otherwise to the model's first supported level (normally off for a non-reasoning model). Use Pi 0.84.3's native /thinking without an argument when you want the interactive selector.

Levels

  • off — disable extended thinking
  • minimal — smallest available thinking budget
  • low — light reasoning
  • medium — balanced default reasoning
  • high — more reasoning for harder tasks
  • xhigh — very high reasoning budget
  • max — maximum reasoning budget

Note: /think rejects levels that the active model does not support instead of silently selecting a different level.

Features

  • Registers /think without conflicting with Pi 0.84.3's native /thinking command.
  • Derives argument completions from Pi's model-specific capabilities and refreshes them when the active model changes.
  • Autocompletes /th... to /think without Pi's trailing-space insertion; press Tab again to open the level picker.
  • Shows a thinking status item with the current level.
  • Updates the status item when the thinking level changes.
  • Validates input and displays an error for unknown or model-incompatible levels.

Issues and feedback

Found a bug or have a feature request? Please report it on GitHub Issues.

For security vulnerabilities, please use GitHub's private vulnerability reporting instead of opening a public issue.