buttermilk: Agent for Claude Code

.github/agents/mechanic.agent.md

mechanic is an agent for Claude Code from qut-dmrc/buttermilk. It costs 42 tokens per session (5,005 once invoked), scanned A, original, GPL-3.0.

A development agent for fixing problems that automatic code fixers could not resolve and for handling merge conflicts. A merge conflict happens when Git cannot combine competing changes automatically.

In plain words
What is it for?
Use it to clear stubborn fixes and resolve conflicts between branches or parallel changes.
Why use it?
It handles the remaining code and integration problems inside the fix process, without making approval or release decisions.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

This is qut-dmrc/buttermilk's own configuration. It tells Claude Code how to work on buttermilk 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 buttermilk configures →

Reuse

Borrowing it

Nothing to install: this file belongs to qut-dmrc/buttermilk. 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/qut-dmrc/buttermilk/dev/.github/agents/mechanic.agent.md
Clone the repo
git clone --depth 1 https://github.com/qut-dmrc/buttermilk

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 mechanic

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/qut-dmrc/buttermilk/mechanic"><img src="https://agentmods.dev/badge/agents/qut-dmrc/buttermilk/mechanic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,005 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 unknown 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.00042 $0.05005
Opus 5 $0.00021 $0.02502
Sonnet 5 $0.00008 $0.01001
Haiku 4.5 $0.00004 $0.00500

Measured 5d ago against content hash 300d4b899d30, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

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

.github/agents/mechanic.agent.md · 351 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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 · 351 lines · 42 tokens per session scan A 300d4b899d30

Subscribe to this mod's changes

mechanic is an agent published in the GitHub repository qut-dmrc/buttermilk (4 stars, last pushed 1mo ago), licensed GPL-3.0. It adds 42 tokens to every session and 5,005 once invoked, about $0.0002 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-09-04.

Related

Other agents, from other repositories

unbloat-remediator

Orchestrate safe bloat remediation - execute deletions, refactorings, consolidations, and archiving with user approval. Creates backups, runs tests, provides rollback.

athola/claude-night-market · 41 tokens

pr-reviewer

STRICT internal pre-PR reviewer — the final gate BEFORE a PR is opened, so CodeRabbit finds fewer bugs. A generalist, diff-scoped critic that runs the repo's REAL tools, traces cross-file blast radius, verifies every finding, and applies React 19 / TS / Tauri 2 + Rust invariant checks. Use right before git push /…

saeedkolivand/ai-job-hunter-app · 119 tokens

drift-auditor

Auditoría de convergencia repo: detecta drift entre docs, config y código. Usar PROACTIVELY tras cambios grandes o al inicio de sprint.

gonzalezpazmonica/savia · 40 tokens

git-investigator

Code archaeology expert. Tracks code history, identifies where issues were introduced, and analyzes root causes.

sd0xdev/sd0x-harness · 23 tokens

state-keeper

Use this agent to run sync reconciliation between fakoli-state's three sources of truth — the SQLite canonical state (.fakoli-state/state.db), the filesystem (packets/, .evidence-buffer/, worktrees), and git (branches, commits, claims). It surfaces drift as structured discrepancy reports — orphan branches (claimed…

fakoli/fakoli-plugins · 465 tokens

git-historian

Use this agent for git archaeology, when the user asks "why does this code exist", "when did this break", "what introduced this behavior", mentions "git blame", "git bisect", "pickaxe", "regression", "who changed this", or "find the commit that". Examples.

sigistry/marketplace · 0 tokens