save-context

Save session context into portable context-<name>.md files.

2|Updated Feb 17, 2017
One-click install
npx skills add https://github.com/John2143/dotfiles --skill save-context-john2143
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: save-context
Source: https://github.com/John2143/dotfiles/tree/main/.claude/skills/save-context
Command: npx skills add https://github.com/John2143/dotfiles --skill save-context-john2143

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides an easy way to save the current session context, including conversation history, workspace state, and decisions, into portable files for later use.

Core Features & Use Cases

  • Session Context Compression: Compresses the current session context into portable files.
  • Parallel Data Collection: Gathers git state, recent artifacts, open questions, decisions, and next steps in parallel.
  • Output File Creation: Writes a structured context-<name>.md file to the repo root and a temp copy.
  • Use Case: Ideal for developers who need to share their work context with a colleague or for resuming work on a different machine.

Quick Start

Run the command /skill:save-context to save the current session context.

Frequently Asked Questions about save-context

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I save my current session context to a file for later use?

You can save your session context by running the save command, which collects git state, recent artifacts, and decisions in parallel, compressing them into a portable markdown file at your repo root.

What is the best way to share my workspace state and decisions with a colleague?

Sharing workspace state is done by generating a structured context file that captures your git state, recent artifacts, and decisions, creating a portable snapshot for your colleague to review.

Does saving session context work with git integration and parallel processing?

Yes, saving session context leverages parallel data collection to gather git state and workspace artifacts simultaneously, integrating git operations to accurately capture your current repository status.

Can I use this session context saving tool on a different machine to resume work?

You can resume work on a different machine by loading the portable context file generated by this Skill, which contains your structured conversation history, workspace state, and next steps.

What limitations should I expect when compressing session context into portable files?

A key limitation is that generating these context files requires specific tools for file I/O, task execution, and git operations to function, meaning it needs a compatible environment to gather parallel data.