Install
Install with PiG
pig install npm:@cc-mem/piInstall with Pi
pi install npm:@cc-mem/piPackages 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": [
"./src/extension.ts"
]
}README
Written by the package's publisher, shown as published in version 0.2.2 (README.md). PiG does not review it.
@cc-mem/pi
Gives pi the auto memory Claude Code already keeps for your projects, so pi, Claude Code and your other agents work from the same notes. What pi saves, Claude Code recalls in its next session, and the other way round.
pi install npm:@cc-mem/pi
What it does
- Puts the project's
MEMORY.mdindex into the system prompt when the session starts, and reads it again after each compaction. The directory is the one Claude Code uses for the working directory,~/.claude/projects/<project>/memoryby default. - Registers four tools:
memory_list(project)returns the notes of another project directory.memory_write(file_name, content)creates a memory file, orMEMORY.md, and never overwrites one.memory_edit(file_name, …)replaces text exactly, renames a memory file, or both.memory_delete(file_name)deletes one memory file; it cannot deleteMEMORY.md.
- Records
source: piin the files it writes andmodifiedBy: piin the files it changes.
pi reads memory files with its own read tool. It keeps MEMORY.md up to date itself, one line per memory, as Claude Code's model does.
The plugin follows Claude Code's settings: autoMemoryDirectory, CLAUDE_CONFIG_DIR, and turning auto memory off with autoMemoryEnabled: false or CLAUDE_CODE_DISABLE_AUTO_MEMORY=1. When auto memory is off, pi is told so and writes are refused.
Part of cc-mem, with plugins for OpenCode and DeepSeek Harness.
License
MIT. Not affiliated with or endorsed by Anthropic. "Claude" and "Claude Code" are trademarks of Anthropic.