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.
npx skills add chen3feng/agent-skills --skill git-commit-author-identitygit clone --depth 1 https://github.com/chen3feng/agent-skillsWrote 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/skills/chen3feng/agent-skills/git-commit-author-identity)<a href="https://agentmods.dev/skills/chen3feng/agent-skills/git-commit-author-identity"><img src="https://agentmods.dev/badge/skills/chen3feng/agent-skills/git-commit-author-identity/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/skills/chen3feng/agent-skills/git-commit-author-identity"><img src="https://agentmods.dev/badge/skills/chen3feng/agent-skills/git-commit-author-identity.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.00029 | $0.00846 |
| Opus 5.5 | $0.00012 | $0.00338 |
| Sonnet 5.5 | $0.00006 | $0.00169 |
| Haiku 4.5 | $0.00003 | $0.00085 |
Grade A, and why
git-commit-author-identity 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 3mo 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 — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Git commit author identity across repos
When to use
You're about to create a commit in a repo whose default identity may
not match the user's intent — a freshly cloned sibling repo, a
throwaway scratch clone, or a CI-like environment where user.name /
user.email are unset. Common trigger: the user says "use the same
identity as ".
Problem
Two recurring failures:
-
Committing with the wrong identity (e.g. a work email into a personal OSS repo, or
root@hostnamefrom an unconfigured clone). -
Trying to override per-command with
git -c user.name='First Last'and having the shell split the quoted value, so git seesuser.name=Firstand treatsLastas the next config key:error: key does not contain a section: useAdd fatal: unable to parse command-line configOr, if it parses, the committed author ends up as
First_Last/Firstbecause quoting was stripped somewhere along the pipeline.
Solution
-
Read the target identity from an existing repo the user trusts:
git -C /path/to/reference-repo config user.name git -C /path/to/reference-repo config user.email -
Commit using environment variables, which survive any shell quoting shenanigans:
GIT_AUTHOR_NAME="First Last" \ GIT_AUTHOR_EMAIL="[email protected]" \ GIT_COMMITTER_NAME="First Last" \ GIT_COMMITTER_EMAIL="[email protected]" \ git -C /path/to/repo commit -F .commit_msg.tmp -
Verify immediately before pushing:
git -C /path/to/repo log -n1 --format='author=%an <%ae>%n committer=%cn <%ce>' -
If you got it wrong, fix in place with
--amend --reset-author(only safe if you haven't pushed yet):GIT_AUTHOR_NAME="First Last" GIT_AUTHOR_EMAIL="[email protected]" \ GIT_COMMITTER_NAME="First Last" GIT_COMMITTER_EMAIL="[email protected]" \ git -C /path/to/repo commit --amend --no-edit --reset-author
Example
Wrong (will sometimes give First_Last as the author, sometimes
error out with key does not contain a section):
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.
- 3mo ago First seen · 101 lines · 29 tokens per session scan A 56f1e0ac656d
git-commit-author-identity is a skill published in the GitHub repository chen3feng/agent-skills (5 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 29 tokens to every session and 846 once invoked, about $0.0001 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-commit-author-identity compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| git-commit-author-identitychen3feng/agent-skills | Skill | 5 | 6mo ago | Apache-2.0 | A | 29 | Claude Code, Codex |
| coding-standardsithinkihaveacat/dotfiles | Skill | 46 | today | Apache-2.0 | A | 81 | Claude Code, Codex |
| semantic-commitAndrewDongminYoo/cc-agents-kit | Skill | 3 | yesterday | Apache-2.0 | A | 50 | Claude Code |
| create-prprisma/orm | Skill | 48k | today | Apache-2.0 | A | 47 | Claude Code, Codex |
| github-pr-descriptiontailcallhq/forgecode | Skill | 7.6k | yesterday | Apache-2.0 | A | 72 | Claude Code, Codex |
| git-commitThinkInAIXYZ/deepchat | Skill | 6.4k | yesterday | Apache-2.0 | A | 15 | Claude Code, Codex |
| engineer-bot-opsmakecindy/cindy | Skill | 11k | today | Apache-2.0 | A | 57 | Claude Code, Codex |