feat: add MemPalace Claude Code plugin with hooks and instructions

- Introduced README.md for plugin overview and installation instructions.
- Added hooks configuration in hooks.json for auto-save and pre-compact functionality.
- Implemented stop and pre-compact hooks in bash scripts for memory management.
- Created marketplace.json and plugin.json for plugin metadata and versioning.
- Developed skills and instructions for help, init, mine, search, and status functionalities.
- Added CLI commands for executing hooks and displaying skill instructions.
- Implemented hooks_cli.py for handling hook logic and JSON input/output.
- Enhanced instruction files for user guidance on setup and usage.
- Updated .gitignore to exclude additional files.
- Created GitHub Actions workflow for syncing plugin version on push.
This commit is contained in:
Tal Muskal
2026-04-08 14:55:46 +03:00
parent 71736a3f4f
commit 3d00a93655
21 changed files with 887 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
---
name: help
description: Show comprehensive MemPalace help — available skills, MCP tools, CLI commands, hooks, and architecture.
---
Run the following command and display its output to the user:
```bash
mempalace instructions help
```
Display the output as-is — it's pre-formatted markdown.
+18
View File
@@ -0,0 +1,18 @@
---
name: init
description: Set up MemPalace — install the package, initialize a palace, configure MCP server, and verify everything works.
---
Run the following command to get setup instructions, then follow them step by step:
```bash
mempalace instructions init
```
If the command fails (mempalace not installed yet), first install it:
```bash
pip install mempalace
```
Then run the instructions command again and follow the output.
+12
View File
@@ -0,0 +1,12 @@
---
name: mine
description: Mine projects and conversations into the MemPalace. Supports project files, conversation exports, and auto-classification.
---
Run the following command to get mining instructions, then follow them:
```bash
mempalace instructions mine
```
Follow the returned instructions to mine the user's data.
+12
View File
@@ -0,0 +1,12 @@
---
name: search
description: Search your memories across the MemPalace using semantic search with wing/room filtering.
---
Run the following command to get search instructions, then follow them:
```bash
mempalace instructions search
```
Follow the returned instructions to execute the user's search query.
+12
View File
@@ -0,0 +1,12 @@
---
name: status
description: Show the current state of your memory palace — wings, rooms, drawer counts, and suggestions.
---
Run the following command to get status instructions, then follow them:
```bash
mempalace instructions status
```
Follow the returned instructions to display the palace status.