six-layer-memory
Set up or repair a local-first six-layer memory structure for an OpenClaw/Codex workspace. Use when a user wants durable HOT/WARM/COLD/CURATED memory files, local maintenance helpers, and per-workspace memory hygiene. This public package does not include cloud sync, external API upload, secret collection, cookies, or login-state handling.
- License 许可
- MIT
- 最近更新
- 2026-06-10
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- six-layer-memory
- version
- 2.0.4
- description
- Set up or repair a local-first six-layer memory structure for an OpenClaw/Codex workspace. Use when a user wants durable HOT/WARM/COLD/CURATED memory files, local maintenance helpers, and per-workspace memory hygiene. This public package does not include cloud sync, external API upload, secret collection, cookies, or login-state handling.
03 SKILL.md 正文
Six-Layer Memory
Use this skill when the user wants a workspace to keep memory proactively instead of relying on chat context alone.
What this skill sets up
- HOT:
memory/SESSION-STATE.md - WARM: local vector/index refresh when source material changes
- COLD:
memory/decisions/ - CURATED:
MEMORY.mdplus daily logs - LOCAL-AUTO: optional local maintenance log and digest checks, with no external API calls
Workflow
- Pick the target workspace.
- Run
scripts/install_workspace.sh <workspace>. - Review the created files before adding any schedule.
- Add periodic execution only after the user confirms the schedule:
0 6 * * * /usr/bin/python3 <workspace>/memory/auto_memory_6layer.py --workspace <workspace> --daily --source memory-daily
- Validate with
memory/check_memory_layers.sh.
Bundled scripts
scripts/install_workspace.shscripts/auto_memory_6layer.pyscripts/memory_writer.pyscripts/check_memory_layers.sh
Notes
- This skill is designed per workspace. Repeat installation for each agent workspace.
- Do not overwrite HOT state with synthetic “all good” status text.
- Prefer one canonical HOT file path:
memory/SESSION-STATE.md. - Keep
MEMORY.mdfor durable facts only. Put operational notes elsewhere. - Do not store API keys, access tokens, cookies, login state, or customer private data in public skill files, shared templates, or examples.
- If a user wants cloud sync, treat it as a separate private extension: explain the risks, ask for explicit confirmation, and keep keys outside the published skill.
References
- Local-first guide:
references/local-first-guide.md
04 同仓库更多 Skills
youtube-content
YouTube transcripts to summaries, threads, blogs.
xurl
X/Twitter via xurl CLI: post, search, DM, media, v2 API.
touchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
test-driven-development
TDD: enforce RED-GREEN-REFACTOR, tests before code.
teams-meeting-pipeline
Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.
systematic-debugging
4-phase root cause debugging: understand bugs before fixing.