Memoir plugin for Grok Build
Hierarchical Agent Memory with Git-Like Version Control
How to install Memoir in Grok Build
1. Add this repo as a plugin marketplace in Grok Build (once per computer):
grok plugin marketplace add zhangfengcdt/memoir2. Install the plugin:
grok plugin install memoir@zhangfengcdt/memoir --trustReview before you trust it. --trust lets this plugin's hooks, MCP servers and scripts run code on your computer. It's a community repo that neither xAI nor GrokStacks has reviewed, so read its code first.
Then start a new Grok session, or press r in /plugins, to load it.
Inside Grok Build: type /plugins, open the Marketplace tab, press a and add zhangfengcdt/memoir, then select memoir and press i.
Command format: Grok Build's plugin guide
What we checked: on Oct 18, 2026 it installed with grok 1.0.62 and Grok found 10 skills, 8 slash commands. That's an install check only: we haven't run it in a live Grok session.
What it contains
Skills (10)
memoir-onboard— Populate or refresh a persistent, high-level project snapshot in memoir. In a git repo this writes `codebase:onboard` (code-shape: modules, goals, rules, lessons) — use when: (1) the user asks for onboarding / a codebase tour ('what does thmemory-recall— Recall facts from past sessions via memoir. STORE PATH: ALWAYS compute first via `STORE=$(bash "$CLAUDE_PLUGIN_ROOT/scripts/derive-store-path.sh")` (or `$MEMOIR_STORE`). Pass `-s "$STORE"` on every call — never rely on memoir's connected deonboard— Indexes this folder and saves a persistent overview that future sessions pick up automatically. In a git repo this writes `codebase:onboard` (code-shape map). In a non-git folder this writes `project:onboard` (file-shape index built by detepane— Show what memoir just learned — live capture feed + taxonomy pane (Claude Code 2.1.287+; older versions get a text summary).push— Push every local memoir branch for this repo to memoir cloud — logging in and linking the store when needed; conflicts are parked under <branch>-conflict-<stamp>, or overwritten with --force.recall— Recall memories from past sessions via memoir. Delegates to the memory-recall skill. Pass --include-metrics to include machine-generated turn statistics (excluded by default).remember— Manually capture a memory now (independent of Stop-hook auto-capture). On a conflict with an existing memory, prompts you to choose how to resolve it. Pass -p <path> to skip classification.status— Show memoir store status — current branch, commit count, memory count, namespaces.sync— Review and promote unmerged memoir branches into main (interactive).ui— Launch (or re-open) the memoir web UI for the current project's store.
Hooks (1)
hooks— SessionEnd, SessionStart, Stop, UserPromptSubmit
About this listing
Memoir is a community plugin on GitHub by zhangfengcdt, written as a Claude Code plugin that Grok Build installs. We install-checked it in Grok; we haven't run it in a live session or reviewed its code. When we installed it, Grok found 10 skills, 1 hook. Its license is Apache-2.0. We checked commit fb1bdc2ca84a. It's one of 162 listings in the Productivity category on GrokStacks.
Stacks Weekly: every new Grok Build and Codex plugin, every Tuesday.
One short email for GrokStacks and CodexStacks readers, with each new plugin's install line and what it ships. Subscribe and get the free starter list: 20 Grok Build plugins worth installing first.
You'll get a confirmation email first. Unsubscribe anytime.
Memoir FAQ
How do I install Memoir in Grok Build?
Add the repo as a marketplace with grok plugin marketplace add zhangfengcdt/memoir, then run grok plugin install memoir@zhangfengcdt/memoir --trust. Then start a new Grok session, or press r in /plugins, to load it.
Is Memoir an official Grok Build plugin?
No. Memoir is a community plugin on GitHub by zhangfengcdt, not in xAI's official Grok Build marketplace. We checked that it installs and what Grok loads from it, but haven't run it in a live Grok session or reviewed its code.
What does Memoir include?
According to what Grok loaded in our install check, Memoir includes 10 skills, 1 hook: memoir-onboard, memory-recall, onboard, pane, push, recall….
Details
- Type
- Plugin
- Category
- Productivity
- Source
- Community Claude Code plugin, installs in Grok
- License
- Apache-2.0
- Author
- zhangfengcdt
- Source repo
- https://github.com/zhangfengcdt/memoir
- Checked commit
fb1bdc2ca84a- Homepage
- https://zhangfengcdt.github.io/memoir/
- Checked by GrokStacks
- Install-checked in Grok Build on Oct 18, 2026; not run in a live session
Something wrong or missing? Submit or improve this listing. Marketplace listings also refresh automatically every night.
For maintainers: badge and embeds
Maintain Memoir? Add the badge; it links to this page.
Markdown
[](https://grokstacks.com/p/memoir/)HTML
<a href="https://grokstacks.com/p/memoir/"><img src="https://grokstacks.com/badge.svg" alt="Listed on GrokStacks" width="164" height="28"></a>Embed card (static HTML and inline CSS, no JavaScript). Preview:
<a href="https://grokstacks.com/p/memoir/" style="display:block;max-width:380px;box-sizing:border-box;padding:14px 16px;border:1px solid #2a2e3c;border-radius:12px;background:#0a0b0f;color:#e8eaf0;font:14px/1.45 -apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;text-decoration:none"><span style="display:block;font-size:16px;font-weight:700;color:#e8eaf0">Memoir</span><span style="display:block;margin:2px 0 8px;font-size:12px;color:#9aa0b1">Community plugin for Grok Build · 10 skills, 1 hook</span><span style="display:block;margin:0 0 10px;color:#c9cdd8">Hierarchical Agent Memory with Git-Like Version Control</span><span style="font-size:12px;font-weight:600;color:#7c9cff">View on GrokStacks →</span></a>Markdown summary
**[Memoir on GrokStacks](https://grokstacks.com/p/memoir/)**: Community plugin for Grok Build with 10 skills, 1 hook. Install: `grok plugin install memoir@zhangfengcdt/memoir --trust` (after `grok plugin marketplace add zhangfengcdt/memoir`)More on badges, embeds and keeping your listing up to date: GrokStacks for plugin authors.
Also in Productivity
Aegis
Make AI coding agents architecture-aware: baseline-first, evidence-verified, drift-checked, and safe across long tasks.
Agent Deck
Terminal session manager for AI coding agents. One TUI for Claude, Gemini, OpenCode, Codex, and more.
Agent Skill
Guide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search.
Agentmemory
#1 Persistent memory for AI coding agents based on real-world benchmarks
AI Copywriter
An AI copywriter that uses real copywriting skills + real marketing knowledge with human tone.
AI Memory
Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors