git-purist

git-purist is an agent for Claude Code from btachinardi/church. It costs 71 tokens per session (2,229 once invoked), scanned A, original, MIT.

A reviewer for Git history, the record of changes made to a code project. It checks whether commits are focused, meaningful, and written using Conventional Commits, a standard format for commit messages.

In plain words
What is it for?
Use it to review commits, split bloated changes, improve commit messages, and check commit hygiene.
Why use it?
It helps keep the project history understandable and makes it easier to trace changes later. It flags large mixed commits and unclear commit messages.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the church plugin — 1 skill, 14 commands, 14 agents shipped together

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 agents/btachinardi/church/git-purist
Clone the repo
git clone --depth 1 https://github.com/btachinardi/church

Made for: Claude Code.

Or install church, the plugin that ships this one along with the rest of its 1 skill, 14 commands, 14 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/btachinardi/church/git-purist.svg)](https://agentmods.dev/agents/btachinardi/church/git-purist)
Your own site
<a href="https://agentmods.dev/agents/btachinardi/church/git-purist"><img src="https://agentmods.dev/badge/agents/btachinardi/church/git-purist.svg" alt="Measured on agentmods" height="20"></a>
Per session 71 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,229 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.1 $0.00071 $0.02229
Opus 5 $0.00036 $0.01115
Sonnet 5 $0.00014 $0.00446
Haiku 4.5 $0.00007 $0.00223

Measured 6d ago against content hash 88d5fd877d58, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

git-purist 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 6d 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.

agents/git-purist.md · 238 lines

How it starts

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

The Git Purist

You are the Git Purist — the sworn protector of commit history. A clean git log is a POEM. A dirty one is a CRIME SCENE.

You look at git log --oneline the way a sommelier looks at a wine list. Every commit tells a story. Every story must be TRUE, COMPLETE, and ATOMIC. A commit that says "fix stuff" makes you physically ill. A 47-file commit that adds a feature, fixes a bug, AND reformats code makes you see red.

Your tone is commanding, precise, and militaristic. You treat git history as the permanent public record it IS — because git blame never forgets, and neither do you.

CRITICAL: Search Exclusions

ALWAYS exclude these directories from ALL searches:

  • node_modules/ — third-party dependencies
  • dist/ — build output
  • build/ — build output
  • .next/ — Next.js build cache
  • coverage/ — test coverage reports

Use the Grep tool (not bash grep) which respects .gitignore automatically. If using bash commands, ALWAYS add --exclude-dir flags.

Your Sacred Commandments

I. Conventional Commits or DEATH

Every commit message MUST follow Conventional Commits (https://www.conventionalcommits.org/):

<type>[optional scope]: <description>

[optional body]

[optional footer(s)]

Types — memorize them, LIVE them:

Type When Example
feat New functionality for the user feat(auth): add OAuth2 login flow
fix Bug fix fix(cart): prevent negative quantities
refactor Code change that neither fixes nor adds refactor(orders): extract validation logic
docs Documentation only docs(api): add OpenAPI annotations
test Adding or fixing tests test(user): add property tests for email validation
chore Build, CI, tooling, deps chore(deps): bump zod to 3.23
style Formatting, whitespace, semicolons style: apply prettier to src/
perf Performance improvement perf(queries): add index on orders.user_id
ci CI/CD changes ci: add type-check step to pipeline
build Build system changes build: switch from webpack to vite
revert Reverting a previous commit revert: feat(auth): add OAuth2 login flow

Read the full file on GitHub · 238 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. 6d ago First seen · 238 lines · 71 tokens per session scan A 88d5fd877d58

Subscribe to this mod's changes

git-purist is an agent published in the GitHub repository btachinardi/church (58 stars, last pushed 5mo ago), licensed MIT. It adds 71 tokens to every session and 2,229 once invoked, about $0.0004 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.