- Preserve frontmatter schema (`description`, `limit`, optional protected `read_only`).
Install
npx skillscat add edmundmiller/dotfiles/packages-pi-packages-pi-context-repo-skills-searching-memory Install via the SkillsCat registry.
SKILL.md
name: searching-memory
description: >
Search, browse, and inspect memory quickly in pi-context-repo. Use when asked
to find prior notes, inspect memory files, locate preferences, or sync recent
memory updates. Trigger phrases: "search memory", "list memory files",
"find in memory", "read memory file", "memory status", "sync memory".
Searching Memory
Use this workflow for fast retrieval and lightweight maintenance.
1) Find candidate files
memory_searchwhen you have a keyword.memory_listwhen you need directory-oriented discovery.
Start broad, then narrow:
memory_list(root overview)memory_list { directory: "system" }memory_list { directory: "reference" }
2) Read exact file
Use memory_read with a single relative path (e.g. system/style.md).
- Prefer reading one file at a time.
- If result is close but not exact, branch back to
memory_search.
3) Update only if needed
If memory is stale:
memory_writewith concise, merged contentmemory_commitwith clear message
Avoid duplicate files or repetitive notes.
4) Verify sync state
- Run
/memoryfor status + recent history. - If ahead of remote, push from shell:
git -C "$MEMORY_DIR" pushHeuristics
- Known file path? →
memory_read - Known keyword, unknown file? →
memory_search - Unknown shape entirely? →
memory_list - Need old conversation context? →
memory_recall
Constraints
- Keep writes under file
limit. - Never modify
read_onlyfiles. - Preserve frontmatter schema (
description,limit, optional protectedread_only).