بنقرة واحدة
memory-sync
Git synchronization operations for pi-memory-md repository. Use when you need to sync memory.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Git synchronization operations for pi-memory-md repository. Use when you need to sync memory.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Digest recent tape anchors and session context into curated pi-memory-md memories when tape mode is enabled. Use only with tape mode enabled when the user asks to summarize recent work, extract learnings, preserve decisions, convert tape/session history into memory, or review recent intent for durable memory updates.
Search and retrieve information from pi-memory-md memory files. Use when you need to search memory.
Initialize memory repository - clone git repo and create directory structure. Use when you need to set up pi-memory-md for the first time or initalize project's memory files.
Import durable knowledge from URLs, folders, or files into pi-memory-md. Use when the user asks to preserve external content as memory.
Create or update pi-memory-md memory files using the native write/edit tools plus the bundled template script. Use whenever writing, creating, or updating memory files.
| name | memory-sync |
| description | Git synchronization operations for pi-memory-md repository. Use when you need to sync memory. |
Git synchronization for pi-memory-md repository.
Configure pi-memory-md.repoUrl in settings file (global: ~/.pi/agent/settings.json, project: .pi/settings.json)
Fetch latest changes from remote:
memory_sync(action="pull")
Use before starting work or switching machines.
Upload local changes to remote:
memory_sync(action="push")
Auto-commits changes before pushing.
Before pushing, ALWAYS run memory_check first:
memory_check()
This verifies that the folder structure is correct (e.g., files are in core/project/ not in a root project/ folder).
Check uncommitted changes:
memory_sync(action="status")
Shows modified/added/deleted files.
| Action | Command |
|---|---|
| Get updates | memory_sync(action="pull") |
| Check changes | memory_sync(action="status") |
| Upload changes | memory_sync(action="push") |
| Error | Solution |
|---|---|
| Non-fast-forward | Pull first, then push |
| Conflicts | Manual resolution via bash git commands |
| Not a git repo | Run memory_init(force=true) |
| Permission denied | Check SSH keys or repo URL |
memory-management - Read and write filesmemory-init - Setup repository