ClaudeCodeMod

All shelves / Mods / Workflow

source-control

By bradtraversy

source-control is a Claude Code workflow mod by bradtraversy.

Draws a VS Code style Source Control pane beside the chat: changes by group, stage, discard, and commit, a diff for each file, and the commit graph.

Draws

Install

The marketplace name is traversy-mods.

In your shell
claude plugin marketplace add bradtraversy/traversy-claude-mods
claude plugin install source-control@traversy-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.2.0
License
MIT
Repo stars
8
Last change
2026-10-30

What it can reach

  • Draws in the session
  • Sees tool calls
  • Runs a command when you press
  • Calls another program on this machine

Restart the session or enter /reload-plugins after installing. The pane opens by itself when a session starts inside a Git repository, and /scm opens it again. It follows the session's working directory, so start the session inside the repository you want to see. It never pushes, pulls, or fetches. Commits made from the pane run without your repository's Git hooks. Opening files and diffs in VS Code works on Linux, through systemd-run; on other systems it shows a message that VS Code could not be opened. A diff over 100,000 characters is too large to draw and offers Open in VS Code. The Show diffs in setting (diff_view) is pane by default, or vscode. File icons come from the vscode-icons theme on the desktop, and the terminal uses letter codes. Very long change lists show their first 300 files per group.

The install name is source-control, which source-control already has (by manuel-will), so this page adds the author's name. The marketplace name is traversy-mods. The marketplace also holds session-hud, tool-cards, and next-steps. Working with a repository's changes without leaving the session is why this page files it under workflow. source-control, by manuel-will, draws the branch, commits to pull and push, and changed files above the chat with a Sync button and a /git panel. git-pulse, by Singh-AP, draws the branch, ahead and behind, and dirty files on the status line. This one is modeled on VS Code's Source Control view: a pane with Merge Changes, Staged Changes, and Changes groups with counts and status letters, a commit message box that commits on Enter, a diff for each file in a pane of its own or in VS Code, and a commit graph with the current branch and its upstream labeled, 50 commits at first and Load More for 50 more. Clicking a commit lists its files, and clicking one shows what the commit changed in it. The README says the pane asks inline before a discard, says when the discard deletes an untracked file, and never pushes, pulls, or fetches.

Demo

The author's screenshot of the Source Control pane: the CHANGES header with the branch chore/release-1.14.0 and a count of 4, a commit message box with a Commit button, four modified files (CHANGELOG.md, README.md, README.md and package.json under packages/create-ai-blueprint), then the GRAPH of commits with the branch label on the latest one, one commit opened to list its changed files, and merge lines with colored branch lanes. The repository, branch and commit titles are the author's.
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • command.runWhen you run its slash command/scm
  • tool.callAround a tool call, where it can hold one
  • turn.completeWhen a turn ends
  • ui.closeWhen its pane closes
  • ui.renderDraws into the sessionPane

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

Slash commands 1

  • /scmOpen the Source Control pane

Files

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

Facts

Author
bradtraversy
Category
Workflow
Marketplace
traversy-mods
Repo
bradtraversy/traversy-claude-mods
Folder
source-control
Version
0.2.0
License
MIT
Repo stars
8
Last change
2026-10-30
Language
TypeScript
Files
14

Other mods in Workflow

grillerbengousHides Claude's recommended answer to each interview question until you peek, collects your answers in a Grill pane, and sends them back as your next message.session-cleanupdougcunhaLists the files a session created and the Git items it left in a /cleanup pane, then moves the files you pick to the trash and hands the Git items to Claude.superpowers-progressnextscapeDraws a pane beside the chat for a Superpowers run: the plan's title, the workflow stage, the current task and step, a progress bar, and the ledger's rulings.mazyosMazzeo-MarketingHolds a commandPuts a business's memory files in every session, draws a side panel and a status line for them, and asks before git push --force or git reset --hard.podium-reportereengelkingReports each session's model, context, cost, and failures to a Podium console, and draws a status line under the prompt with the live session count.hivehouseCleveland-RDHolds a commandDraws the hub screen for a team of Claude sessions in tmux, and refuses Edit, Write, and git commands that change a repository in the hub session.better-memoryxobotyiHolds a commandRefuses the agent's writes to the memory folder except through its own save tool, which needs an anchor from the session, and clears stale entries when idle.llx-deskrsaryevOpens browser pages and terminals in a window you watch, draws a pane of its tabs, and sends the comments you make in the window to Claude as messages.scrubjay-uihenba1Draws named rows for scrubjay's archive lookups, live sync steps above the prompt, and its /sj commands in blue, for sessions kept on every machine you own.agentworksmanishiitgDraws incoming AgentWorks messages as a short preview with the sending agent's name, the person's name for a shared sender, and the network it came through.coder-workspace-statuscoderDraws the Coder workspace Claude Code runs in above the prompt: health, startup scripts, autostop, repositories, and ports, with a full card from a command.apiariusyusuflkqDraws a live deck of every agent and subagent in the session, in the Desktop side pane, the terminal, or a browser tab, and an agents band above the prompt.
All 396 in Workflow