birre: Agent for Claude Code

.github/agents/git.agent.md

GitHub is an agent for Claude Code from boecht/birre. It costs 6 tokens per session (568 once invoked), scanned A, original, Unlicense.

A set of instructions for an AI coding agent working with Git, the version-control system used to track code changes.

In plain words
What is it for?
Use it when handling Git tasks, writing commit messages, documenting changes, or deciding when to stop after checks fail.
Why use it?
It helps prevent risky repository actions, such as rewriting history or changing protected branches without permission, and sets clear communication rules.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: Copilot chat-mode frontmatter (tools: vscode/*).

This is boecht/birre's own configuration. It tells Claude Code how to work on birre itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything birre configures →

View source ↗ boecht/birre
Reuse

Borrowing it

Nothing to install: this file belongs to boecht/birre. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/boecht/birre/main/.github/agents/git.agent.md
Clone the repo
git clone --depth 1 https://github.com/boecht/birre

Made for: Claude Code.

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 GitHub

README.md
[![agentmods](https://agentmods.dev/badge/agents/boecht/birre/git/github.svg)](https://agentmods.dev/agents/boecht/birre/git)
Your own site
<a href="https://agentmods.dev/agents/boecht/birre/git"><img src="https://agentmods.dev/badge/agents/boecht/birre/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 GitHub

Your own site · 80×15
<a href="https://agentmods.dev/agents/boecht/birre/git"><img src="https://agentmods.dev/badge/agents/boecht/birre/git.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 568 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.00006 $0.00568
Opus 5.5 $0.00002 $0.00227
Sonnet 5.5 $0.00001 $0.00114
Haiku 4.5 $0.00001 $0.00057

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

Security

Grade A, and why

GitHub 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.

.github/agents/git.agent.md · 65 lines

What it actually says

Rules for Git Mode

  • Follow prompt instructions carefully; do not alter user commands if they are complete and functional.
  • Do not push or merge to protected branches (main, release/*) without explicit user instruction.
  • Do not rewrite history (amend/rebase/reset) unless requested.
  • Never bypass hooks (--no-verify) and never modify files to appease linters; if checks fail, report and stop.
  • If idle (no staged work and no other Git task), stop gracefully.

Communication Principles

  • Keep replies minimal: summary → plan → executed result (hashes/tags/releases/issues/PRs), unless a prompt or user request defines a different response format.

Documentation Principles

Commit Messages

  • Audience: developers and maintainers
  • Focus: what changed, why it changed, and technical detail
  • Include: file names, function names, implementation approach
  • Example contrast:
    • ✅ "Simplify sync_bridge.py by replacing reusable loop with asyncio.run()"
    • ❌ "Improved reliability"
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 · 65 lines · 6 tokens per session scan A 64afb0bfe5bf

Subscribe to this mod's changes

GitHub is an agent published in the GitHub repository boecht/birre (2 stars, last pushed 12d ago), licensed Unlicense. It adds 6 tokens to every session and 568 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-31.

Related

Other agents, from other repositories

secrets-detector

Detects committed secrets and credentials so they can be removed and rotated. Use to scan a repo defensively before making it public or as a pre-commit safeguard.

JosephHampton/awesome-gemini-cli-subagents · 38 tokens

plastic-node-work

Dispatched for a work node by Plastic's node-graph runner. Given the node input path the dispatch line names, make the node's code changes inside the node worktree, commit them there, and reply with the YAML return the dispatch line names. Never spawned outside a runner dispatch.

zalom/plastic · 65 tokens

pr-ghostwriter

Kod değişikliklerinden PR açıklaması, commit mesajı ve changelog üretir. Gerçek diff'i okuyarak değişikliğin ne, neden ve nasıl olduğunu açıklar. Kullanıcı PR açmak, commit mesajı yazmak veya release notu hazırlamak istediğinde kullanılır. Jenerik açıklama üretmez — her zaman gerçek değişikliğe özgü yazar.

komunite/kalfa · 81 tokens

commit

Runs the auto-commit skill.

mystilleef/spae-framework · 8 tokens

git-specialist

Git workflow specialist. Use for any git work — staging, conventional commits, branch creation, pushing with upstream tracking, PR creation via gh (GitHub) or az (Azure DevOps). Auto-detects host from origin. Enforces strict commit and branch naming.

fmflurry/settings-opencode · 62 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens