Skip to content

feat(claude): add mempalace plugin - #898

Merged
yxtay merged 1 commit into
mainfrom
feat/mempalace-plugin
Jul 15, 2026
Merged

feat(claude): add mempalace plugin#898
yxtay merged 1 commit into
mainfrom
feat/mempalace-plugin

Conversation

@yxtay

@yxtay yxtay commented Jul 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add MemPalace/mempalace marketplace to chezmoi Claude setup script
  • Add mempalace@mempalace plugin to auto-install list

Test plan

  • chezmoi apply installs mempalace plugin
  • /mempalace:* skills available after install

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Added MemPalace marketplace registration to the Claude setup flow on macOS.
    • Added automatic installation of the MemPalace plugin during setup.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 15, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The Claude setup template now registers the MemPalace marketplace and installs the mempalace@mempalace plugin on supported macOS setups.

Changes

Claude setup

Layer / File(s) Summary
Add MemPalace marketplace and plugin
chezmoi/.chezmoiscripts/run_onchange_after_setup_claude.sh.tmpl
The marketplace and plugin arrays now include MemPalace entries used by the Claude setup commands.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Possibly related PRs

  • yxtay/dotfiles#850: Adds another Claude marketplace and corresponding plugin through the same setup template.

Poem

A bunny hops through setup bright,
Adds MemPalace left and right.
Marketplace joins the plugin train,
Claude installs it without strain.
Carrots cheer the new delight! 🐇

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the main change by adding the MemPalace plugin to the Claude setup flow.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/mempalace-plugin

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@github-actions

Copy link
Copy Markdown
Contributor

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ BASH shfmt 5 0 0 0 0.02s
✅ JSON prettier 7 0 0 0 0.41s
✅ MARKDOWN markdownlint 14 0 0 0 0.79s
✅ MARKDOWN markdown-table-formatter 16 0 0 0 0.16s
✅ YAML prettier 11 0 0 0 0.49s

Notices

📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining SECURITY_SUGGESTIONS: false)

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 FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@9.6.0 --custom-flavor-setup --custom-flavor-linters BASH_SHFMT,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,YAML_PRETTIER

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@yxtay
yxtay merged commit 0a00eef into main Jul 15, 2026
21 of 23 checks passed
@yxtay
yxtay deleted the feat/mempalace-plugin branch July 15, 2026 04:27

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

📥 Commits

Reviewing files that changed from the base of the PR and between 277801f and c831cbc.

📒 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

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🩺 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 . || true

Repository: 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:


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.

This was referenced Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant