feat(claude): add mempalace plugin - #898
Conversation
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
📝 WalkthroughWalkthroughThe Claude setup template now registers the MemPalace marketplace and installs the ChangesClaude setup
Estimated code review effort: 1 (Trivial) | ~3 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Code Review
This pull request updates the Claude setup script to include the 'MemPalace/mempalace' marketplace and its corresponding 'mempalace@mempalace' plugin. There are no review comments, so no feedback is provided.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
✅MegaLinter analysis: Success
Notices📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining See detailed reports in MegaLinter artifacts Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@chezmoi/.chezmoiscripts/run_onchange_after_setup_claude.sh.tmpl`:
- Line 29: Update the setup flow in run_onchange_after_setup_claude.sh.tmpl to
provision the MemPalace runtime/CLI before enabling the MemPalace plugin, and
include the /mempalace:init step required for fresh machines. Ensure the plugin
is not enabled until its runtime is available, or explicitly keep the plugin
opt-in if provisioning cannot be added.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: bc39c1d1-71c4-4a3b-b59d-8828c7861bdc
📒 Files selected for processing (1)
chezmoi/.chezmoiscripts/run_onchange_after_setup_claude.sh.tmpl
| typescript-lsp@claude-plugins-official | ||
| caveman@caveman | ||
| mattpocock-skills@mattpocock | ||
| mempalace@mempalace |
There was a problem hiding this comment.
🩺 Stability & Availability | 🟠 Major | 🏗️ Heavy lift
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
set -euo pipefail
rg -n --glob '*.sh*' --glob '*.tmpl' \
'mempalace|uv tool install|pip(3)? install' .Repository: yxtay/dotfiles
Length of output: 152
🏁 Script executed:
#!/bin/bash
set -euo pipefail
printf '\n== File outline ==\n'
ast-grep outline chezmoi/.chezmoiscripts/run_onchange_after_setup_claude.sh.tmpl --view expanded || true
printf '\n== File contents ==\n'
cat -n chezmoi/.chezmoiscripts/run_onchange_after_setup_claude.sh.tmpl
printf '\n== Search for mempalace/setup references ==\n'
rg -n -S 'mempalace|claude-plugin|setup_claude|/mempalace:init|uv tool install|pip(3)? install' chezmoi . || trueRepository: yxtay/dotfiles
Length of output: 1401
🌐 Web query:
MemPalace claude plugin /mempalace:init plugin installation runtime initialization
💡 Result:
The MemPalace Claude Code plugin integrates persistent memory into your Claude Code sessions using the Model Context Protocol (MCP) and dedicated auto-save hooks [1][2]. The /mempalace:init command is a post-installation utility used to finalize the plugin's configuration [3][4][5]. Installation and Initialization Process: 1. Installation: You can install the plugin via the Claude Code marketplace or manually [1][2]. The recommended installation commands are: claude plugin marketplace add MemPalace/mempalace claude plugin install --scope user mempalace [1] You must also ensure the MemPalace Python package is installed in your environment, preferably in an isolated location to avoid dependency conflicts [6]: uv tool install mempalace (recommended) or pip install mempalace [6][3] 2. Runtime Initialization: After the plugin is installed, you run the initialization command within the Claude Code interface to complete the setup, which includes configuring the MCP server and wiring up the necessary hooks [3][5]: /mempalace:init [3][5] The /mempalace:init command performs essential tasks such as verifying the installation of the mempalace CLI, configuring MCP server paths, and ensuring that auto-save hooks—which trigger memory management during conversations—are correctly enabled [3][4][5][2]. Once initialized, the plugin allows Claude Code to access 19 MCP tools for storing, searching, and managing memory across your projects [7][8]. You can verify the installation and MCP status by running /mcp or /mempalace:help within Claude Code [9].
Citations:
- 1: https://mempalaceofficial.com/guide/claude-code.html
- 2: https://mempalace.cloud/docs/claude-code
- 3: MemPalace/mempalace@v3.3.4...v3.3.5
- 4: https://www.claudepluginhub.com/commands/milla-jovovich-mempalace/commands/mempalace-init
- 5: MemPalace/mempalace@2794c9f
- 6: https://github.com/MemPalace/mempalace
- 7: https://mempalaceofficial.com/guide/mcp-integration.html
- 8: https://www.mempalace.tech/guides/setup
- 9: Package MemPalace as standard Claude and Codex plugins with easy installation MemPalace/mempalace#270
Install the MemPalace runtime too. This only adds the MemPalace/mempalace marketplace/plugin entry; the CLI/package and /mempalace:init step are still missing, so the hooks will fail on a fresh machine until that runtime is provisioned or the plugin is kept opt-in.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@chezmoi/.chezmoiscripts/run_onchange_after_setup_claude.sh.tmpl` at line 29,
Update the setup flow in run_onchange_after_setup_claude.sh.tmpl to provision
the MemPalace runtime/CLI before enabling the MemPalace plugin, and include the
/mempalace:init step required for fresh machines. Ensure the plugin is not
enabled until its runtime is available, or explicitly keep the plugin opt-in if
provisioning cannot be added.

Summary
MemPalace/mempalacemarketplace to chezmoi Claude setup scriptmempalace@mempalaceplugin to auto-install listTest plan
chezmoi applyinstalls mempalace plugin/mempalace:*skills available after install🤖 Generated with Claude Code
Summary by CodeRabbit