git-ai-search

Search Git history for AI conversation context using Git AI notes.

2.4k|260|Updated Jul 2, 2025
One-click install
npx skills add https://github.com/git-ai-project/git-ai --skill git-ai-search
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-ai-search
Source: https://github.com/git-ai-project/git-ai/tree/main/skills/git-ai-search
Command: npx skills add https://github.com/git-ai-project/git-ai --skill git-ai-search

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers quickly find and resume AI-generated code sessions within their Git history, preventing loss of context and improving collaboration.

Core Features & Use Cases

  • Search AI Sessions: Find past AI conversations by commit, file, author, or keywords.
  • Continue Work: Restore the exact context of a previous AI session to pick up where a teammate left off.
  • Audit AI Usage: Understand which AI tools and prompts were used for specific code changes.

Quick Start

Use the git-ai search skill to find AI context related to the commit with the hash abc1234.

Frequently Asked Questions about git-ai-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search for past AI coding sessions in my git history?

You can search for past AI coding sessions in git history by querying Git AI notes using specific commit hashes, files, lines, patterns, authors, or AI tools to retrieve the exact context.

Can I restore an AI conversation context to continue work left by a teammate?

Yes, you can restore AI conversation context from Git history to pick up exactly where a teammate left off, preventing context loss and facilitating seamless collaboration on code changes.

How do I audit which AI tools and prompts were used for specific code changes?

To audit AI usage, you can search git history by author, tool, or commit to retrieve past AI-assisted coding sessions and understand which AI tools and prompts generated specific code changes.

What output formats are available when searching AI context from git history?

When searching AI context from git history, you can retrieve results using JSON, verbose, or count-based output formats to suit different auditing and context restoration needs.

Does git-ai-search require any external dependencies to find AI notes?

No, git-ai-search operates without external dependencies to find AI notes. It directly searches and restores AI conversation context from your existing Git history using Git AI notes.

What is the best way to retrieve AI context for a specific commit hash like abc1234?

The best way to retrieve AI context for a specific commit hash is to use the search skill, querying by the commit hash to extract the exact AI conversation context attached to that code change.