Communitygithub.com

VRIL-LABS/portable-agent-memory

๐Ÿง  An advanced and portable agent memory system thatโ€™s tuned for usage across any agent, allowing developers to enhance the quality of their code. Can be used as a supplemental or standalone memory system.

portable-agent-memory๋ž€ ๋ฌด์—‡์ธ๊ฐ€์š”?

portable-agent-memory is a Claude Code agent skill that ๐Ÿง  An advanced and portable agent memory system thatโ€™s tuned for usage across any agent, allowing developers to enhance the quality of their code. Can be used as a supplemental or standalone memory system.

์ง€์› ๋Œ€์ƒโœ“Claude Code~Codex CLIโœ“Cursorโœ“Gemini CLIโœ“Windsurf
npx skills add VRIL-LABS/portable-agent-memory

์ฆ๊ฒจ ์‚ฌ์šฉํ•˜๋Š” AI์—๊ฒŒ ๋ฌผ์–ด๋ณด๊ธฐ

์ด ์—์ด์ „ํŠธ ์Šคํ‚ฌ์ด ๋ฏธ๋ฆฌ ๋กœ๋“œ๋œ ์ƒˆ ์ฑ„ํŒ…์„ ์—ฝ๋‹ˆ๋‹ค.

๋ฌธ์„œ

Memory System

This skill's persistence layer for project-local memory, at <project_root>/memories/, via scripts/memory <cmd> (backed by references/memory_tool, the deterministic source of truth for this layer โ€” never modify its output or reimplement it). It doesn't assume the host has no other memory mechanism; if one exists, treat this as an additional, file-based layer alongside it. Stdout is JSON; re-read to confirm on-disk state.

Since 1.1.0, init also creates a hidden <project_root>/.memsys-db (SQLite + FTS5, journal_mode=DELETE, one file, no -wal/-shm) โ€” the regenerable index and search plane. Markdown stays the source of truth.

Start here, in order:

  1. references/protocol.md โ€” the full ingest โ†’ retrieve โ†’ reason โ†’ reflect โ†’ execute โ†’ package workflow, plus commands and quick-start invocations.
  2. references/layout.md โ€” store layout and what to load for a given query.
  3. references/when-to-save.md โ€” classify: skill vs. index vs. topic vs. reject, and skills-vs-memory routing.
  4. references/constitution.md โ€” hard rules (never skip secret-scan, never exceed 200 lines, never write outside memories/, never enumerate via bash, never WAL the ledger).
  5. references/memsys-db.md โ€” the .memsys-db ledger contract: schema, search/reindex/forget, and why the DB never outranks markdown.
  6. references/examples.md โ€” worked examples: happy path, secret rejection, overwrite recovery.

Verify the install with scripts/memory selftest before first use.

๊ด€๋ จ ์Šคํ‚ฌ