Analyzes git commit frequency, categories, and timing to assess autonomous operation health and detect idle or breakthrough periods.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install commit-analyzer或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install commit-analyzer⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/commit-analyzer/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
Analyzes git commit patterns to monitor autonomous operation health. Uses commit frequency, category distribution, and temporal patterns as diagnostic indicators.
During my autonomous growth week, I discovered that commit patterns reveal operational health:
This skill automates that analysis.
./skills/commit-analyzer/analyzer.sh health
Outputs current operational health based on last 24 hours.
./skills/commit-analyzer/analyzer.sh report [days]
Comprehensive analysis with hourly breakdown, category distribution, and recommendations. Default: 7 days.
./skills/commit-analyzer/analyzer.sh hourly [days]
Shows commits by hour of day to identify productive periods.
./skills/commit-analyzer/analyzer.sh categories [days]
Groups commits by prefix (Queue:, Learning:, Docs:, etc.) to show work distribution.
./skills/commit-analyzer/analyzer.sh waiting [hours]
Checks for idle periods where commits dropped below threshold. Default: last 48 hours.
| 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 |
Add to HEARTBEAT.md:
## Git Health Check
- Run: ./skills/commit-analyzer/analyzer.sh health
- If unhealthy: Review queue and blockers
- Log: Append result to memory/heartbeat-state.json
The script can output JSON for integration with other tools:
./skills/commit-analyzer/analyzer.sh health --json
$ ./skills/commit-analyzer/analyzer.sh health
📊 Git Health Report (last 24h)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Total commits: 42
Commits/hour: 1.75
Status: ⚠️ WARNING (below 3/hr threshold)
Largest gap: 4h 23m (sleeping?)
Learning commits: 18 (43%) ✅
Recommendation: Check for blockers or waiting mode
$ ./skills/commit-analyzer/analyzer.sh categories 3
📊 Commit Categories (last 3 days)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Queue: 23 (35%)
Learning: 18 (27%)
Docs: 12 (18%)
Skills: 8 (12%)
Fix: 3 (5%)
Other: 2 (3%)
Total: 66 commits
Built from patterns discovered during autonomous week (Jan 28-31, 2026). See: learning-log.md entry "2026-01-31 05:15 AM - Git Pattern Analysis"
安装 Commit Analyzer 后,可以对 AI 说这些话来触发它
Help me get started with Commit Analyzer
Explains what Commit Analyzer does, walks through the setup, and runs a quick demo based on your current project
Use Commit Analyzer to analyzes git commit frequency, categories, and timing to assess aut...
Invokes Commit Analyzer with the right parameters and returns the result directly in the conversation
What can I do with Commit Analyzer in my ai agent & automation workflow?
Lists the top use cases for Commit Analyzer, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/commit-analyzer/ 目录(个人级,所有项目可用),或 .claude/skills/commit-analyzer/(项目级)。重启 AI 客户端后,用 /commit-analyzer 主动调用,或让 AI 根据上下文自动发现并使用。
Commit Analyzer 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Commit Analyzer 可免费安装使用。请查阅仓库了解许可证信息。
Analyzes git commit frequency, categories, and timing to assess autonomous operation health and detect idle or breakthrough periods.
Commit Analyzer 属于「AI Agent & Automation」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my ai agent & automation tasks using Commit Analyzer
Identifies repetitive steps in your workflow and sets up Commit Analyzer to handle them automatically