npm.io
0.1.1 • Published yesterday

@gtheys/pi-bootstrap

Licence
MIT
Version
0.1.1
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
2

pi-bootstrap

Pi extension that symlinks agents/AGENTS.md into the Pi agent directory on startup so the repository-level AI instructions are always active.

Install

Add to your package.json pi.extensions:

"./packages/pi-bootstrap/index.ts"

Behaviour

On each Pi startup the extension checks ~/.pi/agent/AGENTS.md:

  • Absent — creates a symlink pointing at the repo's agents/AGENTS.md.
  • Already linked here — silently skips (idempotent).
  • Linked elsewhere — warns and leaves the existing link untouched.
  • Real file — warns and leaves it untouched.

Keywords