basemind-git-history

basemind-git-history is a skill for Claude Code from Goldziher/basemind. It costs 91 tokens per session (2,935 once invoked), scanned A, original, MIT.

A tool for exploring a Git repository's past, including commits, file changes, line ownership, symbol history, and differences between revisions. Git is the version-control system many developers use to track code changes.

In plain words
What is it for?
Use it to inspect recent commits, find commits affecting a path, identify who last changed a line or symbol, compare revisions, and rank files by change frequency.
Why use it?
It makes it easier to answer where a change came from, who made it, and how a function or file evolved without manually reading long command output.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the basemind plugin — 15 skills, 11 commands, 3 hooks shipped together

Good fit Use it to inspect recent commits, find commits affecting a path, identify who last changed a line or symbol, compare revisions, and rank files by change frequency.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/goldziher/basemind/basemind-git-history
Install

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.

Any agent
npx skills add Goldziher/basemind --skill basemind-git-history
Clone the repo
git clone --depth 1 https://github.com/Goldziher/basemind

Made for: Claude Code.

Or install basemind, the plugin that ships this one along with the rest of its 15 skills, 11 commands, 3 hooks.

Wrote 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.

agentmods badge for basemind-git-history

README.md
[![agentmods](https://agentmods.dev/badge/skills/goldziher/basemind/basemind-git-history/github.svg)](https://agentmods.dev/skills/goldziher/basemind/basemind-git-history)
Your own site
<a href="https://agentmods.dev/skills/goldziher/basemind/basemind-git-history"><img src="https://agentmods.dev/badge/skills/goldziher/basemind/basemind-git-history/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.

agentmods 80×15 button for basemind-git-history

Your own site · 80×15
<a href="https://agentmods.dev/skills/goldziher/basemind/basemind-git-history"><img src="https://agentmods.dev/badge/skills/goldziher/basemind/basemind-git-history.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,935 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00091 $0.02935
Opus 5.5 $0.00036 $0.01174
Sonnet 5.5 $0.00018 $0.00587
Haiku 4.5 $0.00009 $0.00294

Measured 2d ago against content hash 12814052d497, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

basemind-git-history 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.

.codex-plugin/skills/basemind-git-history/SKILL.md · 147 lines

How it starts

The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.

basemind-git-history — git history over the index

basemind indexes git history and resolves blame and diffs at symbol resolution, backed by a gix history index. Three tools cover it: git_log, git_blame and git_diff. They return commits, authors, paths, and line/symbol attributions, structured and capped, for a fraction of the cost of parsing git log / git blame output.

The tools are always loaded: call them directly, no tool search needed. Prefer them over shelling out to git log, git blame, git status or git diff. Drop to raw git only when no tool covers the question (staging, rebasing, anything that mutates history).

Tool routing

Question MCP call CLI
"What changed recently?" git_log {} basemind git log
"Which commits touched file F?" git_log {"path":"src/store.rs","limit":5} basemind git log --path src/store.rs --limit 5
"Which commits touched a directory?" git_log {"path":"src/mcp/"} basemind git log --path src/mcp/
"Which commit mentions X?" git_log {"query":"fix race"} basemind git log --query "fix race"
"What did this author commit?" git_log {"author":"ada"} basemind git log --author ada
"When did symbol X change?" git_log {"path":"src/store.rs","symbol":"open"} basemind git log --path src/store.rs --symbol open
"Show one commit in full" git_log {"rev":"HEAD~1"} basemind git log --rev HEAD~1
"Who wrote this file's lines?" git_blame {"path":"src/store.rs"} basemind git blame src/store.rs
"Who wrote these lines?" git_blame {"path":"src/store.rs","line":120,"end_line":160} basemind git blame src/store.rs --line 120 --end-line 160
"Who wrote this symbol?" git_blame {"path":"src/store.rs","symbol":"open"} basemind git blame src/store.rs --symbol open
"What's dirty in the working tree?" git_diff {} basemind git diff
"What did I change in file F?" git_diff {"path":"src/store.rs"} basemind git diff src/store.rs
"Diff a file between revisions?" git_diff {"path":"src/store.rs","from":"HEAD~1","to":"HEAD"} basemind git diff src/store.rs --from HEAD~1 --to HEAD
"What symbols were added or removed?" git_diff {"path":"src/store.rs","from":"HEAD~5","structural":true} basemind git diff src/store.rs --from HEAD~5 --structural
"What's HEAD / branch?" index_status {} basemind status
"Where's the churn?" CLI only basemind git churn
"Commits whose changed paths match a regex?" CLI only basemind git by-path <regex>

Read the full file on GitHub · 147 lines

Changes

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.

  1. 2d ago Changed 12814052d497
  2. 4d ago Changed b469cde36c9e
  3. 9d ago Changed 994a8fa072e4
  4. 10d ago Changed fe5e34bae226
  5. 12d ago Changed · +9 lines 78d73d38f35b
  6. 13d ago Changed 9f2f2567c96f
  7. 14d ago Changed · +7 lines 967fe10d56be
  8. 15d ago Changed · +29 lines e93f1e58f8e0
  9. 16d ago Changed · +29 lines dc226bcd10c1
  10. 17d ago First seen · 73 lines · 91 tokens per session scan A ed14bf81d1bc

Subscribe to this mod's changes

basemind-git-history is a skill published in the GitHub repository Goldziher/basemind (126 stars, last pushed today), licensed MIT. It adds 91 tokens to every session and 2,935 once invoked, about $0.0004 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-30.

Related

basemind-git-history compared with skills from other repositories

basemind-git-history next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
basemind-git-historyGoldziher/basemindSkill126todayMITA91Claude Code
project-graveyardShubhamsaboo/awesome-llm-appsSkill147k2d agoApache-2.0A127Claude Code, Codex
commit-archaeologistShubhamsaboo/awesome-llm-appsSkill147k2d agoApache-2.0A82Claude Code, Codex
scope-creep-detectorShubhamsaboo/awesome-llm-appsSkill147k2d agoApache-2.0A98Claude Code, Codex
mem0-test-integrationmem0ai/mem0Skill70k4d agoApache-2.0A207Claude Code, Codex
mem0-integratemem0ai/mem0Skill70k4d agoApache-2.0A188Claude Code, Codex
config-loading-precedencexberg-io/xbergSkill9.6ktodayMITA18Claude Code