Git Summary for Openclaw

An essential Git diagnostic tool that provides a comprehensive overview of repository status, recent commits, and contributor activity.

zweack
v1.0.0
Feb 5, 2026
1
4.6k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install git-summary

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 git-summary 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 Git Summary?

The Git Summary skill for Openclaw Skills is a specialized utility designed to give developers and AI agents instant visibility into the state of any Git-managed project. By synthesizing multiple Git commands into a single, structured report, it eliminates the need for manual status checks and log scanning. This skill is particularly valuable in multi-tasking environments where maintaining context of branch states, remote configurations, and uncommitted changes is critical for productivity.

Built to be cross-platform, this skill integrates seamlessly with Openclaw Skills to provide actionable insights. Whether you are performing a routine check before a push or trying to understand a new codebase, the Git Summary provides the technical clarity needed to manage version control with confidence.

Git Summary Use Cases

  • Rapidly assessing the state of a repository after a context switch or period of inactivity.
  • Verifying staged and unstaged changes to ensure only intended code is included in the next commit.
  • Reviewing recent commit history to track progress or identify the source of recent changes.
  • Auditing local and remote branch structures to maintain clean repository hygiene.
  • Generating a snapshot of contributor activity to understand team involvement in a specific project.

How Git Summary Works

  1. The user invokes the skill by asking for a repository summary or status overview.
  2. The skill identifies the current branch and checks for local modifications using short-form status commands.
  3. It retrieves the most recent 10 commits, including decorations for tags and branches, to provide historical context.
  4. All local and remote branches are listed to give a full map of the repository's architecture.
  5. Remote URLs are verified to ensure synchronization with upstream sources.
  6. The skill calculates a statistical summary of changed lines and files for both staged and unstaged work.
  7. A final, formatted report is presented, consolidating all version control data into a single readable output.

Git Summary Setup

To use this skill, ensure that Git is installed on your system and available in your PATH. This skill supports Openclaw Skills environments on macOS, Linux, and Windows.

# Verify git installation
git --version

# The skill will automatically work when executed inside any directory containing a .git folder

Git Summary Data Schema & Taxonomy

The Git Summary skill organizes repository metadata into the following schema for clear presentation:

Component Source Command Data Points Extracted
Status git status Current branch, cleanliness, and count of modified/staged/untracked files.
History git log Hash, commit message, and author relative time for the last 10 entries.
Branches git branch List of local branches and tracking status for remote branches.
Remotes git remote Fetch and Push URLs for configured remote repositories.
Diff Stat git diff Quantitative summary of lines added or deleted across the working tree.
Contributors git shortlog Top contributors ranked by commit volume (optional for large repos).

Git Summary Advanced Features

  • Multi-OS Compatibility: Fully functional across darwin, linux, and win32 architectures within the Openclaw Skills ecosystem.
  • Intelligent Error Handling: Automatically detects non-git directories and suggests initialization commands.
  • Privacy Protection: Designed to handle remote URLs carefully to avoid exposing sensitive tokens or credentials in logs.
  • Deep Diff Analysis: Provides specific line-count statistics for both staged and unstaged changes for precise tracking.
  • Contributor Insights: Enables a head-count of top contributors to gauge project scale and activity levels.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins git
Github Stars: 0
forks: 0

Featured*