Node requirement
mdkg uses modern Node capabilities. Install Node 24.15.0 or newer before the global npm install.
node --versionQuickstart
Install mdkg, then keep the first path intentionally small. It proves mdkg is installed, creates repo-local project memory, builds the index cache, and verifies graph health.
npm install -g mdkg
mdkg --version
mdkg init --agent
mdkg index
mdkg status
mdkg validatemdkg uses modern Node capabilities. Install Node 24.15.0 or newer before the global npm install.
node --versionRun the first pass on a small repo or a fresh branch so graph memory files, agent docs, and generated indexes are easy to review.
git status --shortAfter initialization, use the graph to select work and build deterministic context. Replace `GOAL_ID`, `WORK_ID`, and `TASK_ID` with real ids from your repo.
mdkg goal current
mdkg goal next GOAL_ID
mdkg show WORK_ID
mdkg pack WORK_ID --pack-profile concise
mdkg handoff create WORK_ID
mdkg task done TASK_ID --checkpoint "Meaningful milestone"
mdkg validateSuccess signals
The first run should leave visible, reviewable repo state rather than a hidden service or transient chat instruction.
A `.mdkg/` folder, agent startup docs, and core project memory conventions are present.
.mdkg/The index is generated from source files and can be rebuilt when graph files change.
mdkg indexValidation explains missing refs, stale state, and template issues before closeout.
mdkg validate --summary