git

A set of 12 commands for Git version control and continuous integration. Git tracks changes and branches in code, while CI automatically runs project checks.

In plain words
What is it for?
Creating and managing worktrees and branches, synchronizing or cleaning repositories, summarizing Git activity, detecting CI needs, generating GitHub Actions workflows, and validating existing workflows.
Why use it?
It helps with common repository maintenance and with creating or checking automated GitHub Actions workflows. Git worktrees also allow separate working directories for parallel branches.

Command

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.

agentmods
npx agentmods add commands/data-wise/claude-plugins/git
Clone the repo
git clone --depth 1 https://github.com/Data-Wise/claude-plugins
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 249 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00249
Opus 5 $0.00000 $0.00125
Sonnet 5 $0.00000 $0.00050
Haiku 4.5 $0.00000 $0.00025

Measured yesterday against content hash 8737dec90616, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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.

craft/docs/commands/git.md · 59 lines

What it actually says

Git & CI Commands

Version control and continuous integration - 12 commands total.

Git Commands (9)

/craft:git:worktree

Purpose: Parallel development with git worktrees.

/craft:git:worktree add feature-auth
/craft:git:worktree list
/craft:git:worktree remove feature-auth

/craft:git:sync

Smart git sync (fetch, merge, push)

/craft:git:clean

Clean merged branches

/craft:git:recap

Activity summary

Other Git Commands

  • /craft:git:branch - Branch management
  • Git guides: refcard, undo-guide, safety-rails, learning-guide

CI Commands (3)

/craft:ci:detect

Smart detection of project type, build tools, and CI requirements

/craft:ci:detect

/craft:ci:generate

Generate GitHub Actions workflow from detection

/craft:ci:generate

/craft:ci:validate

Validate existing CI workflow against project configuration

/craft:ci:validate
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. yesterday First seen · 59 lines · 0 tokens per session scan A 8737dec90616

Subscribe to this mod's changes

git is a command published in the GitHub repository Data-Wise/claude-plugins (7 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 249 tokens. 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-31.