persona-memory
Persona Memory
General memory framework for teammate-style agents.
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.
Current Scope (Experimental)
- 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
More from fairchild/dotclaude
skills-manager
Use when the user wants to list, search, install, remove, inspect, validate, audit,
22youtube-content
Extract and analyze YouTube video content (transcripts + metadata). Use when the user explicitly requests to analyze, summarize, extract wisdom from, or get context from a YouTube video. Supports wisdom extraction, summary, Q&A prep, key quotes, and custom analysis. Does NOT auto-trigger on YouTube URLs - only when analysis is explicitly requested.
21backlog
Capture explored work as a backlog item for future implementation. Use when you've explored an enhancement, alternative approach, or feature but decided to defer it. Creates comprehensive plan files in backlog/ directory with enough context for a future session to execute efficiently.
20update-dependencies
Smart dependency updates across ecosystems (npm/bun/pnpm, uv/poetry, cargo). Use when upgrading dependencies, fixing vulnerabilities, or performing proactive maintenance. Supports intelligent batching, risk assessment, and outcome tracking for continuous improvement.
16image-gen
Generate images using AI APIs (OpenAI gpt-image-1, Google Imagen 4, Nano Banana Pro, fal.ai Flux). Use when user asks to generate, create, or make an image.
16fork
Fork the current session with context carried over. Use `/fork <branch>` for a new worktree or `/fork --local` for a new session in the current directory.
10