headysystems/heady-testing/heady-memory-ledger-design
Claude Code and agent skill by headysystems/heady-testing
- community
Checking that the SKILL.md file is still in the repository.
Design the Heady Memory Ledger with temporal indexing and privacy controls. Use when architecting persistent memory systems, defining retention policies, building privacy-aware recall, implementing memory expiry and redaction, or designing the ledger schema for Heady personal memory.
Install
npx vskill@latest install headysystems/heady-testing/heady-memory-ledger-designSKILL.md
The same SKILL.md was published earlier as headysystems/heady-testing/heady-memory-ledger-design.
Heady Memory Ledger Design
Use this skill when you need to architect, extend, or refine the Heady Memory Ledger — the persistent, privacy-aware memory layer that gives Heady long-term recall with temporal indexing and user-controlled data governance.
When to Use This Skill
- Designing the memory ledger schema and storage architecture
- Defining retention policies — what is kept, for how long, and why
- Building privacy controls — redaction, expiry, user-initiated deletion
- Implementing temporal queries — "what did I work on last Tuesday?"
- Adding new memory entry types to the ledger
- Auditing memory access patterns for compliance
Instructions
1. Define the Ledger Schema
The Memory Ledger is an append-only log with these core fields:
| Field | Type | Description | |
|---|---|---|---|
entry_id | UUID | Unique identifier | |
timestamp | ISO-8601 | When the memory was created | |
source | enum | user, buddy, agent, system | |
category | string | Semantic category (e.g., code-context, preference, conversation, fact) | |
content | text | The memory content | |
embedding | vector | Semantic embedding for similarity search | |
privacy_level | enum | public, private, sensitive, ephemeral | |
retention_policy | object | When and how to expire or archive | |
tags | array | User and system tags for filtering | |
access_log | array | Record of every read access |
2. Design Temporal Indexing
Enable time-aware queries:
- Primary index:
timestampfor chronological retrieval - Secondary index:
category + timestampfor filtered temporal queries - Windowed queries: support
from/todate ranges - Relative queries: parse natural language ("last week", "yesterday morning")
- Decay scoring: older memories score lower in relevance unless pinned
Example temporal query:
3. Implement Privacy Controls
Every memory entry has a privacy level that controls access:
| Level | Who Can Access | Auto-Expiry | Shareable | |
|---|---|---|---|---|
public | Any Heady agent | Never | Yes | |
private | User + Buddy only | Configurable | No | |
sensitive | User only (Buddy needs approval) | 30 days default | No | |
ephemeral | Current session only | End of session | No |
User controls:
- View all memories by category, time, or privacy level
- Redact specific memories (replaces content, keeps metadata shell)
- Bulk delete by time range, category, or tag
- Export personal data (GDPR-style data portability)
- Set default privacy level for new memories
4. Define Retention Policies
Archival behavior:
- Archived memories are moved to cold storage
- They remain searchable but with higher latency
- Archived memories do not count against active memory limits
5. Design Memory Access Logging
Every access to the ledger is logged:
6. Plan Memory Lifecycle
- New memories are immediately indexed (embedding + temporal + category)
- Active memories are available for fast retrieval
- Retention policy triggers move memories to archive, redact, or delete
- Users can pin memories to prevent automatic expiry
Output Format
When designing or extending the Memory Ledger, produce:
- Schema definition with field types and constraints
- Retention policy configuration
- Privacy control matrix
- Temporal query examples
- Access logging specification
- Migration plan (if modifying existing schema)
Tips
- Append-only by default — treat the ledger as an immutable log; deletes are soft (redaction) unless user explicitly purges
- Privacy is non-negotiable — never expose sensitive memories without explicit user consent
- Temporal context is powerful — "what was I doing when X happened?" is a killer query; make it fast
- Embeddings enable semantic recall — combine temporal filtering with vector similarity for best results
- Keep the access log honest — it is the audit trail for memory governance
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingheady-skills/heady-memory-ledger-design/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/headysystems/heady-testing/heady-memory-ledger-design)