From context-keeper
Manage saved context memories. Use when user wants to list, load, search, or manage saved context memories. Triggers on phrases like "list contexts", "show memories", "load context", "what contexts", "previous work", "context history", "what did we work on".
How this skill is triggered — by the user, by Claude, or both
Slash command
/context-keeper:context-managerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Manage context memories created by the PreCompact hook.
Manage context memories created by the PreCompact hook.
Use this skill when user:
Context memories are stored in the project's .claude/memories/ directory:
.claude/memories/
├── index.json # Global index of all memories
└── {context_id}/
├── {timestamp}/
│ ├── memory.json # Memory stored as JSON
│ └── metadata.json # Machine-readable metadata
└── latest -> {timestamp} # Symlink to most recent
Read .claude/memories/index.json and present available contexts.
Output format:
## Available Context Summaries
| # | Context ID | Date | Trigger | Files Modified |
|---|------------|------|---------|----------------|
| 1 | abc123... | 2025-11-23 19:04 | auto | 15 |
| 2 | def456... | 2025-11-22 14:30 | manual | 3 |
Total: 2 contexts stored
Load a specific context memory and optionally inject into conversation.
Steps:
.claude/memories/{id}/{timestamp}/memory.md.claude/memories/{id}/{timestamp}/metadata.jsonContext injection format:
<previous-context>
[Summary content here]
</previous-context>
Search through memories by keyword or topic.
Steps:
Provide overview of stored contexts.
Output:
## Context Summary Statistics
- Total contexts: 15
- Total compactions: 23
- Most active project: /path/to/project
- Most common topics: #api, #authentication, #bugfix
- Storage used: ~2.3 MB
Use these tools to implement actions:
.claude/memories/**/*.md/compact to create your first memory."This skill reads data created by the PreCompact hook, which is automatically registered when the plugin is installed. No manual configuration required.
Index.json structure:
{
"memories": [
{
"context_id": "abc123...",
"timestamp": "20251123_190448",
"created_at": "2025-11-23T19:04:48Z",
"trigger": "auto",
"project": "/path/to/project",
"files_modified": ["file1.py", "file2.ts"],
"message_count": 150,
"memory_path": "abc123.../20251123_190448/memory.md"
}
],
"last_context": "abc123..."
}
User: "What contexts do I have?" Response: [List contexts table]
User: "Load the most recent context" Response: [Show memory, ask about context injection]
User: "Find contexts about authentication" Response: [Search and show matching contexts]
User: "How many memories are stored?" Response: [Show statistics]
npx claudepluginhub jenningsloy318/claude-skill-artifacts --plugin context-keeperPersistently stores and retrieves cross-session context via MCP server. Search prior work, ingest meeting notes, and get synthesized summaries of identity, projects, and priorities.
Lists loaded memory files and scans disk for available memory context (schema, daily logs, registers, archive) in Claude Code sessions. Highlights gaps and suggests actions.
Recalls project context via ctx CLI: loads context packet, reads TASKS.md/DECISIONS.md, lists recent sessions, presents structured readback of last session, active tasks, recent decisions, next steps. For memory questions or session starts.