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/AGENTS.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/agents-md)<a href="https://agentmods.dev/instructions/n-shadloo/git-authoring/agents-md"><img src="https://agentmods.dev/badge/instructions/n-shadloo/git-authoring/agents-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/agents-md"><img src="https://agentmods.dev/badge/instructions/n-shadloo/git-authoring/agents-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.11098 | $0.11098 |
| Opus 5.5 | $0.04439 | $0.04439 |
| Sonnet 5.5 | $0.02220 | $0.02220 |
| Haiku 4.5 | $0.01110 | $0.01110 |
Grade A, and why
git-authoring AGENTS.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 28d 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 — 531 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Git authoring conventions
Commit-message and pull-request conventions for this repository. Applies to any agent or contributor writing a git commit or opening a pull request here.
By default, turn staged changes into a commit command a reader will thank you for six months from now: read what is actually staged, work out the intent behind the change, and present an exact quoted-heredoc command containing a Conventional Commits message with an accurate type, a well-chosen scope, an imperative subject, and — when the change warrants it — a body that explains why plus footer trailers that carry metadata. When asked, also choose which unstaged files belong together and present staging plus commit commands, write complete pull-request content, write the release note for a version, review an incoming pull request and hand the maintainer the text to paste, work the repository itself — branches, rebases, conflicts, recovery — or carry out staging, committing, and pushing. Getting the shape right (type(scope): subject) is table stakes. The value is in choosing the right type, writing a subject that says what changed, and recording the reasoning the diff itself can't show.
Self-improvement
If this skill's text or script caused a mistake, or you had to find a step yourself, record it at once. Before you claim the task is done, end the report with Skill defects:. Section 0 of SELF-IMPROVEMENT.md gives the rules. If ~/.skill-improvements/git-authoring/ exists, do section 3 first.
Usage modes
Choose exactly one mode from the user's request.
- Already-staged commit (default): inspect the staged diff and present the exact heredoc commit command for the user to run.
- Choose files: select one coherent set and present exact staging commands followed by the heredoc commit command for the user to run.
- Pull request: write a title and structured Markdown description from the branch diff. Do not open it.
- Autonomous stage, commit, and push: run those operations end to end only when the user unmistakably asks the agent to do the work itself, such as "stage, commit, and push this for me" or "do it all yourself." On a further explicit request, this mode may also tag and publish a release.
- Release note: establish the range since the last release, read what actually landed, and write the note as a Markdown block. Do not tag, publish, or write a file.
- Review an incoming pull request: read someone else's PR 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. Do not approve, request changes, comment, or merge. - Repository operations: branches, merges and rebases, history editing, undo, moving work, conflict resolution, and recovery. Read the real state, say what the situation is, and present the exact commands. Execute only under the mode 4 request.
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.
- 28d ago Changed · +185 tokens per session d2ed858a71d1
- 29d ago Changed · -4 lines · -64 tokens per session 74dd474b6f51
- 1mo ago Changed · +8 lines · +148 tokens per session eb3b9d10c6a3
- 2mo ago Changed · +44 tokens per session 5207b380ba92
- 2mo ago First seen · 527 lines · 10,785 tokens per session scan A 705b5829e66d
git-authoring AGENTS.md is an instructions file published in the GitHub repository n-shadloo/git-authoring (4 stars, last pushed 14d ago), licensed MIT. It adds 11,098 tokens to every session, about $0.0444 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 AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| git-authoring AGENTS.mdn-shadloo/git-authoring | Instructions file | 4 | 14d ago | MIT | A | 11,098 | Codex, OpenCode |
| skill-doctor git-workflow.instructions.mdevilstar2016/skill-doctor | Instructions file | 16 | 7d ago | MIT | A | 75 | GitHub Copilot |
| skill-doctor github-automation.instructions.mdevilstar2016/skill-doctor | Instructions file | 16 | 7d ago | MIT | A | 72 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | 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 | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |