Agent skill
session-memory
Mandatory memory persistence system across session resets using three markdown surfaces in .claude/cc10x/. Iron law - every workflow must load at start and update at end.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/session-memory-a5c-ai-babysitter-2
SKILL.md
Session Memory
Overview
Persistent memory system that survives Claude Code's message compaction. Uses three markdown files in .claude/cc10x/ as a permission-free database for continuity, consistency, and pattern compounding.
Memory Surfaces
- activeContext.md -- Current focus, decisions, learnings, next steps, blockers
- patterns.md -- Project conventions, architecture decisions, common gotchas, reusable solutions
- progress.md -- Task completion tracking with verification evidence
Iron Law
EVERY WORKFLOW MUST:
- LOAD memory at START (and before key decisions)
- UPDATE memory at END (and after learnings/decisions)
Stable Edit Anchors
Safe section headers for Edit operations:
- activeContext:
## Recent Changes,## Learnings,## References - patterns:
## Common Gotchas,## Project SKILL_HINTS - progress:
## Completed,## Verification
Read-Edit-Verify Pattern
- Read file
- Verify anchor exists
- Edit with exact
old_string - Read back to confirm
Tool Rules
- Use
Write()for NEW files (permission-free) - Use
Edit()for EXISTING files (permission-free) - Never use
Write()to overwrite existing files - Never compound commands (
mkdir && cat)
When to Use
- At the start of every CC10X workflow (load)
- At the end of every CC10X workflow (update)
- Before making key decisions (check patterns)
- After discovering learnings or gotchas (persist)
Agents Used
All CC10X agents use this skill. The cc10x-router manages load/update lifecycle.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?