pi-repoprompt-tools-lock

Forces the agent to use RepoPrompt tools during repo-scoped work by disabling Pi's native tools when RepoPrompt tools are available (through either the `pi-repoprompt-cli` or `pi-repoprompt-mcp` Pi packages/extensions)

Package details

extension

Install pi-repoprompt-tools-lock from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-repoprompt-tools-lock
Package
pi-repoprompt-tools-lock
Version
0.1.3
Published
Apr 5, 2026
Downloads
303/mo ยท 12/wk
Author
w-winter
License
MIT
Types
extension
Size
14.4 KB
Dependencies
0 dependencies ยท 2 peers
Pi manifest JSON
{
  "extensions": [
    "extensions/rp-native-tools-lock/index.ts"
  ]
}

Security note

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

README

RepoPrompt tools lock for Pi (pi-repoprompt-tools-lock)

Forces the agent to use RepoPrompt tools during repo-scoped work by disabling Pi's native tools read, write, edit, ls, find, grep when RepoPrompt tools are available (through either the pi-repoprompt-cli or pi-repoprompt-mcp Pi packages/extensions).

Install

From npm:

pi install npm:pi-repoprompt-tools-lock

From the dot314 git bundle (filtered install):

Add to ~/.pi/agent/settings.json (or replace an existing unfiltered git:github.com/w-winter/dot314 entry):

{
  "packages": [
    {
      "source": "git:github.com/w-winter/dot314",
      "extensions": ["extensions/rp-native-tools-lock/index.ts"],
      "skills": [],
      "themes": [],
      "prompts": []
    }
  ]
}

Usage

  • Command: /rp-tools-lock off|auto
  • Shortcut: Alt+L (toggles off โ†” auto)

In auto mode, the lock is enforced only when one of these tools is active:

  • rp (RepoPrompt MCP)
  • rp_exec (RepoPrompt CLI)

When enforced, the footer shows: RP ๐Ÿ”’.

Configuration (advanced)

Advanced modes can be set via:

  • ~/.pi/agent/extensions/rp-native-tools-lock/rp-native-tools-lock.json

Example:

{ "mode": "rp-mcp" }