agterm-win 0.45.5 · cookbook
Claude git info
Claude Code keeps the git state of its repository on a line under the session's sidebar row: branch, changed files, and commits ahead of and behind the upstream.
In agterm-win
An agterm-server session in an Ubuntu distribution, in a fresh agterm-win with the Nordic Blue Dark theme.
main ✓ clean.
test_app.py, the line shows one changed file.Set it up in WSL
In the distribution, from a copy of the recipe's folder.
$ sudo apt install jq git
$ mkdir -p ~/bin $ cp git-info.sh ~/bin/ $ chmod +x ~/bin/git-info.sh # then register it in ~/.claude/settings.json in the distribution, as the README shows
Then, from a shell in an agterm session:
$ cd ~/src/api $ claude
On Windows
- Install the hook inside the distribution, where Claude Code runs. It calls the Linux
agtermctlof agterm-server. - Claude Code was the live agent in these shots, in an agterm-server session.
The recipe, with how it works and its limits: cookbook/claude-git-info.