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".
From context-keepernpx claudepluginhub jenningsloy318/claude-skill-artifacts --plugin context-keeperThis skill uses the workspace's default tool permissions.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Optimizes cloud costs on AWS, Azure, GCP via rightsizing, tagging strategies, reserved instances, spot usage, and spending analysis. Use for expense reduction and governance.
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]