一键导入
hmem-consolidate
Merge all session checkpoint summaries into one final O-Entry summary. Run at end of sessions with 2 or more checkpoints.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Merge all session checkpoint summaries into one final O-Entry summary. Run at end of sessions with 2 or more checkpoints.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Update flow for hmem. Runs `npm update -g`, syncs skills, applies migrations, verifies hooks, shows the changelog. Use when the user asks to update/upgrade hmem, hmem-mcp, or its-over-9k (any language), or when the startup version-check flags a new release. Runs the npm update itself — don't assume it's already done.
Switch active project mid-session via load_project, then fix any misrouted O-entry exchanges. Use when the user says 'aktiviere/lade Projekt X', 'switch to project Y', or whenever you'd otherwise call load_project mid-session.
View and change hmem memory settings, hooks, sync, and checkpoints. Use on /hmem-config, or when the user asks why context is huge, how to change auto-save, how often checkpoints fire, or how to set up sync.
Load specific context from hmem based on what is needed RIGHT NOW. Use when load_project output is not enough for the current question.
Curate an .hmem file (your own or foreign) — mark obsolete/irrelevant, fix titles, consolidate duplicates, repair broken links. **Requires the `hmem-curate` MCP server** (skill prompts the user to enable it on entry). Use whenever the user says 'aufräumen', 'memory aufräumen', 'Speicher aufräumen', 'hmem aufräumen', 'clean up memory', 'tidy up hmem', 'curate memory', 'consolidate duplicates', 'merge duplicate entries', 'fix broken links', 'kümmer dich um die Memory', or invokes /hmem-curate. Also trigger when `memory_health()` flags BLOCKER/WARNING issues, when a P-entry's load_project output exceeds 4k tokens (session-start noise check defers to this skill), or before any batch cleanup of L, E, D, P entries. Skipping this skill and editing memory directly bypasses health checks, severity triage, and obsolete-chain integrity — never curate without it.
Dispatch an isolated sub-agent that returns only [RESULT]...[/RESULT]. Use for any search, lookup, 'does X exist?', 'find Y', calculation, or isolated writing — never do these inline when dispatch fits.
| name | hmem-consolidate |
| description | Merge all session checkpoint summaries into one final O-Entry summary. Run at end of sessions with 2 or more checkpoints. |
Run when:
Do NOT run if there was only one checkpoint — that summary is already final.
Call read_memory on the active O-Entry:
read_memory(id: "O00XX", depth: 2)
Replace O00XX with the active O-Entry ID (P0056 → O0056).
Identify all child nodes with titles starting with "Summary YYYY-MM-DD". Collect their content.
From all collected summaries, write ONE final summary with max 10 bullets:
append_memory( id: "O00XX", content: "Final Summary <today's date e.g. 2026-04-24>\n\n- <bullet 1>\n- <bullet 2>\n...\n- " )
Do NOT delete or overwrite the individual checkpoint summaries.
[CONSOLIDATED] Final summary written to O-Entry O00XX.