git-ai-archaeology

git-ai-archaeology is a skill for Claude Code from FlorianBruniaux/claude-code-plugins. It costs 47 tokens per session (2,641 once invoked), scanned A, original, MIT.

A Git history analysis of how a project's AI configuration changed over time. It finds when configuration files appeared, groups related commits by month, identifies important pull requests, and describes stages of adoption.

In plain words
What is it for?
Use it to study AI adoption in a repository, explain configuration changes, measure activity over time, or identify major development phases.
Why use it?
It gives you a timeline of how AI tooling developed instead of requiring you to reconstruct that history manually.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; positional $N argument.

Part of the ai-methodology plugin — 17 skills, 4 commands, 2 agents, 1 hook shipped together

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.

agentmods
npx agentmods add skills/florianbruniaux/claude-code-plugins/git-ai-archaeology
Any agent
npx skills add FlorianBruniaux/claude-code-plugins --skill git-ai-archaeology
Clone the repo
git clone --depth 1 https://github.com/FlorianBruniaux/claude-code-plugins

Made for: Claude Code.

Or install ai-methodology, the plugin that ships this one along with the rest of its 17 skills, 4 commands, 2 agents, 1 hook.

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 git-ai-archaeology

README.md
[![agentmods](https://agentmods.dev/badge/skills/florianbruniaux/claude-code-plugins/git-ai-archaeology.svg)](https://agentmods.dev/skills/florianbruniaux/claude-code-plugins/git-ai-archaeology)
Your own site
<a href="https://agentmods.dev/skills/florianbruniaux/claude-code-plugins/git-ai-archaeology"><img src="https://agentmods.dev/badge/skills/florianbruniaux/claude-code-plugins/git-ai-archaeology.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,641 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00047 $0.02641
Opus 5 $0.00023 $0.01321
Sonnet 5 $0.00009 $0.00528
Haiku 4.5 $0.00005 $0.00264

Measured 6d ago against content hash f3f59f5522ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

git-ai-archaeology 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 6d 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.

plugins/ai-methodology/skills/git-ai-archaeology/SKILL.md · 334 lines

How it starts

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

git-ai-archaeology

Produces a complete analysis of AI config evolution in a git repository. Finds when each AI configuration file was created, how AI-config commit velocity evolved month by month, which PRs structured the evolution, and identifies maturity phases.

Output: a single file {output_dir}/{slug}-git-archaeology.md

Expected Input

/git-ai-archaeology repo_path=/path/to/repo [output=./talks/slug] [slug=talk-name] [since=2025-01-01]
  • repo_path: absolute path to the target git repo (required)
  • output: output directory (default: ./talks)
  • slug: output filename (default: repo folder name)
  • since: analysis start date (default: first repo commit)

Workflow

  1. Verify the repo: ensure the path exists and is a git repo
  2. Global metrics: total commits, releases, contributors, time period
  3. Section 1: First commits: find creation date for key AI-config paths
  4. Section 2: Monthly distribution: commits filtered by AI-config keywords
  5. Section 3: Major PRs: extract and categorize significant AI-config commits
  6. Section 4: CHANGELOG: if CHANGELOG.md exists, extract releases with AI mentions
  7. Section 5: Phases: synthesize evolution phases
  8. Save the output file

Step 1: Verification and Global Metrics

# Verify it's a git repo
git -C {repo_path} rev-parse --git-dir

# Global metrics
git -C {repo_path} log --oneline | wc -l                                    # total commits
git -C {repo_path} tag --sort=version:refname | wc -l                       # total releases
git -C {repo_path} shortlog -sn --no-merges | wc -l                         # contributors
git -C {repo_path} log --pretty=format:"%ad" --date=short | tail -1         # first commit
git -C {repo_path} log --pretty=format:"%ad" --date=short | head -1         # last commit
git -C {repo_path} log --merges --oneline | wc -l                           # merged PRs

Step 2: Section 1: First Commits per AI-Config Path

Read the full file on GitHub · 334 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. 6d ago First seen · 334 lines · 47 tokens per session scan A f3f59f5522ed

Subscribe to this mod's changes

git-ai-archaeology is a skill published in the GitHub repository FlorianBruniaux/claude-code-plugins (40 stars, last pushed 4d ago), licensed MIT. It adds 47 tokens to every session and 2,641 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

analytics

Queries local analytics across OrchestKit projects for agent usage, skill frequency, hook timing, team activity, session replay, cost estimation, and model delegation trends. Privacy-safe with hashed project IDs. Supports time-range filtering and comparative analysis. Use when reviewing performance, estimating costs…

yonatangross/orchestkit · 62 tokens

doctor

OrchestKit doctor for health diagnostics across manifest integrity, hook configuration, skill validation, agent frontmatter, MCP server connectivity, CC version compatibility, and permission rules. Reports issues with severity levels and auto-remediation suggestions. Validates component counts, detects orphaned…

yonatangross/orchestkit · 80 tokens

setup

创建一个新的 Workframe 项目,或把已有项目接入 Workframe。按用户意图与目标目录状态分流(新建 / 接入),对话采集业务上下文后落骨架、订阅 core 插件、完成落盘验收。仅用于 Workframe 框架的项目初始化,不承担 npm init / create-react-app / git init 等通用脚手架。.

ryanzhao1011/workframe · 88 tokens

code-review

代码审查,从需求符合度/正确性/安全性/可维护性/性能五维度评审代码变更,输出风险分级的 Finding 列表.

ryanzhao1011/workframe · 40 tokens

html-demo

仿真型 HTML 交互 demo 生成:按用户截图复刻真实界面,产出自包含、全状态可达(带模拟开关)的可交互单文件 demo,落 tmp/ 就地多轮迭代;拍板后归档 prototypes/ 并衔接 prd-writer「demo 先行变体」写 PRD。.

ryanzhao1011/workframe · 85 tokens

technical-design

技术方案设计与实施,提供轻量路径(小改动直接落地)和完整路径(架构/数据/API/多文件高风险变更走完整方案+实施+交付)双档分流.

ryanzhao1011/workframe · 50 tokens