checkpointing

Parse CLI logs and update agent configuration files with session checkpoints.

Updated May 29, 2021
One-click install
npx skills add https://github.com/hikch/dotfiles --skill checkpointing-hikch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: checkpointing
Source: https://github.com/hikch/dotfiles/tree/main/.claude/skills/checkpointing
Command: npx skills add https://github.com/hikch/dotfiles --skill checkpointing-hikch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates saving session activity from CLI logs into agent configurations and checkpoint records to enable review, analysis, and skill discovery across multiple agents.

Core Features & Use Cases

  • Session history updates CLAUDE.md, .codex/AGENTS.md, and .gemini/GEMINI.md with daily CLI consultation history.
  • Full checkpoint generation captures git commits, file changes, and CLI tool consultations into .claude/checkpoints/.
  • Skill analysis readiness: prepares data for extracting reusable patterns and proposing new skills to automate workflows.

Quick Start

Run python checkpoint.py to update session history in agent contexts and create checkpoints.

Frequently Asked Questions about checkpointing

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

FAQPage Schema
How do I save session history from CLI logs into agent configurations?

You can save session history by running a script that parses .claude/logs/cli-tools.jsonl and updates CLAUDE.md, .codex/AGENTS.md, and .gemini/GEMINI.md with your daily CLI consultation records.

What is the best way to create git checkpoints that capture file changes and agent consultations?

Creating git checkpoints involves aggregating git commits, file changes, and CLI tool consultations into structured checkpoint records stored within the .claude/checkpoints directory for review.

Can I aggregate session histories across multiple agents like Codex, Gemini, and Claude?

Yes, you can aggregate consultations across multiple agents by collecting CLI logs and updating the respective agent configuration files for Claude, Codex, and Gemini simultaneously.

How do I prepare session data for extracting reusable skills and automating workflows?

You prepare session data for skill extraction by generating full checkpoints that capture git history and CLI tool consultations, making the aggregated data ready for pattern analysis.

Does this checkpointing approach work for both daily project work and full git-change summaries?

Yes, this checkpointing approach applies to both daily project work and full git-change summaries by collecting per-date session histories and aggregating them into comprehensive records.

Do I need any specific dependencies to parse cli-tools.jsonl and update agent contexts?

No external dependencies are required to parse cli-tools.jsonl and update agent contexts, as the implementation operates independently using standard Python execution.