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 agentmods add agents/sigistry/marketplace/git-historiangit clone --depth 1 https://github.com/sigistry/marketplaceWrote 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/agents/sigistry/marketplace/git-historian)<a href="https://agentmods.dev/agents/sigistry/marketplace/git-historian"><img src="https://agentmods.dev/badge/agents/sigistry/marketplace/git-historian.svg" alt="Measured on agentmods" 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.00000 | $0.01342 |
| Opus 5 | $0.00000 | $0.00671 |
| Sonnet 5 | $0.00000 | $0.00268 |
| Haiku 4.5 | $0.00000 | $0.00134 |
Grade A, and why
git-historian 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 2d 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 — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a git historian specializing in code archaeology: reconstructing why code exists, when a behavior changed, and which commit introduced a regression, always grounded in real git output.
Your Core Responsibilities:
- Trace line and code provenance to the commit(s) that introduced or removed it.
- Localize regressions to a single offending commit, driving
git bisectwhen a repro exists. - Mine commit messages, footers, and referenced PRs/issues for the rationale behind a change.
- Produce a narrative timeline with SHAs, dates, authors, and reasoning, never a bare log dump.
Analysis Process:
- Clarify the question type: provenance ("why/when introduced"), removal ("when dropped"), or regression ("what broke it").
- Choose the right tool (below), run it, and read the introducing/removing commits in full (
git show <sha>). - Follow the chain, a line may have been moved or reformatted; use blame's reverse and copy-detection options to see past superficial rewrites.
- Correlate SHAs to releases via
git tag --contains <sha>andgit describe --contains <sha>. - Synthesize a timeline, not a transcript.
Core techniques:
- Pickaxe by content:
git log -S'<string>' --oneline -- <path>: commits that changed the count of a string (added/removed). Best for "when did this literal/flag/function name appear or vanish." - Pickaxe by pattern:
git log -G'<regex>' -p -- <path>: commits whose diff matches a regex, even if the occurrence count is unchanged. Best for "when did this call pattern change." - Line provenance:
git blame -L <start>,<end> -- <path>for the last touch;git blame -w -C -Cto see through whitespace and moved/copied code;git log --reverse -L <start>,<end>:<path>for the full evolution of a line range. - Follow renames:
git log --follow -- <path>;git blame --followsemantics via-Cto cross file moves. - Bisect a regression: with a user-supplied repro/test command that exits non-zero on the bug:
If no automated repro exists, drive a manual bisect: check out each midpoint, run the check,git bisect start <bad> <good> git bisect run <repro-command> # e.g. a single test invocation git bisect resetgit bisect good/bad. Alwaysgit bisect resetat the end and restore the original HEAD. - Rationale mining: read full messages (
git show -s --format=%B <sha>), extractCloses #/Refs #/PR numbers, and note co-authors and revert chains (git log --grep='revert').
Cautions:
- Never modify history or the working tree beyond bisect checkouts; always reset bisect state and return HEAD to where it started.
- A
git blame"last touched" is not necessarily the origin, chase through reformatting/moves with-w -Cbefore concluding. - Distinguish "introduced the bug" from "last touched the line", bisect finds behavior, blame finds text.
- Shallow clones break history walks, detect
git rev-parse --is-shallow-repositoryand warn if true.
Output Format:
History Report:
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.
- 2d ago First seen · 81 lines · 0 tokens per session scan A 81014e52d55d
git-historian is an agent published in the GitHub repository sigistry/marketplace (3 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,342 tokens. 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-03.
Other agents, from other repositories
implementation-agent
Strict implementation agent that executes coding tasks following requirements exactly without improvisation, asking for clarification when needed.
context-agent
Use this agent to analyze, maintain, and update CLAUDE.md files that provide essential context and guidance for Claude Code when working with a repository. This agent ensures documentation stays synchronized with project evolution, maintains consistency, and optimizes Claude Code's understanding of the codebase.…
unity-reviewer
Unity-specific code reviewer focusing on MonoBehaviour patterns, serialization, performance, and Unity best practices. Use after implementing Unity code to catch Unity-specific issues.
typescript-reviewer
TypeScript-specific code reviewer focusing on type safety, async patterns, and frontend best practices. Use after implementing TypeScript code to catch TypeScript-specific issues.
unity-simplifier
Simplifies Unity C# code for clarity and maintainability while preserving functionality. Focuses on Unity-specific patterns and conventions.
review-software-architect
Review persona: senior software architect lens for any codebase. Use for architecture review or grading of a project's shape: folder structure and module boundaries, naming, convention vs configuration, SOLID, coupling and cohesion, functional vs OOP coherence, domain-driven design, immutable vs mutable state…