@villoh/pi-tools

Interactive /tools selector to enable/disable tools per session, persisted across reloads.

Packages

Package details

extension

Install @villoh/pi-tools from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@villoh/pi-tools
Package
@villoh/pi-tools
Version
0.0.2
Published
Aug 26, 2026
Downloads
282/mo · 12/wk
Author
villoh
License
MIT
Types
extension
Size
12.7 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./tools.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-tools

Adds /tools, an interactive selector to enable or disable individual tools for the current session.

Only the enabled tools are exposed to the model; the selection is persisted per session branch, so it survives reloads and follows you across session_start/session_tree navigation.

Install

From npm:

pi install npm:@villoh/pi-tools

Try it without installing:

pi -e npm:@villoh/pi-tools

Or from a local checkout, useful while developing:

pi install /absolute/path/to/pi-tools
# or, without installing:
pi -e /absolute/path/to/pi-tools

Usage

/tools

Opens a checklist (TUI mode only) listing every tool from every loaded extension, labeled with the extension it comes from. Toggle a row to enable or disable that tool immediately; the change applies and is saved as soon as you toggle it, no confirm step needed.

License

MIT