Reload previous session context from a context bundle file. Use to resume work from a previous session.
Reload previous session context from a context bundle file. Use to resume work from a previous session.
/plugin marketplace add melodic-software/claude-code-plugins/plugin install google-ecosystem@melodic-softwarebundle-pathReload previous session context from a context bundle file.
$1: Path to the context bundle JSONL fileYou are reloading context from a previous agent session to continue work.
Read the JSONL bundle file at the path specified in $1.
Each line is a JSON object with one of these formats:
{"operation": "read", "file_path": "path/to/file", "limit": 100, "offset": 0}
{"operation": "write", "file_path": "path/to/file", "content_length": 500}
{"operation": "prompt", "prompt": "truncated user prompt..."}
Extract and analyze:
For each unique file, determine optimal read parameters:
Deduplication Rules:
Read each unique file ONLY ONCE with optimal parameters:
For each file in deduplicated list:
- Read with determined parameters
- Note what was loaded
Based on user prompts and file operations, construct understanding of:
Report context restoration:
## Context Bundle Loaded
**Bundle:** [filename]
**Session:** [session_id if available]
### Previous Work Summary
Based on prompts and file operations, the previous agent was:
[Summary of work done]
### Files Restored
| File | Access Count | Loaded |
| --- | --- | --- |
| file1.ts | 5 | Full |
| file2.md | 2 | Full |
| file3.py | 1 | Partial (lines 1-100) |
### Context Restored
- **Files loaded:** [count]
- **Estimated tokens:** [estimate]
- **Work continuity:** [assessment]
### Ready to Continue
[What you're now prepared to do based on restored context]
### Gaps Identified
[Any context that couldn't be restored or may be stale]