### Initialize Memwiki Source: https://github.com/hereisswapnil/memwiki/blob/master/README.md Run this command in the root of your project to initialize memwiki and establish a persistent memory system. ```bash npx memwiki init ``` -------------------------------- ### Memwiki Project Root Structure Source: https://github.com/hereisswapnil/memwiki/blob/master/README.md This is the standard folder structure for a Memwiki project. It includes hook files for AI agents and a structured `.memory` directory for the wiki. ```text [Project Root] ├── .cursorrules (Hook for Cursor) ├── .github/copilot-instructions.md (Hook for Copilot) ├── CLAUDE.md (Hook for Claude Code) ├── AGENTS.md (The master protocol file) └── .memory/ ├── .raw/ (Immutable source documents dropped by humans) └── wiki/ ├── hot.md (Hot cache: recent context & next steps - READ FIRST) ├── index.md (Table of contents) ├── log.md (Append-only changelog) ├── stack.md (Tech stack details) ├── patterns.md (Coding patterns and conventions) ├── bugs.md (Known issues and quirks) └── decisions.md (Architecture Decision Records) ``` -------------------------------- ### Update Memwiki Protocol Source: https://github.com/hereisswapnil/memwiki/blob/master/README.md Use this command to update the protocol files (e.g., AGENTS.md, .cursorrules, CLAUDE.md) for newer agent prompts and commands without affecting your existing memory wiki content. ```bash npx memwiki update ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.