Captures and evolves user preferences with confidence levels. Maintains Voice of the Customer model with exact language, dissatisfaction and aspiration signals. Handles promotion/demotion, global vs project scoping, auto memory system, and Omi wearable data integration.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Preference And Memory?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/heymegabyte-preference-and-memory)
---
name: "preference-and-memory"
description: "Captures and evolves user preferences with confidence levels. Maintains Voice of the Customer model with exact language, dissatisfaction and aspiration signals. Handles promotion/demotion, global vs project scoping, auto memory system, and Omi wearable data integration."
license: "Rutgers"
compatibility:
agentskills: ">=1.0.0"
source: "04-preference-and-memory/SKILL.md (heymegabyte/agent-skills)"
---
<!-- GENERATED by bin/gen-codex-skills.mjs from the category's SKILL.md — do not hand-edit.
Path legend: `<agent-home>` = your AI tool's config directory
(Claude Code: ~/.claude · Codex: ~/.codex · others: see your tool's docs). -->
# 04 — Preference and Memory
Capture and evolve user preferences with confidence levels, maintaining a Voice of the Customer model scoped globally or per project.
## Auto-memory system
Persistent file-based memory at `<agent-home>/projects/<encoded-path>/memory/`. Write directly via Write tool.
## Memory types
- **user** — role, goals, responsibilities, knowledge
- **feedback** — guidance on how to approach work (corrections AND confirmations)
- **project** — ongoing initiatives, bugs, incidents, who/why/when
- **reference** — pointers to external resources
## Capture triggers
- User explicitly says "remember X" / "save Y" → save immediately
- Correction ("no not that", "don't") → feedback memory
- Confirmation of unusual approach ("yes exactly", "perfect") → feedback memory
- New role / preference / responsibility detail → user memory
- Project milestone / decision / deadline → project memory
- External system reference ("check the Linear project X") → reference memory
## Memory file format
```markdown
---
name: {short-kebab-case-slug}
description: {one-line summary — used for relevance ranking}
metadata:
type: {user | feedback | project | reference}
---
{memory content}
```
For feedback/project: lead with rule/fact, then `**Why:**` line + `**How to apply:**` line.
## Memory routing
- **Universal (across all projects)** → `<agent-home>/`
- **Project-specific** → `./.claude/` (path-scoped)
- **Project memory file** → `<agent-home>/projects/<encoded-path>/memory/<name>.md` + index in `MEMORY.md`
## MEMORY.md index
One-line pointer per file:
```md
- [Title](file.md) — one-line hook
```
Keep under 200 lines (lines after 200 truncated).
## Confidence levels
- 0.95-1.0 — directly stated by Brian
- 0.85-0.95 — strongly implied by pattern (3+ confirmations)
- 0.70-0.85 — inferred from one signal
- <0.70 — speculative, verify before acting
Below 0.70 → ask `AskUserQuestion` before persisting.
## Voice of the Customer model
- Exact language Brian uses ("pick ONE", "Hey not Hi", "always find 50 more things")
- Dissatisfaction signals (corrections, re-issued prompts)
- Aspiration signals (stated goals, ideal-world descriptions)
- Stylistic preferences (brevity, sharpness, no preamble)
## Brian's preferences (cite from `rules/brian-preferences.md`)
- Pick ONE, never options
- Never ask permission, silence = approval
- "Hey" not "Hi", no preamble
- Code complete, never truncate
- Priority: simplicity > cost > speed > compatibility
- Open-source only
- Side repos auto-push; emdash projects user-push
## Promotion / demotion
- Memory recurring across 3+ projects → promote to rule (`<agent-home>/plugins/heymegabyte-agent-skills/rules/`)
- Rule contradicted by repeated correction → demote to memory or remove
- Per `rules/prompt-as-training-signal.md`
## Stale memory
- Memory describing now-incorrect facts (renamed function, removed flag, retired service) → update OR delete
- Per `rules/prompt-as-training-signal.md` § Before recommending from memory
## Omi wearable integration (future)
- Capture Brian's voice notes as candidate memory entries
- Auto-tag by inferred type
- Surface for review before commit
- Path: `<agent-home>/_omi-inbox/<timestamp>.md`
## Capture protocol
Use the scoped learning router for durable capture. General procedures belong in canonical skills, project facts in project documentation, and explicit or sufficiently confident inferred preferences in the scoped preference store. Every write carries provenance, confidence, and source revision; corrections update only the exact destination, scope, project, and key. Never persist secrets, private context, or unresolved consequential assumptions.
Behavioral tasks carry documentation and learning as concurrent worker-brief responsibilities. Close each with a typed updated or verified-no-change receipt; a behavioral verification receipt alone is insufficient. The executable receipt contract lives in `bin/documentation-learning-responsibilities.ts` and must not be restated here.
## Prompt Hydration learning handoff
Consume `assumptionLedger` and correction scope from the stage-1 hydration artifact; do not duplicate hydration or orchestration procedure here. Persist only explicit preferences or later confirmed corrections at their recorded scope. Project facts stay in project documentation, reusable procedure stays in canonical skills, and unresolved consequential assumptions remain visible rather than becoming memory. Use evidence IDs as provenance.
## Theme.tools ecosystem contract (required)
Resolve shared memory/auth primitives through this skill's `config/theme-tools-skill-map.json` entry and the canonical `rules/theme-tools-skill-integration.md` procedure.
For material work, follow [the parallel delivery workflow](../../../rules/parallel-multi-swarm-orchestration.md).