@diegopetrucci/pi-gnosis
v0.1.2
Published
A pi extension that exposes the gnosis repo-local knowledge base CLI as an agent tool.
Maintainers
Readme
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/gnosisOr with Go:
go install github.com/skorokithakis/gnosis/cmd/gn@latestInstall
Standalone npm package
pi install npm:@diegopetrucci/pi-gnosisCollection package
pi install npm:@diegopetrucci/pi-extensionsGitHub package
pi install git:github.com/diegopetrucci/pi-extensionsThen reload pi:
/reloadNotes
- 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.
