Agentgit — Git skill for Claude Code
Turn coding agent transcripts into git repos.
How to install Agentgit
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open btucker/agentgit and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agentgit does
Turn coding agent transcripts into git repos.
Alternatives in Git
- 使用 Git Worktrees — 创建孤立的 Git worktrees,带有智能目录选择与安全验证 115.1k ★
- Git Worktree Docs Issue: Dependency Installation — GitHub — Community feedback on official docs with full worktree lifecycle walkthrough 81.1k ★
- Git Worktree Setup — Create isolated git worktrees with instant feedback and background Rust verification 25.5k ★
README
agentgit
See the context behind every line of code written by coding agents.
After a session with Claude Code or Codex, you can diff to see *what* changed—but not *why*. Which prompt triggered that refactor? What was the agent thinking when it modified that line?
agentgit transforms raw agent transcripts into a **structured transcript**—a separate git history that preserves the full story without touching your codebase.
**Each coding session becomes its own branch.** Each user prompt becomes a merge commit, with the agent's individual turns (thinking + changes) as child commits:
Your agentgit repo:
main
│
└─── session/claude-code/add-user-auth
│ │
│ ├─ [MERGE] Prompt: "Add user authentication"
│ │ ├─ Create auth.py with JWT utilities
│ │ │ Context: I'll implement JWT token generation...
│ │ ├─ Add authentication middleware
│ │ │ Context: Creating middleware to verify tokens...
│ │ └─ Update login component with auth flow
│ │ Context: Integrating the auth into the UI...
│ │
│ └─ [MERGE] Prompt: "Add password reset"
│ ├─ Create reset token generator
│ └─ Add reset email template
│
└─── session/claude-code/fix-database-bugs
│ │
│ └─ [MERGE] Prompt: "Fix connection timeout"
│ ├─ Debug connection pool settings
│ │ Context: Found the pool size was too small...
│ └─ Add retry logic with exponential backoff
│ Context: Implementing retries to handle transient failures...
│
└─── session/codex/refactor-api
│
└─ [MERGE] Prompt: "Refactor payment endpoints"
├─ Extract payment handlers to separate module
├─ Consolidate error handling
└─ Add request validation middleware
Each commit preserves the agent's reasoning and the full context:
$ agentgit log session/claude-code/add-user-auth --oneline
a1b2c3d Update login c
Related Skills
Claude Code Multimodel Workflow
v2: server-enforced merge gates for repos shared by humans and coding agents — merge-gate suite attestation, b
Paper Mine Sessions
Mine Claude session transcripts for paper material git can't show
Claude CLI Telegram
Turn your Mac/Linux into a remote Claude Code terminal via Telegram. Spawns real CLI — sessions, streaming, ap
Dsh Checkpoint Rewind
Claude Code /rewind for DeepSeek Harness — git-first workspace snapshots before every mutation, turn-boundary
Newlife
Turn a curiosity into a question that can be settled, freeze what would count as an answer before running anyt
Work Report
Generate daily/weekly work reports from git activity across multiple repos. Codex skill with scripts.
Related Agents
Doey Fallback
Focused fallback agent that resolves ambiguous doey invocations — finds local repos, plans gh repo clone / git
Workspace Sync
Use this agent when the user wants to save work, sync repos, undo changes, check history, or manage branches.
Timps Backup Sentinel
Audit backup health: Time Machine last backup time, all local git repos with uncommitted/unpushed changes, lar