Persona memory
Build and operate a persistent persona and memory framework for Claude Code. Use when setting up personality.md injection, durable memory blocks in ~/.ai-memory, session start/end memory workflows, recall/remember/consolidate scripts, or packaging a distributable memory skill profile.From its SKILL.md
npx -y skills add fairchild/dotclaude --skill persona-memoryAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as Apache-2.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
2.8 KB, as published. Nobody here has run it
Persona Memory
General memory framework for teammate-style agents.
Related: For teammate-level memory see team-memory.
This skill is framework-first: any specific persona (for example Bertram) should be implemented as a profile by providing personality.md and using the shared memory store.
Healthy Experimental Scope
- Local-first memory store in
~/.ai-memory. - Personality/profile loading via launcher and appended prompt context.
- Scripted remember/recall/consolidate/session lifecycle hooks.
- Deterministic + live-smoke test harness and curation dashboard.
Not Yet Implemented
- Continuous background memory agents (always-on consolidation/recall loops).
- Autonomous cross-project relationship learning and long-horizon planning.
- Production-stability guarantees or backward-compatibility promises.
- Full interactive Claude session integration testing in CI.
Quick Start
- Initialize memory store and defaults:
bun ~/.claude/skills/persona-memory/scripts/bootstrap.ts --install-launcher
- Launch Claude with persona-memory:
claude-persona
- Optional: set profile per shell/session:
export AI_MEMORY_PROFILE=default
What This Skill Provides
scripts/launch-claude.sh: Claude launcher wrapper that appendspersonality.mdand recall context.scripts/bootstrap.ts: Creates~/.ai-memorystructure and starter files.scripts/remember.ts: Writes candidate memory events.scripts/recall.ts: Reads memory blocks and returns relevant context.scripts/consolidate.ts: Promotes events into stable memory blocks.scripts/session-start.ts: Hook-friendly startup memory snapshot.scripts/session-end.ts: Hook-friendly sleep-time consolidation.
Runtime Data
Persistent memory root:
~/.ai-memory
Profile-based personalities:
~/.ai-memory/profiles/<profile>/personality.md
Dev Search Standard
- Prefer
rg/rg --filesfor codebase search and file discovery. - Use
greponly when strict POSIX portability is required.
Hook Setup
Read:
references/hook-setup.md
Add hooks to your ~/.claude/settings.json for session lifecycle automation.
References
references/personality-contract.mdreferences/memory-schema.mdreferences/scoring-and-promotion.mdreferences/hook-setup.mdreferences/TESTING.md