Skip to content

Add auto-save hooks + enhanced skill with structure guidance - #1

Merged
cschnatz merged 1 commit into
mainfrom
feature/hooks-and-skill-update
Apr 10, 2026
Merged

Add auto-save hooks + enhanced skill with structure guidance#1
cschnatz merged 1 commit into
mainfrom
feature/hooks-and-skill-update

Conversation

@cschnatz

Copy link
Copy Markdown
Owner

Summary

Changes

  • Hooks: Stop (save every 15 messages) + PreCompact (save before compaction). Pure shell, no Python dependency — uses MCP tools directly.
  • Skill: Token expiry → tell user to /mcp. Search priority order. Full 19-tool reference. Wing/room structuring examples.
  • Both skills synced (Claude Code + Codex)

From Upstream

Adapted hook pattern from MemPalace/mempalace#270, converted from Python CLI to pure shell + MCP for cloud usage.

- 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
@cschnatz
cschnatz merged commit 9b8e949 into main Apr 10, 2026
@cschnatz
cschnatz deleted the feature/hooks-and-skill-update branch May 24, 2026 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant