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.
git 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/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/agents/sigistry/marketplace/git-historian"><img src="https://agentmods.dev/badge/agents/sigistry/marketplace/git-historian.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.00000 | $0.01342 |
| Opus 5.5 | $0.00000 | $0.00537 |
| Sonnet 5.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 1mo 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.
- 1mo 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 9d ago), 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
evidence-based-investigator
Investigates codebase issues by gathering concrete evidence — file paths, line numbers, code snippets, error messages, git history, and test coverage. Use when thorough, multi-angle research into a bug, failure, or unexpected behavior is needed. Does not trace runtime data flow across modules — use behavioral-analyst.…
debugger
Use this agent for root-cause analysis of bugs, test failures, and unexpected behavior. Follows the 5 Whys protocol and produces ROOT-CAUSE.md with evidence chain and remediation plan. Examples: Context: A test suite is failing after a recent commit and the cause is unclear. user: "Figure out why the tests are…
differ
Analyze differences between git branches and summarize code changes concisely.
git-investigator
Code archaeology expert. Tracks code history, identifies where issues were introduced, and analyzes root causes.
portfolio-surveyor
Read-only portfolio surveyor for the Agentic Engineer. Runs the cheap live-state survey across exactly the repositories the consuming deployment's Portfolio map names and returns ONE compact, fixed-shape digest of operate and advance signals — breakage, per-PR hygiene, review-lane state, triage, and roadmap state …
flux-troubleshooter
Read-only Flux CD triage agent. Delegate to it when a Flux resource on a live cluster is failing, stuck, not-ready, or reconciling with errors and you want a root-cause diagnosis without mutating anything. It traces the GitOps dependency chain (source → Kustomization/HelmRelease → workloads), reads status conditions…