What is git-context?
git-context is a Claude Code mod by void2610 that 会話の最初のメッセージに現在ブランチ・git status・main からの差分コミットを注入する. It is listed under Context & memory and has 1 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | void2610 |
| Repository | void2610/dotfiles |
| Popularity | 1 GitHub stars |
| Category | Context & memory |
| Security | Low risk (84/100) |
| Rank | #2,379 of 5,272 Claude Code mods; #230 in Context & memory |
| Last commit | 2026-10-17 |
| Hooks | 1 events |
| Sees | the system prompt |
| Draws on | nothing |
Is git-context safe to install?
git-context scores 84/100 on the MCPMods security check: Low risk. Things to review: starts processes outside the sandbox. It passed 6 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 no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.process.run | runs processes |
How do I install git-context?
- 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/void2610/dotfiles claude plugin validate ./dotfiles/.claude/mods/git-context
- Install it. Run this in your terminal, then /reload-plugins in an open session.
git clone https://github.com/void2610/dotfiles && claude --plugin-dir ./dotfiles/.claude/mods/git-context
Or ask Claude to set it up
Paste this into Claude Code and it installs git-context for you:
Install the "git-context" Claude Code mod from https://github.com/void2610/dotfiles/tree/main/.claude/mods/git-context. Run claude plugin validate on it first and show me what it can access before you enable it.
More from void2610/dotfiles
This repository has at least 9 Claude Code mods on MCPMods.
- artifact-archive: 一時ディレクトリ (tmp/scratchpad) からの Artifact publish を拒否し ~/Documents/claude-artifacts への保存へ誘導する (Low risk)
- guards: dotfiles のガード群 (git 操作のスキル強制・ブランチロック・コメント規約・文脈注入)。機能ごとに hooks/ 配下の 1 ファイル (Review before installing)
- ntfy-notify: メインループのターン完了を notify.sh 経由で ntfy.sh へプッシュ通知する (Review before installing)
- nvim-title-state: nvim の内蔵ターミナルで動く Claude の状態を親 nvim のタブタイトルへ通知する (Review before installing)
- pr-watch: 現在ブランチの OPEN PR を常駐監視し、CI fail / Copilot レビュー到着でセッションを起こす (pr-create の background スクリプト置き換え) (Review before installing)
- scratchpad-open: 現セッションの scratchpad を Finder で開くボタンと /scratchpad コマンド (Review before installing)
- ship-hud: ship フローの状態機械をペインで可視化する。/ship-hud でトグル、進行中フローがあれば自動で開く。モデル向けに status ツールも提供 (Review before installing)
- turn-timer: 各ターンの所要時間とトークン消費をトーストで表示する (Low risk)