← Catalog

pi-thegreataxios-staples

Personal staple extension for pi coding-agent — protected paths

Extension

Install

Install with PiG

pig install npm:pi-thegreataxios-staples

Install with Pi

pi install npm:pi-thegreataxios-staples
Review 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.

PathReason
.env (exact file)Secrets and environment variables
.env.* (e.g. .env.local, .env.production)Environment-specific secrets
.env.example allowedTemplate file, not secrets
.dev.varsCloudflare 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.