Install
Install with PiG
pig install npm:@diegopetrucci/pi-gnosisInstall with Pi
pi install npm:@diegopetrucci/pi-gnosisPackages 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.14 (README.md). PiG does not review it.
gnosis
A pi extension that exposes gnosis as an agent tool.
gnosis is a repo-local knowledge base for durable project context: decisions, rejected alternatives, constraints, operational lessons, and intent that are not obvious from code or docs.
What it adds
- a
gnosistool for the agent - support for
plan,review,search,latest,show,topics,write, andreindex - prompt guidance encouraging the agent to search before implementation and record only durable, non-obvious knowledge
This extension intentionally does not add slash commands; it is an agent-facing wrapper around the gn CLI. It also intentionally omits edit and rm actions from the tool surface.
Requirements
Install the gn CLI first:
brew install --cask skorokithakis/tap/gnosis
Or with Go:
go install github.com/skorokithakis/gnosis/cmd/gn@latest
Install
Standalone npm package
pi install npm:@diegopetrucci/pi-gnosis
Collection package
pi install npm:@diegopetrucci/pi-extensions
GitHub package
pi install git:github.com/diegopetrucci/pi-extensions
Then reload pi:
/reload
Notes
- The extension shells out to
gnin the current Pi working directory. - Gnosis stores entries in
.gnosis/entries.jsonlat the repo root and uses a disposable SQLite FTS5 index for search. writemutates the repo-local gnosis knowledge base;reindexrebuilds the search cache.