context-dump

Produces durable session summariesCapturing complete Git and metadata for every transaction in your system.

1|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/FrogAi/Xenopus --skill context-dump-frogai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-dump
Source: https://github.com/FrogAi/Xenopus/tree/main/Gemini/Skills/Gemini%203.1%20Pro/context-dump
Command: npx skills add https://github.com/FrogAi/Xenopus --skill context-dump-frogai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Capture the complete context of a Claude session and persist it to disk, enabling reliable continuation after context compaction or session handoff.

Core Features & Use Cases

  • Record session reads and edits with exact line ranges and diffs.
  • Log tool invocations, outcomes, decisions, open questions, constraints, and assumptions for auditability.
  • Snapshot session goal, Git state, and working directory to enable precise handoffs and post-mortem analysis.
  • Output a structured YAML file plus a human-readable Markdown report at $HOME/.claude/context-dumps/<timestamp>.md. Modes: compact for quick summaries or verbose for full captures.

Quick Start

Invoke before ending a session or handing off to capture a durable state snapshot on disk.

Frequently Asked Questions about context-dump

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

FAQPage Schema
How do I preserve Claude session state for handoffs after context compaction?

To preserve Claude session state for handoffs, capture the complete context including reads, edits, tool outcomes, and decisions, persisting it to disk as structured YAML output and a human-readable Markdown report for reliable continuation.

What is the best way to log Claude session tool invocations and decisions for auditability?

Logging Claude session tool invocations and decisions for auditability involves recording exact line ranges, diffs, outcomes, open questions, constraints, and assumptions throughout the session lifetime, then outputting a durable state snapshot on disk.

Can I snapshot Git state and working directory alongside session edits before ending a session?

Yes, you can snapshot Git state and working directory alongside session edits. The session state capture records session goals, Git state, and working directory to enable precise handoffs and post-mortem analysis.

Does Claude session state persistence output structured YAML for automated processing?

Claude session state persistence outputs structured YAML for automated processing alongside a human-readable Markdown view. It provides compact summaries for quick reviews or verbose modes for full captures.

Are file permissions and sensitive data redaction handled when dumping session context to disk?

File permissions and sensitive data redaction are handled when dumping session context to disk. The state capture applies secure file permissions and redaction to the YAML and Markdown outputs stored in the designated context dumps directory.

When should I not use a full context dump for a Claude session handoff?

You should avoid using a full context dump when a compact summary suffices. The verbose mode captures everything including exact diffs and full tool outcomes, but a compact mode provides quick summaries better suited for lightweight handoffs.