git

git is a command for Claude Code from SuperClaude-Org/SuperClaude_Framework. It costs 11 tokens per session (494 once invoked), scanned A, original, MIT.

A command for working with Git, the version-control system used to track code changes and collaborate through branches and repositories.

In plain words
What is it for?
Use it to inspect status, add changes, commit, push, pull, create or manage branches, generate commit messages, and handle merge conflicts with guidance.
Why use it?
It checks the repository state before actions and helps keep commits, branches, merges, and conflict resolution organized.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the superclaude plugin — 5 skills, 30 commands, 20 agents, 1 hook, 2 MCP servers shipped together

Good fit Use it to inspect status, add changes, commit, push, pull, create or manage branches, generate commit messages, and handle merge conflicts with guidance.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/superclaude-org/superclaude_framework/git
About the project

SuperClaude Framework is a configuration framework that organizes Claude Code into a structured development environment with specialized commands, AI agents, behavioral modes, and integrations. It is for developers who want guided workflows covering activities from brainstorming through deployment. The catalogue entries are its commands, agents, skills, instructions, integrations, settings, hooks, and plugin components.

SuperClaude-Org/SuperClaude_Framework · 23,905 stars · on GitHub · superclaude.netlify.app

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/SuperClaude-Org/SuperClaude_Framework

Made for: Claude Code.

Or install superclaude, the plugin that ships this one along with the rest of its 5 skills, 30 commands, 20 agents, 1 hook, 2 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for git

README.md
[![agentmods](https://agentmods.dev/badge/commands/superclaude-org/superclaude_framework/git/github.svg)](https://agentmods.dev/commands/superclaude-org/superclaude_framework/git)
Your own site
<a href="https://agentmods.dev/commands/superclaude-org/superclaude_framework/git"><img src="https://agentmods.dev/badge/commands/superclaude-org/superclaude_framework/git/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for git

Your own site · 80×15
<a href="https://agentmods.dev/commands/superclaude-org/superclaude_framework/git"><img src="https://agentmods.dev/badge/commands/superclaude-org/superclaude_framework/git.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 494 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00011 $0.00494
Opus 5.5 $0.00004 $0.00198
Sonnet 5.5 $0.00002 $0.00099
Haiku 4.5 $0.00001 $0.00049

Measured 1mo ago against content hash 4bccf0abad49, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

git scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • git — 97% identical, 10 lines differ
plugins/superclaude/commands/git.md · 80 lines

How it starts

The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/sc:git - Git Operations

Triggers

  • Git repository operations: status, add, commit, push, pull, branch
  • Need for intelligent commit message generation
  • Repository workflow optimization requests
  • Branch management and merge operations

Usage

/sc:git [operation] [args] [--smart-commit] [--interactive]

Behavioral Flow

  1. Analyze: Check repository state and working directory changes
  2. Validate: Ensure operation is appropriate for current Git context
  3. Execute: Run Git command with intelligent automation
  4. Optimize: Apply smart commit messages and workflow patterns
  5. Report: Provide status and next steps guidance

Key behaviors:

  • Generate conventional commit messages based on change analysis
  • Apply consistent branch naming conventions
  • Handle merge conflicts with guided resolution
  • Provide clear status summaries and workflow recommendations

Tool Coordination

  • Bash: Git command execution and repository operations
  • Read: Repository state analysis and configuration review
  • Grep: Log parsing and status analysis
  • Write: Commit message generation and documentation

Key Patterns

  • Smart Commits: Analyze changes → generate conventional commit message
  • Status Analysis: Repository state → actionable recommendations
  • Branch Strategy: Consistent naming and workflow enforcement
  • Error Recovery: Conflict resolution and state restoration guidance

Examples

Smart Status Analysis

/sc:git status
# Analyzes repository state with change summary
# Provides next steps and workflow recommendations

Intelligent Commit

/sc:git commit --smart-commit
# Generates conventional commit message from change analysis
# Applies best practices and consistent formatting

Interactive Operations

/sc:git merge feature-branch --interactive
# Guided merge with conflict resolution assistance

Boundaries

Will:

  • Execute Git operations with intelligent automation
  • Generate conventional commit messages from change analysis
  • Provide workflow optimization and best practice guidance

Read the full file on GitHub · 80 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 80 lines · 11 tokens per session scan A 4bccf0abad49

Subscribe to this mod's changes

git is a command published in the GitHub repository SuperClaude-Org/SuperClaude_Framework (23,905 stars, last pushed 20d ago), licensed MIT. It adds 11 tokens to every session and 494 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.