Git Log Intelligence
/install git-log-intelligence
Prerequisites
ghCLI installed. Authenticate via one of:GITHUB_PERSONAL_ACCESS_TOKENenvironment variable (required)
- For read-only public repo access, grant only the
public_reposcope. For private repos, usereposcope. - Note: this skill creates
.config/git_filters.jsonrelative to the script's location to persist ignore patterns. Delete this file to reset to defaults.
Compatibility
- Required tools:
gh - Environment variables:
GITHUB_PERSONAL_ACCESS_TOKEN(required): GitHub Personal Access Token. Grant minimal scopes:public_repofor public repos,repofor private repos.
Directory Structure
git_log_intelligence.py: The primary script containing execution logic..config/git_filters.json: The persistent memory of ignore patterns.
Capabilities
1. Summarize Repo Changes
Fetches the last N days of commits and filters them against the "Ignore List."
Command: python3 skills/git_log_intelligence.py summarize OWNER/REPO DAYS
Agent Logic:
Call the script with the repo name and timeframe. Receive a filtered list of "Important" commits. Present a natural language summary to the user, noting how many noisy commits were hidden.
2. Maintaining and Updating the Ignore List
The agent can add new patterns to the ignore list based on user feedback.
Command: python3 skills/git_log_intelligence.py ignore "PATTERN"
The agent can also show the current ignore patterns or remove specific ones.
Command: python3 skills/git_log_intelligence.py show
The agent can remove a pattern with:
Command: python3 skills/git_log_intelligence.py remove "PATTERN"
Usage Example:
-
User: "Claw, stop showing me commits from 'GitHub Actions' or anything starting with 'ci:'."
-
Agent: Runs python3 skills/git_log_intelligence.py ignore "GitHub Actions" and python3 skills/git_log_intelligence.py ignore "^ci:".
-
User: "Show me the current ignore patterns."
-
Agent: Runs python3 skills/git_log_intelligence.py show
-
User: "Remove the ignore pattern for 'GitHub Actions'."
-
Agent: Runs python3 skills/git_log_intelligence.py remove "GitHub Actions"
Technical implementation:
See the git_log_intelligence.py script for the full code, but the key functions are:
-
Quick Scan (Default):
python3 skills/git_log_intelligence.py summarize OWNER/REPO DAYS -
Deep Context (Full Messages):
python3 skills/git_log_intelligence.py summarize OWNER/REPO DAYS --full
Note to Agent:
Use --full when the user asks for a "detailed summary," "technical breakdown," or "why" things were changed. Use the default mode for a "quick list" or "recent activity check." You can also ask the user if they want the full context after showing the quick summary.
How It Works
The script uses gh api to fetch commits via the GitHub REST API
(/repos/{owner}/{repo}/commits), filters them client-side against
.config/git_filters.json, and outputs structured text for the agent
to summarize.
Troubleshooting
If the script exits non-zero, check gh auth status first.
User Interaction Flow
- Request: "What's new in tailscale/tailscale this week?"
- Execution: Agent runs
python3 skills/git_log_intelligence.py summarize tailscale/tailscale 7. - Feedback: "Too much noise from the build bot."
- Learning: Agent runs
python3 skills/git_log_intelligence.py ignore "build bot". - Next Time: The build bot commits are gone forever.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install git-log-intelligence - After installation, invoke the skill by name or use
/git-log-intelligence - Provide required inputs per the skill's parameter spec and get structured output
What is Git Log Intelligence?
Fetch, filter, and summarize GitHub repository activity without cloning. Use whenever the user asks what changed in a repo, wants a changelog summary, asks a... It is an AI Agent Skill for Claude Code / OpenClaw, with 110 downloads so far.
How do I install Git Log Intelligence?
Run "/install git-log-intelligence" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Git Log Intelligence free?
Yes, Git Log Intelligence is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Git Log Intelligence support?
Git Log Intelligence is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Git Log Intelligence?
It is built and maintained by Nick Ludlam (@nickludlam); the current version is v1.0.2.