Commit Analyzer for Openclaw

A diagnostic tool that analyzes git commit patterns to evaluate the operational health and productivity of autonomous AI agents.

bobrenze-bot
v0.1.0
Feb 1, 2026
1
3.8k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install commit-analyzer

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install commit-analyzer using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Commit Analyzer?

The Commit Analyzer is a specialized diagnostic utility within the Openclaw Skills framework, designed to monitor the operational health of autonomous AI agents by examining their git commit patterns. It translates raw version control activity into actionable insights regarding agent velocity, task distribution, and cognitive focus.

By leveraging commit frequency and category-based analysis, developers can distinguish between an agent that is idle, one that is stuck in a loop, and one that is performing at peak autonomous efficiency. This tool ensures that your AI agents maintain a healthy balance between learning and execution tasks while utilizing Openclaw Skills to maintain high-quality code outputs.

Commit Analyzer Use Cases

  • Detecting when an AI agent is stuck or entering waiting mode due to lack of commits.
  • Measuring the ratio of learning commits to task execution to ensure meta-cognition health.
  • Identifying high-velocity breakthrough periods to understand peak productivity triggers.
  • Automating routine health checks by integrating commit metrics into agent heartbeat protocols using Openclaw Skills.

How Commit Analyzer Works

  1. The script accesses the local git repository history to extract commit timestamps and messages.
  2. It groups commits by prefix categories such as Learning, Docs, and Fix to analyze work distribution.
  3. Velocity calculations are performed to determine the average number of commits per hour.
  4. The analyzer identifies the largest gaps between commits to detect potential idle periods.
  5. Results are compared against health indicators to provide status updates and recommendations within the Openclaw Skills ecosystem.

Commit Analyzer Setup

To integrate this skill into your workflow, ensure the analyzer script is placed in your repository structure. Provide execution permissions using the following command:

chmod +x ./skills/commit-analyzer/analyzer.sh

You can then run a quick health check to verify your Openclaw Skills integration:

./skills/commit-analyzer/analyzer.sh health

Commit Analyzer Data Schema & Taxonomy

The skill organizes data by parsing git history and mapping it to the following health indicators:

Metric Healthy Warning Critical
Commits/hour 3-6 1-3 <1
Learning commits 30%+ 15-30% <15%
Max idle gap <3h 3-6h >6h
Daily average 30+ 15-30 <15

When exported, the data follows a structured JSON format containing total commit counts, hourly breakdown, and category percentages for use with other Openclaw Skills.

Commit Analyzer Advanced Features

  • Automated Heartbeat Check: Seamlessly append git health results to memory or heartbeat-state.json files to maintain agent state.
  • JSON Integration: Export raw diagnostic data for use in custom developer dashboards or multi-agent monitoring systems.
  • Waiting Mode Detection: Configure specific hour thresholds to identify exactly when an agent ceases productive activity and requires intervention.
  • Multi-day Reporting: Generate comprehensive reports over custom timeframes to track the evolution of your Openclaw Skills usage.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*