@guygrigsby/pi-claude-memory
Read-only: inject the Claude Code project memory (MEMORY.md and fact files) into a pi session's context. Never writes.
Package details
Install @guygrigsby/pi-claude-memory from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@guygrigsby/pi-claude-memory- Package
@guygrigsby/pi-claude-memory- Version
0.1.1- Published
- Jul 24, 2026
- Downloads
- 229/mo · 163/wk
- Author
- guygrigsby
- License
- MIT
- Types
- extension
- Size
- 7.2 KB
- Dependencies
- 0 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"./extensions/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
claude-memory
Read-only. Injects the Claude Code project memory for the current working
directory (~/.claude/projects/<cwd-slug>/memory/: MEMORY.md plus every
*.md fact file) into the pi system prompt, wrapped in a guarded
<memory-context readonly="true"> block so the model treats it as reference,
not instructions.
It never writes. No /remember, no save tool. Pi's own writable memory is a
separate extension (pi-hermes-memory).
Global memory (the user-wide ~/.claude/CLAUDE.md) is loaded by the pi
launch wrapper, not by this extension.
Config: set PI_CCMEM=off to disable injection.
Install
pi install npm:@guygrigsby/pi-claude-memory