@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.0
Published
Sep 2, 2026
Downloads
301/mo · 27/wk
Author
rook1e404
License
MIT
Types
extension
Size
4.8 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

Prefers 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 (from this repo): pi -e ./extensions/prefer-modern-cli

How it works

If rg or fd is available, a preference is added to the system prompt:

## CLI Tool Preferences

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

At session start, a badge shows what's available:

◆ prefer-modern-cli  rg ✓ · fd ✗

License

MIT