ClaudeCodeMod

All shelves / Mods / Workflow

git-nudge

By nextscape

git-nudge is a Claude Code workflow mod by nextscape.

Draws a line under the prompt and a band above it when the repo falls behind upstream, keeps unpushed commits or old stashes, or stops mid-rebase.

Draws

Install

The marketplace name is nextscape-mods.

In Claude Code
/plugin install git-nudge --marketplace nextscape/ns-mods
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
0.1.0
License
MIT
Repo stars
3
Last change
2026-10-07

What it can reach

  • Draws in the session
  • Reaches the network or an outside service
  • Runs a command when you press
  • Calls another program on this machine

Claude Code 2.1.287 or later, then a new session; the author checked it on 2.1.292. git 2.29 or later; with an older git it does nothing. It watches the one repository that holds the session's working directory. It fetches from your own remotes at the start and every 5 minutes by default, never with --prune, and never shows a login prompt; after an auth failure it stops fetching for that session. It tells Claude when the state changes, with a note not to pull, rebase, push, or delete branches without you. The band shows in the terminal and the desktop app, not in the VS Code extension or claude -p. Settings are git config keys under git-nudge. The status row and the band are in Japanese, and so is the README, with an English summary at the top.

The marketplace, nextscape-mods, also lists effort-router, quality-router, and voice-notify. Git state while you work is why this page files it under workflow. git-pulse, by Singh-AP, draws the branch, ahead and behind, and dirty files on the status line. source-control, by manuel-will, draws the branch and changed files above the chat with a Sync button and a /git panel. This one speaks up only when something needs doing: a forgotten pull, commits not pushed, uncommitted changes left from before, old stashes, a rebase or merge stopped halfway, a stale index.lock, a detached HEAD, or branches whose upstream is gone. p shows only when you are behind with no changes or commits of your own, and not while Claude works; it fetches, runs git merge --ff-only @{u}, and prints the command to undo it. /git-nudge tidy deletes merged branches whose upstream is gone with git branch -d after you confirm, and it calls no model.

Demo

The status row and band section of the git-nudge README, in Japanese: the row under the prompt, main ↓3 ↑1 · 5 uncommitted · stash 2 · fetch 3 minutes ago, with the other states it shows; then the band above the prompt, 3 behind origin/main, p to pull and x to close, and when the buttons show and what p runs.
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • classic.SessionStartA Claude Code event
  • turn.startWhen Claude starts a turn
  • turn.completeWhen a turn ends
  • prompt.submitWhen you send a prompt
  • command.runWhen you run its slash command/git-nudge
  • ui.renderDraws into the sessionAbovePrompt

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Slash commands 1

  • /git-nudgegit の遅れ・置き忘れを知らせる。pull で取り込み、tidy で片付け、off / on で停止と再開

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
nextscape
Category
Workflow
Marketplace
nextscape-mods
Repo
nextscape/ns-mods
Folder
mods/git-nudge
Version
0.1.0
License
MIT
Repo stars
3
Last change
2026-10-07
Language
TypeScript
Files
16

Other mods in Workflow

cc-cmdsNharuDocks an autopilot pane with the run its status line picked: the head line, each segment, approvals and blocks with their reason, and the latest events.remindersnoash-xrcShows a count of open and blocking reminders at the top right of the prompt, and a /todos pane, for a list Claude keeps in Docs/todos.md.subagent-routernoash-xrcHolds a commandStarts Explore subagents on Haiku and general-purpose ones on Sonnet, and /orchestrate runs a big task in a pane of scouts, workers, and reviewers.widgetsoMaN-RodPlaces Claude Code Widgets' cards below the prompt, above it, or docked beside the transcript in fullscreen. Every widget in the set needs it.rea-casebookpablodiazjorgeKeeps a Casebook pane of what rea gives the agent while it reverse engineers a binary: the target, Evidence records, open unknowns, and findings.workspacepinkpixel-devOpens a Workspace pane: files marked as Claude reads and edits them, this turn's edits with diffs and revert, VS Code style git, GitHub, and your limits.live-vibepotto007Holds a commandAdds /live, full-duplex voice with Claude; /vibe, where Claude only directs worker subagents; and /livevibe, a fast voice model that hands work to Claude.qrxqrxcodesDraws each finished QRX art QR code under its tool call in the transcript: the picture, the short link it scans to, and a link to its QRX page.dossierraisedadeadHolds a commandRuns a wave of work from one resumable DOSSIER.md, with its progress on the status line, a /dossier-tasks pane, and gates that block a forbidden edit.cc-focusdeckrapha-rodriguesDraws a Focus band above the prompt with the task's steps and progress, and a pane for the model, effort, terminal themes, and a status line editor.abofles-guideSajadh92For abofles, which routes each subagent to a model and effort, draws a band of what to do next and a pane of the guide, resume, spawns, and overrides.where-were-wescarrilloTimestamps every prompt in the transcript, lists your recent prompts with their times, and recaps the previous session with its resume command.
All 396 in Workflow