cogit
Health Uyari
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 9 GitHub stars
Code Gecti
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
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.
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.
It runs as a Claude Code plugin and works through Claude Code hooks, so the record is written
while you work, not reconstructed from the diff afterwards.
Your sessions as a git graph — one row per message, the decision behind it, and where you left
off.
A message that landed commits opens as Intent, Shape and Code: why it happened, a picture of
what the change does, and the diff.
Tasks — what your sessions left undone, drafted when a session closes. You accept, dismiss or
close each one.
A changed file opens its history: every message that touched it, and the reason behind each —
including the option that was rejected.
Click through a saved map — no install, no server:
the same page cogit open writes, built from sample data. Read-only, so the Tasks buttons are
inert.
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 <sha>,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. - Tasks: 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 changed most. - The agent remembers: a new session starts where the last one left off, and before
editing a file the agent hears what was already tried and rejected there. - Cheap by default: a small side model records in the background; in our sessions it
cost about 1–2% of a session's tokens. - No server, no account: it runs on your machine. Your chats are not committed. The record
(titles, decisions and reasons) is, so it travels with your branch;cogit initlets you keep
it local instead. Key and token patterns are redacted.
Why
I've been building with coding agents for about two years, and the whole time I felt something
was slipping away. When you write code yourself, it sinks in bit by bit: you know why that table
exists and why you wrote that class. When an agent writes it, that feeling goes away.
The information isn't really gone. It sits in your messages, the agent's replies and your commits,
just in separate places. cogit ties them together, so you can always walk back and see why
something was done. It helps most when you juggle projects: I run 5-10 agents at once across 2-3
of them, and a few minutes later I can lose track of what I did where.
The problem is bigger than one person's memory. In a working paper on 718 firms, agents brought
23% more pull requests and 49% longer time to merge, with no significant rise in finished work.
A reviewer sees what changed, not why. More, with sources.
Install
You need Node 22.13+, Claude Code 2.1.275+ and a git repository.
npm install -g @cogit/cli
Then, in Claude Code:
/plugin install cogit --marketplace erensrtky/cogit
To get plugin updates on their own, turn on auto-update once: /plugin → Marketplaces →
cogit → Enable auto-update. Claude Code leaves it off for marketplaces outside its own.
If the map stays empty, run cogit doctor.
Quick start
cd your-project
cogit init # a few questions: git, transcript retention, team setup, language
Work with Claude Code as usual; recording needs nothing from you. Then open the map:
cogit open .
Guide
- Getting started: what
initasks, your first session,
setting up a team - The map: sessions, branches, the inbox, files, search,
resuming and forking a session - Reading the lineage:
log,show,blame,why,search - Pull requests:
cogit pr - Teams and git: what is committed, the trailer, the hooks
- Recording and cost: who writes the record, what it
costs - Privacy: what is recorded and what never leaves your machine
- Settings: every setting, explained
- Troubleshooting
- Why cogit: AI made code faster and review slower
The record format is in docs/format.md.
Licence
MIT — see LICENSE.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi