Borrowing it
Nothing to install: this file belongs to n-shadloo/git-authoring. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/n-shadloo/git-authoring/main/GEMINI.mdgit clone --depth 1 https://github.com/n-shadloo/git-authoringWrote 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.
[](https://agentmods.dev/instructions/n-shadloo/git-authoring/gemini-md)<a href="https://agentmods.dev/instructions/n-shadloo/git-authoring/gemini-md"><img src="https://agentmods.dev/badge/instructions/n-shadloo/git-authoring/gemini-md/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.
<a href="https://agentmods.dev/instructions/n-shadloo/git-authoring/gemini-md"><img src="https://agentmods.dev/badge/instructions/n-shadloo/git-authoring/gemini-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01656 | $0.01656 |
| Opus 5.5 | $0.00662 | $0.00662 |
| Sonnet 5.5 | $0.00331 | $0.00331 |
| Haiku 4.5 | $0.00166 | $0.00166 |
Grade A, and why
git-authoring GEMINI.md 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 29d 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.
How it starts
The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Git authoring conventions
This repository's commit-message and pull-request rules live in AGENTS.md at the
repository root. Follow it in full and choose the mode from the user's request:
- For already-staged changes, present the exact quoted-heredoc commit command.
- When asked to choose files, present specific staging commands plus the heredoc commit command.
- When asked for PR content, write the title and structured Markdown description.
- Only when unmistakably told to do it all, stage, commit, and push autonomously — and, on a further explicit request, tag and publish a release.
- When asked for release notes, establish the range since the last release, read what actually landed, and write the note as a Markdown block.
- When asked to review an incoming pull request, read it through
gh, work the decision through with the user, and write the review comment or the merge-commit message as a Markdown block for them to paste. Never approve, request changes, comment, or merge. - When asked for repository work — branches, merges and rebases, history editing, undo, moving work, conflict resolution, recovery — read the real state, say what the situation is, and present the exact commands.
Modes 1–3 and 5–7 are read-only on their own. Mode 4 carries every execution, and mode 7
executes only under that same explicit request; it is an exception to the read-only rule and
to nothing else. An action the user asks the agent to carry out, such as opening or merging
a pull request, runs under mode 4.
Never infer mode 4 from "commit this," "go ahead," or a request for commands. Never infer
publishing from a release note or approval of one — it takes mode 4 and an explicit
request to publish. Never use git add -A, force-push, or overwrite an existing tag or
release. Never pass --no-verify, and never disable a hook, to make a commit or a push
succeed. A hook that fails is a finding, and it stops the work.
Work in the repository that this agent did not create is another writer's state. Inspect it, never sweep it into a commit, and never rewrite it. A rejected push means another writer moved the branch: fetch, read the divergence, and report the exact commits on each side. Never rebase or merge that divergence on your own — the resolution is the user's decision.
Every stop hands the work back with five fields. The goal, and the exact blocked step. What
you attempted, and the git output, verbatim. The causes you eliminated, and how. The one
decision needed from the user. The state that remains, and whether it is safe to leave. Mode
4 claims completion only from git log -1 --format=full and git status. Run both after the
push. A claim without that output is not a completion.
A pull-request action follows the user's words. "Open the PR", "merge it", "approve it",
and "request changes" are explicit requests: carry them out with gh pr create,
gh pr merge, or gh pr review, on the user's own pull request or on someone else's.
Merge only while the required checks pass and GitHub reports the pull request mergeable.
Never pass --admin or --auto unless the user asks for exactly that, and never close a
pull request the user did not name. A bare "go ahead" names no action: ask which one.
When reviewing a pull request, separate what actually blocks the merge — breaks the build
or an existing test, loses or corrupts data, opens a security hole, breaks a documented
contract without notating it, or does not do what the PR claims — from what is only a
suggestion, and calibrate the bar to the project: a small repo with no stated convention
and no CI is not a large one. Never manufacture a blocker, and when nothing blocks, say so
in one plain line before anything else. On a fork pull request, empty gh pr checks output
means the workflows have not run, not that they passed.
For a release note, fetch tags first, base the range on the last version tag reachable
from HEAD, and report any disagreement with the project's version field rather than
silently picking one. If the repository has no versioning at all, say so and stop rather
than creating its first tag. Match the style of prior releases over any template.
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.
- 29d ago Changed · +3 lines · +58 tokens per session 73b61e585952
- 1mo ago Changed · -5 lines · -67 tokens per session b4263d8aa27f
- 1mo ago Changed · +10 lines · +148 tokens per session 9e69a25f7458
- 2mo ago Changed · +1 lines · +69 tokens per session ce2824617eae
- 2mo ago First seen · 87 lines · 1,448 tokens per session scan A 69e118640b60
git-authoring GEMINI.md is an instructions file published in the GitHub repository n-shadloo/git-authoring (4 stars, last pushed 15d ago), licensed MIT. It adds 1,656 tokens to every session, about $0.0066 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.
git-authoring GEMINI.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| git-authoring GEMINI.mdn-shadloo/git-authoring | Instructions file | 4 | 15d ago | MIT | A | 1,656 | Gemini CLI |
| skill-doctor git-workflow.instructions.mdevilstar2016/skill-doctor | Instructions file | 16 | 9d ago | MIT | A | 75 | GitHub Copilot |
| skill-doctor github-automation.instructions.mdevilstar2016/skill-doctor | Instructions file | 16 | 9d ago | MIT | A | 72 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |