一键导入
memory-management
Memory workflow for ingest, query, and lint operations, using a fast operational cache alongside a durable wiki in `memory/`.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Memory workflow for ingest, query, and lint operations, using a fast operational cache alongside a durable wiki in `memory/`.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Build today's mapped ZEP time-log plan from Google Calendar, preview it against ZEP, and enter it through guarded Playwright automation only after explicit approval.
Help users create structured decision matrices by suggesting criteria, options, and weights — output as comparison tables
Backup CLAUDE.md, TASKS.md, and memory/ to a private Git repo using `bash .claude/skills/memory-backup/backup.sh`.
Pull recent Notion Journal entries into memory/journals/YYYY/month_YYYY-MM_text.txt.
Fetches live prices for equities and forex for investment portfolio.
Sync work context from external sources, update tasks and memory, and report changes
| name | memory-management |
| description | Memory workflow for ingest, query, and lint operations, using a fast operational cache alongside a durable wiki in `memory/`. |
Build and maintain a persistent, compounding markdown wiki in memory/, with CLAUDE.md as a hot cache for fast operational decoding. Keep CLAUDE.md lean. It is the hot cache for frequent operational decoding, not the durable wiki.
Unlike chat-only memory, this system keeps durable context current over time. CLAUDE.md is for frequent people, terms, projects, and preferences. memory/ is the durable wiki for richer, longer-lived knowledge.
The wiki is plain markdown and can be read in any editor.
CLAUDE.md <- Hot cache for frequent people, terms, projects, and preferences
memory/
├── SCHEMA.md <- Structure rules and page conventions
├── index.md <- Content catalog for the durable wiki
├── log.md <- Chronological action log
├── glossary.md <- Decoder ring for acronyms, shorthand, aliases, and internal names
├── people/ <- Person pages
├── projects/ <- Project and workstream pages
├── context/ <- Shared organizational context
├── topics/ <- Thematic notes and reference collections
├── comparisons/ <- Side-by-side analyses worth keeping
└── queries/ <- Filed query results worth keeping
memory/SCHEMA.md is the source of truth for wiki structure and conventions.
Follow it when creating or updating durable wiki pages:
Do not duplicate schema rules in this skill unless needed for execution workflow.
memory/SCHEMA.md# Memory Schema
## Domain
[What this wiki covers]
## Conventions
- File names: lowercase, hyphens, no spaces
- New durable pages start with YAML frontmatter:
```yaml
---
title: Page Title
created: YYYY-MM-DD
updated: YYYY-MM-DD
type: person | project | context | topic | comparison | query | glossary | schema | index | log
tags: [tag1, tag2]
sources: []
---
```
- Use standard markdown links for new links between wiki pages
- When updating a page, always bump the `updated` date
- Every new page must be added to `index.md`
- Every material under `memory/` change must be appended to `log.md`
- Core files may use `schema`, `index`, or `log` as their frontmatter type
## Compact Pages
- Prefer synthesis over chronology; merge or replace stale bullets before appending.
- People pages: aim for 15-35 lines; keep identity, context, work areas, relationships, and durable milestones.
- Active project pages: aim for 40-80 lines; completed projects: 25-60 lines. Longer pages need useful timelines, decision tables, or references.
## People Pages
One page per recurring collaborator or stakeholder. Include:
- Identity and role
- Context or current work
- Key facts or identifiers when useful
- Relationships to projects, teams, or people
- Durable milestones only
## Project Pages
One page per project or workstream. Include:
- Status and type
- What it is
- Key people
- Current state, active work, decisions, risks, or durable recent activity
- Relevant references
## Context Pages
Shared organizational reference pages. Include:
- Teams and workstreams
- Tools and systems
- Channels
- Processes and operating norms
## Topic Pages
One page per thematic note or reference collection. Include:
- Definition or framing
- Current state of knowledge
- Links, references, or observations
- Related pages
## Comparison Pages
Side-by-side analyses. Include:
- What is being compared and why
- Dimensions of comparison (table preferred)
- Verdict or synthesis
- Sources
## Query Pages
Filed query results worth keeping. Include:
- Original question
- Synthesized answer
- Scope or assumptions
- Related pages
- Sources
## Glossary
Central decoder ring for acronyms, internal terms, aliases, and other shorthand that needs quick decoding.
memory/index.md# Memory Index
> Content catalog for the durable wiki under `memory/`.
> Read this first to find relevant files for any memory-backed query.
## Glossary
- [Glossary](glossary.md) - Decoder ring for acronyms, shorthand, aliases, and internal names.
## People
<!-- people pages listed here -->
## Projects
<!-- project pages listed here -->
## Context
<!-- context pages listed here -->
## Topics
<!-- topic pages listed here -->
## Comparisons
<!-- comparison pages listed here -->
## Queries
<!-- filed query results listed here -->
## Core Files
- [SCHEMA.md](SCHEMA.md) - Structural rules for the durable wiki.
- [log.md](log.md) - Chronological record of notable memory-system changes.
memory/log.md# Memory Log
> Chronological record of all memory actions. Append-only.
> Format: `YYYY-MM-DD HH:MM:SS +TZ | action | subject | message`
YYYY-MM-DD 00:00:00 +0800 | create | Memory initialized | Created `SCHEMA.md`, `index.md`, and `log.md`
Before appending to memory/log.md, get the actual local timestamp with:
date '+%Y-%m-%d %H:%M:%S %z'
Use that exact timestamp in each appended log entry. Do not estimate, round, or invent timestamps.
When the user provides durable information such as project updates, decisions, recurring threads, meeting context, or explicit "remember this" instructions:
memory/index.md to identify likely target pages.memory/SCHEMA.md for page structure and conventions.memory/index.md for every new, renamed, deleted, or reclassified page.memory/log.md.Guidelines:
memory/.When the user asks a question that depends on stored memory:
CLAUDE.md for fast decoding.memory/index.md to identify relevant pages.memory/glossary.md if term or shorthand decoding is needed.memory/log.md when the query produces a durable memory update.Preferred filing targets:
memory/people/ pagememory/projects/ pagememory/context/ pagememory/topics/ pagememory/comparisons/memory/queries/memory/glossary.mdGuidelines:
When the user asks to lint, health-check, or audit the memory wiki:
memory/SCHEMA.md:
title, created, updated, type, tags, sources)type matches the page categoryupdated reflects recent edits when content changedmemory/log.mdmemory/index.md.memory/SCHEMA.md.memory/log.md if changes were made or findings were formally recorded.Group findings into:
Use this lookup order by default:
CLAUDE.mdmemory/index.mdmemory/glossary.mdmemory/memory/log.md if recent changes matterFor larger memory lookups:
memory/ by filename to find candidate pagesmemory/index.md as the navigation layer, not as a substitute for reading source pagesWhen multiple related updates arrive at once:
memory/index.md once at the endmemory/log.mdmemory/index.md and memory/log.md updates.CLAUDE.md grow into the durable wiki.memory/SCHEMA.md when creating new pages.