# rick-newbit/memory-curator architecture

> Architecture diagram of the GitHub repository rick-newbit/memory-curator, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/rick-newbit/memory-curator
- Repository: https://github.com/rick-newbit/memory-curator

## Overview

memory-curator is a documentation-only skill that guides an AI assistant through organizing long-term memory. The documented workflow is to record timestamped facts, classify them by future use, preserve superseded facts with stale markers, and obtain the owner’s approval before deletion. The README identifies the reference file as part of the skill and explains how users provide or install both files. No source excerpts were provided, so relationships below rely on README documentation only.

Main entry points: [`SKILL.md`](https://github.com/rick-newbit/memory-curator/blob/main/SKILL.md) (Memory-curator skill), [`references/失效判断逻辑.md`](https://github.com/rick-newbit/memory-curator/blob/main/references/%E5%A4%B1%E6%95%88%E5%88%A4%E6%96%AD%E9%80%BB%E8%BE%91.md) (Staleness guidance)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_assistant(("AI assistant"))
node_skill["Memory-curator skill<br/>[SKILL.md]"]
node_reference["Staleness guidance<br/>[失效判断逻辑.md]"]
node_memory[("Long-term memory")]
node_owner(("Memory owner"))
node_capture["Timestamped facts<br/>[SKILL.md]"]
node_classify["Use-based filing<br/>[SKILL.md]"]
node_stale["Stale marking<br/>[SKILL.md]"]
node_deletion["Deletion proposal<br/>[SKILL.md]"]

node_assistant -->|"applies on request"| node_skill
node_assistant -->|"reads alongside"| node_reference
node_skill -->|"specifies format"| node_capture
node_skill -->|"specifies filing"| node_classify
node_skill -->|"requires marking"| node_stale
node_reference -->|"guides judgment"| node_stale
node_assistant -->|"records facts"| node_capture
node_capture -->|"adds entries"| node_memory
node_assistant -->|"files by use"| node_classify
node_classify -->|"organizes entries"| node_memory
node_assistant -->|"marks superseded"| node_stale
node_stale -->|"preserves entries"| node_memory
node_assistant -->|"lists candidates"| node_deletion
node_deletion -->|"requests approval"| node_owner
node_owner -->|"confirms deletion"| node_memory

click node_skill "https://github.com/rick-newbit/memory-curator/blob/main/SKILL.md"
click node_reference "https://github.com/rick-newbit/memory-curator/blob/main/references/%E5%A4%B1%E6%95%88%E5%88%A4%E6%96%AD%E9%80%BB%E8%BE%91.md"
click node_capture "https://github.com/rick-newbit/memory-curator/blob/main/SKILL.md"
click node_classify "https://github.com/rick-newbit/memory-curator/blob/main/SKILL.md"
click node_stale "https://github.com/rick-newbit/memory-curator/blob/main/SKILL.md"
click node_deletion "https://github.com/rick-newbit/memory-curator/blob/main/SKILL.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_assistant,node_owner toneIndigo
class node_skill,node_reference,node_capture,node_classify,node_stale,node_deletion toneTeal
class node_memory toneAmber
```

## Components

### Other components

- **AI assistant**
- [Memory-curator skill](https://github.com/rick-newbit/memory-curator/blob/main/SKILL.md): `SKILL.md`
- [Staleness guidance](https://github.com/rick-newbit/memory-curator/blob/main/references/%E5%A4%B1%E6%95%88%E5%88%A4%E6%96%AD%E9%80%BB%E8%BE%91.md): `references/失效判断逻辑.md`
- **Long-term memory**
- **Memory owner**
- [Timestamped facts](https://github.com/rick-newbit/memory-curator/blob/main/SKILL.md): `SKILL.md`
- [Use-based filing](https://github.com/rick-newbit/memory-curator/blob/main/SKILL.md): `SKILL.md`
- [Stale marking](https://github.com/rick-newbit/memory-curator/blob/main/SKILL.md): `SKILL.md`
- [Deletion proposal](https://github.com/rick-newbit/memory-curator/blob/main/SKILL.md): `SKILL.md`

## Connections

- AI assistant → Memory-curator skill: applies on request (evidence: `README.md`)
- AI assistant → Staleness guidance: reads alongside (evidence: `README.md`)
- Memory-curator skill → Timestamped facts: specifies format (evidence: `README.md`)
- Memory-curator skill → Use-based filing: specifies filing (evidence: `README.md`)
- Memory-curator skill → Stale marking: requires marking (evidence: `README.md`)
- Staleness guidance → Stale marking: guides judgment (evidence: `README.md`)
- AI assistant → Timestamped facts: records facts (evidence: `README.md`)
- Timestamped facts → Long-term memory: adds entries (evidence: `README.md`)
- AI assistant → Use-based filing: files by use (evidence: `README.md`)
- Use-based filing → Long-term memory: organizes entries (evidence: `README.md`)
- AI assistant → Stale marking: marks superseded (evidence: `README.md`)
- Stale marking → Long-term memory: preserves entries (evidence: `README.md`)
- AI assistant → Deletion proposal: lists candidates (evidence: `README.md`)
- Deletion proposal → Memory owner: requests approval (evidence: `README.md`)
- Memory owner → Long-term memory: confirms deletion (evidence: `README.md`)
