Agent skill · AI & Agents

agent-ops-git-analysis

Analyze git repository for insights: contributor stats, commit patterns, branch health, and change analysis. Outputs actionable reports.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill agent-ops-git-analysis --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Path: skills/analysis/agent-ops-git-analysis/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Git Analysis Skill Generate repository insights and health reports from git history. ## Commands All analysis uses standard `git` commands. No external dependencies required. ### Quick Stats ```bash # Total commits git rev-list --count HEAD # Contributors count git shortlog -sn --all | wc -l # First and last commit dates git log --reverse --format=%ci | head -1 git log -1 --format=%ci # Files in repository git ls-files | wc -l # Lines of code (approximate) git ls-files | xargs wc -l 2>/dev/null | tail -1 ``` ### Contributor Analysis ```bash # Commits per author git shortlog -sn --all # Commits per author (last 30 days) git shortlog -sn --since="30 days ago" # Most active files by author git log --author="Name" --name-only --pretty=format: | sort | uniq -c | sort -rn | head -20 ``` ### Commit Patterns ```bash # Commits by day of week git log --format=%ad --date=format:%A | sort | uniq -c | sort -rn # Commits by hour git log --format=%ad --date=format:%H | sort | uniq -c | sort -n # Commits per month (last year) git log --since="1 year ago" --format=%ad --date=format:%Y-%m | sort | uniq -c # Average commits per day (last 30 days) # commits / 30 ``` ### Branch Health ```bash # List

What's inside
Steps it walks through
  1. Commands
  2. Quick Stats
  3. Contributor Analysis
  4. Commit Patterns
  5. Branch Health
  6. Large Files Detection
  7. Change Analysis
  8. Report Templates
  9. Quick Health Report
  10. Contributor Report
  11. Diff Report
  12. Invocation
  13. Example Invocations
  14. Notes
Ships with 1 file
  • metadata.json
Commands it runs
Total commits
git rev-list --count HEAD
Contributors count
git shortlog -sn --all | wc -l
First and last commit dates
git log --reverse --format=%ci | head -1
git log -1 --format=%ci
Files in repository
git ls-files | wc -l
Lines of code (approximate)
More from claude-skill-registry
All skills →
About this skill
What does the agent-ops-git-analysis skill do?

Analyze git repository for insights: contributor stats, commit patterns, branch health, and change analysis. Outputs actionable reports.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill agent-ops-git-analysis --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going