Skip to main content

memanto memory sync

Sync memories to MEMORY.md for Claude Code integration.
Options:
  • --agent TEXT - Specific agent
  • --project-dir PATH - Target project directory (default: current directory)
  • --limit INTEGER - Maximum memories per type to include, 1100 (default: 25)
  • --okf - Sync an OKF bundle into <project-dir>/okf/ instead of MEMORY.md
  • --split TEXT - OKF layout: auto (default), file, or type (only used with --okf)
Examples: Sync active agent:
Sync specific agent:
Sync into a specific project:
Sync a browsable OKF bundle into a project (see the OKF integration):
Output:
Notes:
  • If a fresh export fails because the backend is unreachable, sync falls back to the previous export instead of wiping MEMORY.md with an empty one — the project’s memory file only goes stale, never blank.
  • With --okf, the same fallback applies: on a backend outage sync reuses the previous OKF bundle (reported as stale-cache) rather than emptying <project-dir>/okf/.