Install
Install with PiG
pig install npm:pi-thegreataxios-staplesInstall with Pi
pi install npm:pi-thegreataxios-staplesReview before installing
Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./index.ts"
]
}README
Written by the package's publisher, shown as published in version 0.1.1 (README.md). PiG does not review it.
pi-thegreataxios-staples
Personal staple extension for pi. Blocks writes/edits to sensitive files.
Install
pi install npm:pi-thegreataxios-staples
Quick Start
pi -e ./index.ts
Features
Protected Paths
Blocks write and edit operations to sensitive files via tool_call hook.
| Path | Reason |
|---|---|
.env (exact file) | Secrets and environment variables |
.env.* (e.g. .env.local, .env.production) | Environment-specific secrets |
.env.example | Template file, not secrets |
.dev.vars | Cloudflare Workers secrets |
.git/ | Version control integrity |
node_modules/ | Dependency tree stability |
Architecture
index.ts # Entry — activates protected paths
features/
└── protected-paths.ts # tool_call hook with filename-aware blocking
Single dependency: @mariozechner/pi-coding-agent.