Cogit — Git skill for Claude Code
Git remembers what changed.
How to install Cogit
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open erensrtky/cogit and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Cogit does
Git remembers what changed. cogit remembers why. A Claude Code plugin that records every message you send as a thought commit and links your commits to the decisions behind them.
Alternatives in Git
- Commit Msg — 生成 Git Commit Message 1k ★
- Husky — by evmts - Sets up and manages Husky Git hooks by configuring pre-commit hooks, establishing commit message st 440 ★
- Quick Commit — Stage all changes and commit with a descriptive message 353 ★
README
cogit
Git remembers what changed. cogit remembers why.

Cogito, ergo commit.
cogit records every message you send to an AI coding agent as a *thought commit*: what you asked, what came of it, and the message it answered. Your code commits point back to the thought behind them, so `git log` tells you what changed and cogit tells you why. It works with Claude Code today.
What it does
- Every message becomes a thought commit: the question, the outcome, the decisions with their reasons and the options that were rejected, and which earlier message it continues.
- A map of your sessions: a git graph of your conversations with branches, decisions, a "Your turn" inbox, and Resume and Fork buttons that copy the command to reopen a chat or continue it as a new one.
- Commits point back to their reason: a
Thought:trailer on each commit;cogit show,cogit blameandcogit whyfollow it back. - Intent, Shape, Code: a message that landed commits shows why it happened, a small picture of what the change does (a diagram, a before/after or interface table, an example or plain steps), and the diff, in one place.
- Captured work: when a session ends, a small model drafts a few user-level items from
what it left undone; you accept, dismiss or close them (
cogit captures, and on the map). - Pull request descriptions with the decisions:
cogit prwrites the goal, the decisions and the rejected options, never the raw chat. - Teams share the record through git: after a pull, your teammates' sessions are on the map too, with who ran them and what
Related Skills
Sentry Sweep
Sweep Sentry for this project (default last 24h), fix the urgent and frequent errors, hand over what changed a
Gs
Check changed files in git and suggest commit message.
Add Reasoning To PRs
Claude Code hook that writes a forward-only why-block (decisions, trade-offs, assumptions, limitations) into y
Commit Fast
by steadycursor - Automates git commit process by selecting the first suggested message, generating structured
Gen Commit Message
Use when user has staged changes and asks for a commit message, says "what should the commit message be", or t
Commit Message Writer
Writes a Conventional Commits message from a git diff — tight subject line plus a why-focused body.
Related Agents
Commit Craft
Expert at creating clean, logical git commits following conventional commit format. Use when user requests git
Git Hygiene Reviewer
Reviews the shape of the history and the PR meta, never the code. Atomic conventional commits, linear bisectab
Ruler Release Manager
Owns ruler's git history: commits reviewed work, writes the commit message and the Changes entry, marks the ca