Package MemPalace as standard Claude and Codex plugins with easy installation#270
Package MemPalace as standard Claude and Codex plugins with easy installation#270bensig merged 26 commits intoMemPalace:mainfrom
Conversation
- 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.
PR Review: Package MemPalace as standard Claude and Codex pluginsExecutive Summary
Affected Areas: Business Impact: Enables marketplace distribution of MemPalace for Claude Code and Codex CLI users. Auto-save hooks will run silently during every AI session. Flow Changes: Adds two new CLI subcommand trees ( Ratings
PR Health
High Priority Issues🐛 #1: Codex hook scripts compute
|
Review Fixes AppliedAddressed all 10 issues from the code review: High Priority
Medium Priority
Low Priority
Additional fix
Created by babysitter |
|
Hey @tmuskal Went through the latest round of fixes and you've addressed most of the feedback well:
Two things still on my mind before merge: Tests —
Everything else looks good to go. Thanks for iterating quickly on this! |
|
CI passed, looks good. Can't merge from CLI due to workflow scope — @bensig will merge from GitHub UI. |
PyPI release cut covering 39 merged PRs since v3.0.0 on 2026-04-06. Highlights: Claude/Codex plugin packaging (#270), security hardening (#387), honest AAAK stats + benchmark corrections (#147), Windows compatibility fixes, Knowledge Graph WAL mode + batching, 10K limit safety caps, and much more. See GitHub release notes for full changelog.
PyPI release cut covering 39 merged PRs since v3.0.0 on 2026-04-06. Highlights: Claude/Codex plugin packaging (#270), security hardening (#387), honest AAAK stats + benchmark corrections (#147), Windows compatibility fixes, Knowledge Graph WAL mode + batching, 10K limit safety caps, and much more. See GitHub release notes for full changelog. Co-authored-by: milla-jovovich <[email protected]>
PyPI release cut covering 39 merged PRs since v3.0.0 on 2026-04-06. Highlights: Claude/Codex plugin packaging (MemPalace#270), security hardening (MemPalace#387), honest AAAK stats + benchmark corrections (MemPalace#147), Windows compatibility fixes, Knowledge Graph WAL mode + batching, 10K limit safety caps, and much more. See GitHub release notes for full changelog. Co-authored-by: milla-jovovich <[email protected]>
- Add Stop hook (auto-save every 15 messages) and PreCompact hook (save everything before context compaction), adapted from upstream MemPalace/mempalace#270 for cloud MCP (no local Python needed) - Enhance skill with: token-expiry handling (tell user to /mcp), search strategy (prioritized tool usage from upstream), full MCP tool reference (19 tools), palace architecture diagram - Add wing/room/drawer structuring guidance — instruct AI to organize memories into wings and rooms, not dump flat - Sync Codex skill with Claude skill - Bump version to 1.1.0
What does this PR do?
Adds claude-code and codex plugins with standard marketplaces, plugins manifests, skills, commands.
Adds cli commands for instructions to be used by agents in skills and avoid duplicates when maintaining various harness-plugins.
Adds cli commands for hooks to keep hook logic in the python library and allow easy assimilation for other harnesses. (codex, openclaw, gemini, etc.)
How to test
installation of mcp, hooks and skills can be done using
(in terminal)
then:
(in claude)
to check the mcp loaded
and
or
Checklist
python -m pytest tests/ -v)ruff check .)