coding-global-memory

Installation
SKILL.md

Coding Global Memory

Setup

  1. Derive project-name: replace all / in CWD with -. Example: /Users/x/projects/my-app → -Users-x-projects-my-app
  2. Set MEMORY_DIR = ~/.agents/memories/{project-name}/.

All workflows below assume setup is done.

Memory Layout

~/.agents/memories/{project-name}/
├── MEMORY.md          # Main file (frontmatter: updated, project, description)
└── {topic}.md         # Optional sub-files, split by project's actual modules

Sub-file topics should be derived from the project's real structure — not from a fixed list. Analyze the codebase to determine what modules warrant separate memory files.

Installs
5
Repository
samzong/samzong
GitHub Stars
14
First Seen
Mar 5, 2026