git-helper

git-helper is a skill for Claude Code, Codex from joshuadavidthomas/opencode-agent-skills. It costs 15 tokens per session (297 once invoked), scanned A, original, MIT.

A guide for everyday Git, the version-control system used to track code changes, including branches, commits, and repository cleanup. It includes workflows and scripts for branch creation, commit-message checks, and removing stale branches.

In plain words
What is it for?
Use it to create and publish feature branches, write conventional commit messages, validate them, pull updates, and clean up old branches.
Why use it?
It helps keep changes organized and commit messages consistent, reducing avoidable repository-maintenance mistakes.

Skill for Claude CodeCodex

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 skills/joshuadavidthomas/opencode-agent-skills/git-helper
Any agent
npx skills add joshuadavidthomas/opencode-agent-skills --skill git-helper
Clone the repo
git clone --depth 1 https://github.com/joshuadavidthomas/opencode-agent-skills

Made for: Claude Code, Codex.

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-helper

README.md
[![agentmods](https://agentmods.dev/badge/skills/joshuadavidthomas/opencode-agent-skills/git-helper.svg)](https://agentmods.dev/skills/joshuadavidthomas/opencode-agent-skills/git-helper)
Your own site
<a href="https://agentmods.dev/skills/joshuadavidthomas/opencode-agent-skills/git-helper"><img src="https://agentmods.dev/badge/skills/joshuadavidthomas/opencode-agent-skills/git-helper.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 297 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.00015 $0.00297
Opus 5 $0.00008 $0.00148
Sonnet 5 $0.00003 $0.00059
Haiku 4.5 $0.00002 $0.00030

Measured 5d ago against content hash ca7a65c1e2e4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

git-helper 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 5d 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.

.opencode/skills/git-helper/SKILL.md · 66 lines

What it actually says

Git Helper

A comprehensive skill for git workflow management and best practices.

Quick Start

Use this skill when you need help with:

  • Branch creation and management
  • Commit message formatting
  • Git workflow optimization
  • Repository maintenance

Common Workflows

Creating a New Feature Branch

git checkout -b feature/your-feature-name
git push -u origin feature/your-feature-name

Writing Good Commit Messages

Follow the conventional commit format:

type(scope): description

[optional body]

[optional footer]

Types: feat, fix, docs, style, refactor, test, chore

Git Cleanup Commands

Remove stale branches

git remote prune origin

Clean up local branches

git branch -d branch-name

Scripts

This skill includes helper scripts:

create-branch.sh - Creates new feature branches with proper naming • commit-check.sh - Validates commit message format • cleanup.sh - Removes stale branches

Best Practices

  1. Always pull latest changes before creating branches
  2. Use descriptive branch names with prefixes (feature/, bugfix/, hotfix/)
  3. Write atomic commits (one logical change per commit)
  4. Keep commit messages under 72 characters for the subject line
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. 5d ago First seen · 66 lines · 15 tokens per session scan A ca7a65c1e2e4

Subscribe to this mod's changes

git-helper is a skill published in the GitHub repository joshuadavidthomas/opencode-agent-skills (272 stars, last pushed 10d ago), licensed MIT. It adds 15 tokens to every session and 297 once invoked, about $0.0001 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-30.