What is git-file-tree?
git-file-tree is a Claude Code mod by CosminBd that a git pane for Claude Code: review what Claude changed (per prompt, uncommitted or the whole branch), read diffs and rendered Markdown, then stage, commit, push and open a PR without. It is listed under Git & CI and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | CosminBd |
| Repository | CosminBd/claude-git-file-tree |
| Popularity | no public popularity data yet |
| Category | Git & CI |
| Security | Review before installing (60/100) |
| Rank | #2,942 of 5,272 Claude Code mods; #220 in Git & CI |
| License | MIT |
| Last commit | 2026-10-13 |
| Hooks | 6 events |
| Sees | every prompt, every tool call |
| Draws on | Pane, SessionMode |
Is git-file-tree safe to install?
git-file-tree scores 60/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; writes files or config; watches every prompt or event. It passed 4 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes files or config | Review |
| Doesn't read environment variables | Pass |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.agent.list | |
$.clock.every | |
$.clock.now | |
$.command.register | |
$.config.list | |
$.fs.read | reads files |
$.fs.stat | reads files |
$.fs.write | writes files |
$.model.fork | drives Claude |
$.process.run | runs processes |
$.prompt.fill | writes the prompt box |
$.prompt.read | |
$.session.cwd | |
$.state.get | |
$.state.set | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.close | draws interface |
$.ui.copy | draws interface |
$.ui.focus | draws interface |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.scroll | draws interface |
$.ui.selection | draws interface |
$.ui.toast | draws interface |
How do I install git-file-tree?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/CosminBd/claude-git-file-tree claude plugin validate ./claude-git-file-tree/.
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add CosminBd/claude-git-file-tree && claude plugin install git-file-tree@claude-git-file-tree
Or ask Claude to set it up
Paste this into Claude Code and it installs git-file-tree for you:
Install the "git-file-tree" Claude Code mod from https://github.com/CosminBd/claude-git-file-tree. Run claude plugin validate on it first and show me what it can access before you enable it.