@ayagmar/session-memory-search
Search local Codex, Pi, and Claude Code session history to recover prior decisions, feedback, prompts, and conversation snippets.
Package details
Install @ayagmar/session-memory-search from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@ayagmar/session-memory-search- Package
@ayagmar/session-memory-search- Version
0.1.2- Published
- Oct 11, 2026
- Downloads
- 431/mo · 431/wk
- Author
- ayagmar
- License
- MIT
- Types
- skill
- Size
- 56.7 KB
- Dependencies
- 0 dependencies · 0 peers
Pi manifest JSON
{
"skills": [
"./skills"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
session-memory-search
Search local Codex, Pi, and Claude Code session history to recover prior decisions, feedback, prompts, TODOs, and conversation snippets. Privacy: reads local session stores (~/.codex, ~/.pi/agent/sessions, ~/.claude/projects) read-only and makes no network requests.
Requirements
- Node.js >= 22.19
rg(ripgrep), optional, for faster prefiltering
Install
Pi
# pinned (versions are listed in the changelog linked below)
pi install npm:@ayagmar/session-memory-search@<version>
# unpinned
pi install npm:@ayagmar/session-memory-search
# remove
pi remove npm:@ayagmar/session-memory-search
skills CLI
npx skills add ayagmar/agents-skills --skill session-memory-search --agent pi
Other agent ids: claude-code, codex, cursor.
Claude Code
claude plugin marketplace add ayagmar/agents-skills
claude plugin install session-memory-search@ayagmar-skills
Codex
codex plugin marketplace add ayagmar/agents-skills
codex plugin add session-memory-search@ayagmar-skills
Usage
Prompt example: "What did we decide about the retry policy last week? Search past sessions for it." The agent runs the bundled script itself.
Run from the installed skill directory:
node scripts/search_sessions.mjs --since 2026-09-01 --phrase "retry policy"
See SKILL.md for the full option list.