git

A set of commands for managing Git branches and commits around individual tasks. Git is a system that records code changes and lets developers work safely on separate versions of a project.

In plain words
What is it for?
Use it to create a task branch, commit changes, finish or merge a task branch, check task-related status, or sync with the main or development branch.
Why use it?
It keeps task work organized and makes branch names, commits, status checks, and synchronization follow one workflow.

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/funkyoz/funkyoz-plugins/git
Clone the repo
git clone --depth 1 https://github.com/FunkyOz/funkyoz-plugins
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,805 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.00009 $0.01805
Opus 5 $0.00005 $0.00903
Sonnet 5 $0.00002 $0.00361
Haiku 4.5 $0.00001 $0.00180

Measured yesterday against content hash 56b1cb9971cd, 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.

software-engineer/commands/git.md · 246 lines

How it starts

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

Git Integration Command

You are managing git workflow in alignment with the task-based development process.

Input

  • Action: {{1}}

    • branch - Create a branch for a task
    • commit - Commit changes for current task
    • finish - Complete task branch (commit, optionally merge)
    • status - Show git status relative to tasks
    • sync - Sync task branches with main/develop
  • Task Number: {{2}} (optional, defaults to current in-progress task)

Prerequisites

Verify git is initialized:

git rev-parse --is-inside-work-tree

If not a git repository, ask if user wants to initialize one.

Actions

branch - Create Task Branch

Create a new branch for working on a specific task.

Process:

  1. Identify the task (from argument or first progress task)
  2. Read task file to get title
  3. Generate branch name: task/XX-task-slug
    • Example: task/05-lexer-tokenizer
  4. Check if branch already exists
  5. Create and checkout the branch:
    git checkout -b task/XX-task-slug
    
  6. Confirm to user:

    "Created and switched to branch task/05-lexer-tokenizer Ready to work on Task 05: Lexer/Tokenizer"

Branch Naming Convention:

  • Prefix: task/
  • Task number: Zero-padded (01, 02, etc.)
  • Slug: Lowercase, hyphenated task title
  • Example: task/07-stream-reader-base

commit - Commit Task Progress

Create a comprehensive commit for the current task work.

Process:

  1. Check for uncommitted changes
  2. Identify current task (from branch name or in-progress task)
  3. Analyze changed files and diffs to understand what was modified
  4. Stage all changes (or ask user what to stage)
  5. Auto-generate comprehensive commit message:
    • Descriptive title (max 50 characters)
    • Detailed description (3-4 lines max) based on actual code changes
    • NEVER add acceptance criteria in message body
    • NEVER add author information in message body
    • NEVER add generated with/by in message body
  6. Show generated commit message to user for approval
  7. Create the commit after user approval
  8. Confirm to user

Read the full file on GitHub · 246 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. yesterday First seen · 246 lines · 9 tokens per session scan A 56b1cb9971cd

Subscribe to this mod's changes

git is a command published in the GitHub repository FunkyOz/funkyoz-plugins (2 stars, last pushed 8mo ago), licensed MIT. It adds 9 tokens to every session and 1,805 once invoked, about $0.0000 per session on Opus 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-31.