Skip to content

Shift Log

Save coding agents' conversations in Git Notes, automatically

Install: git clone https://github.com/re-cinq/shift-log

Works with Claude Code, Codex, Gemini CLI, GitHub Copilot, OpenCode · 49 GitHub stars

Install

$git clone https://github.com/re-cinq/shift-log

Install command taken from the project's README or registry entry. Always review code before running it.

Shift Log

Save, view, and search coding agent conversation history, persisted as Git Notes.

Install

curl -fsSL https://raw.githubusercontent.com/re-cinq/shift-log/master/scripts/install.sh | bash
# ...In a Git repo
shiftlog init --agent=

Where `` is claude (default), codex, copilot, gemini, or opencode.

Now work with your coding agent as you would normally. Whenever you or the agent commit, the conversation since the last commit will be attached to that commit as a Git Note.

Supported Agents

Agent Init command How it hooks in
Claude Code shiftlog init (default) .claude/settings.json hooks
Codex CLI shiftlog init --agent=codex Post-commit git hook
Copilot CLI shiftlog init --agent=copilot .github/hooks/shiftlog.json hook
Gemini CLI shiftlog init --agent=gemini .gemini/settings.json hooks
OpenCode shiftlog init --agent=opencode .opencode/plugins/shiftlog.js plugin

Usage

See what conversations you have:

shiftlog list

Search through past conversations:

shiftlog search "authentication"          # Text search
shiftlog search --agent claude --branch main  # Filter by metadata
shiftlog search "jwt" --regex --context 2     # Regex with context lines

Get a quick summary of a conversation:

shiftlog summarise        # Summarise HEAD conversation
shiftlog tldr HEAD~1      # Alias, works the same way
shiftlog tldr --focus="security"  # Prioritise security-related changes

Resume a past session:

shiftlog resume abc123    # By commit SHA
shiftlog resume HEAD~3    # By git ref

View in your browser:

shiftlog serve

Pull down conversations from a repo you cloned:

shiftlog sync pull

shiftlog vs Entire

Entire shiftlog
Funding $60M seed round Claude Code Max plan ($200/mo)
Staffing 12 engineers An imbecile spec-driving while not really paying attention
Agents Claude Code, Gemini CLI Claude Code, Codex CLI, Copilot CLI, Gemini CLI, OpenCode
Storage Custom checkpoints format Standard Git Notes
Resume sessions No Yes
Web viewer No Yes
Rebase support No Yes
Open source Yes Yes

Why?

In order to understand how and why a commit was made, we need to see the conversation that led to it.

How It Works

Similar plugs

Orca is the ADE for working with a fleet of parallel agents. Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

PluginDev tools+6,803 this week

CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies

Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro…

Explore related