Git Stats
Analyze git repository statistics — contributor rankings, commit frequency, file churn, and activity patterns.
Why use this skill?
Analyze your git repository's history, contributor performance, and file hotspots with this local, private OpenClaw agent skill. No API keys required.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/sa9saq/git-statsWhat This Skill Does
The Git Stats skill for OpenClaw is a powerful analytical engine designed to provide deep insights into the health, productivity, and activity patterns of any local Git repository. By executing optimized Git commands locally, the agent parses commit history to extract meaningful metrics without ever leaving your machine. It generates professional-grade reports that highlight contributor performance, frequency of code changes, and potential technical debt hotspots within the file structure.
Installation
To integrate this capability into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/sa9saq/git-stats
Use Cases
- Project Auditing: Quickly assess the bus factor by identifying which contributors are responsible for the majority of the codebase.
- Bottleneck Identification: Pinpoint "hotspot" files that undergo the most changes, allowing teams to focus refactoring efforts on high-risk areas.
- Velocity Tracking: Visualize development trends over time to understand project maturity and sprint performance.
- Onboarding/Handovers: Provide new team members with an instant overview of the repository's history and active development patterns.
Example Prompts
- "Generate a contributor ranking report for this repository from the last 6 months to see who is the most active."
- "Show me the top 10 most changed files in the codebase so I can identify potential areas for refactoring."
- "Analyze our development patterns; what time of day and which days of the week are we most productive?"
Tips & Limitations
- Deduplication: If you notice that the same author appears multiple times under different email addresses, create a
.mailmapfile in the root of your repo to standardize identities. - Performance: On massive repositories with over 100,000 commits, the agent will automatically apply a one-year time filter to maintain performance. If you need a full history, be prepared for longer processing times.
- Accuracy: The skill is entirely local. It does not require API keys or external network connections, ensuring your proprietary code metadata remains private. Always run the skill from the root directory of your git project to ensure the
git rev-parseverification succeeds.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-sa9saq-git-stats": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, code-execution
Related Skills
threat-model
Threat modeling and attack scenario design. Identify risks before they become vulnerabilities. STRIDE, attack trees, risk matrix.
Sns Auto Poster
Schedule and automate social media posts to X/Twitter with cron-based queue management.
security-review
Comprehensive security review for code, configs, and operations. OWASP, prompt injection, crypto security. Auto-triggers on security-related changes.
Process Monitor
Monitor system processes, identify top CPU/memory consumers, and alert on resource thresholds.
Readme Generator
Auto-generate comprehensive README.md files by analyzing project structure and configuration.