@pi-spice/prefer-modern-cli

Prefer modern CLI tools such as rg and fd

Packages

Package details

extension

Install @pi-spice/prefer-modern-cli from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@pi-spice/prefer-modern-cli
Package
@pi-spice/prefer-modern-cli
Version
0.2.1
Published
Oct 18, 2026
Downloads
247/mo · 18/wk
Author
rook1e404
License
MIT
Types
extension
Size
5 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

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

README

@pi-spice/prefer-modern-cli

Prefer modern CLI tools such as rg and fd. Prompt-only — nothing is blocked or rewritten.

Install

pi install npm:@pi-spice/prefer-modern-cli

Quick test without installing: pi -e ./extensions/prefer-modern-cli/

How it works

When the bash tool is active, each available tool adds one line to the system prompt:

## CLI Tool Preferences

- Prefer `rg` over `grep`, `egrep`, or `ack` in bash commands.
- Prefer `fd` over `find` in bash commands.

In interactive sessions, a badge at session start shows what's available:

◆ prefer-modern-cli  rg ✓ · fd ✗

License

MIT