find-commit

Find git commits with generation-metadata blocks and return structured JSON.

Updated Feb 23, 2026
One-click install
npx skills add https://github.com/jburns24/skills --skill find-commit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: find-commit
Source: https://github.com/jburns24/skills/tree/main/.agents/skills/find-commit
Command: npx skills add https://github.com/jburns24/skills --skill find-commit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

The Find-Commit skill helps agents trace the rationale behind changes by locating git commits instrumented with generation-metadata blocks and revealing the associated plan, model, and unplanned changes.

Core Features & Use Cases

  • Locate instrumented commits across history based on keywords, files, dates, or hash.
  • Retrieve and present plan_contents, model, plan_file, and unplanned_changes for auditing and reasoning.
  • Use cases include understanding feature intent, auditing changes, and tracing decisions to plans.

Quick Start

Ask me to search instrumented commits with optional filters and display each match's metadata.

Frequently Asked Questions about find-commit

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

FAQPage Schema
How do I find git commits with generation metadata to trace why code changes were made?

To find git commits with generation metadata, you can filter repository history by keyword, file path, date range, or commit hash. The tool parses commit bodies for JSON metadata blocks and returns the associated plan, model, and unplanned changes for provenance tracing.

What is generation-metadata in git commits and how does it help audit code changes?

Generation-metadata in git commits is a JSON block containing the plan, model, plan file, and unplanned changes associated with a code generation session. It helps audit code changes by providing traceability, linking repository modifications directly back to their originating intent and reasoning.

How do I retrieve the plan and model details from an instrumented git commit?

To retrieve the plan and model details from an instrumented git commit, you query the repository history using a commit hash or date filter. The tool reads the commit body, parses the embedded JSON metadata, and outputs a structured array containing the plan contents and model information.

Can I filter instrumented commits by file path and date range to locate specific code changes?

Yes, you can filter instrumented commits by file path and date range to locate specific code changes. The tool supports constraining search results using keywords, specific file paths, date ranges, and commit hashes to surface only the relevant generation metadata and touched files.

What is the best way to search git history for unplanned changes made during a code generation session?

The best way to search git history for unplanned changes is to query for instrumented commits containing generation metadata. The tool parses these commits and explicitly returns the unplanned changes field, allowing you to identify deviations from the original plan during the generation session.

Does find-commit work with standard git repositories or does it require special instrumentation?

Find-commit works with standard git repositories but requires special instrumentation to be effective. It is designed to locate commits that include generation-metadata blocks produced by a compatible commit skill, meaning commits without these embedded JSON metadata blocks will not return provenance data.