Git Summary

Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.

MIT-0 · Free to use, modify, and redistribute. No attribution required.
1 · 2.9k · 16 current installs · 16 all-time installs
MIT-0
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description ask for a repo summary and the skill only requires the git binary and runs git commands to collect status, commits, branches, remotes, diffs, and contributors — all directly relevant.
Instruction Scope
Instructions are limited to running git commands in the current working directory, which is appropriate. One caution: `git remote -v` will print remote URLs that can include embedded credentials (e.g., https://user:token@host) and `git diff`/logs may reveal sensitive repository content. The SKILL.md does note to avoid exposing tokens, but consumers should ensure results are masked before sharing externally.
Install Mechanism
No install spec or additional packages — instruction-only skill that expects the existing git binary. This minimizes install-time risk.
Credentials
The skill requests no environment variables or credentials. The only sensitive data risk comes from repository data the git commands return (remotes, commit messages, diffs), which is expected for this purpose.
Persistence & Privilege
Does not request always:true or modify agent/system configuration. It is user-invocable and can be run by the agent when invoked, which is appropriate for this utility.
Assessment
This skill is coherent with its purpose, but be careful where you run it: run it only inside the repository you intend to inspect and avoid sharing raw outputs publicly. Remote URLs can embed credentials (e.g., https://user:token@host); mask or redact URLs before posting. For very large repos, `git shortlog` and diffs may be slow or produce large outputs — consider running narrower commands if you suspect secrets or very large history. If you need stricter control, preview the commands the agent will run and ask it to redact sensitive fields before presenting results.

Like a lobster shell, security has layers — review code before you run it.

Current versionv1.0.0
Download zip
latestvk973xrhb2q07d51dgfrqgeyvgn80j7t4

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Runtime requirements

📊 Clawdis
OSmacOS · Linux · Windows
Binsgit

SKILL.md

Git Summary Skill

This skill provides a comprehensive overview of the current Git repository state.

Usage

When the user asks for a git summary, repository overview, or wants to understand the current state of a git project, use the terminal to run the following commands and present the results in a clear, organized format.

Instructions

  1. Repository Status: Run git status --short --branch to get the current branch and working directory status.

  2. Recent Commits: Run git log --oneline -10 --decorate to show the last 10 commits with branch/tag decorations.

  3. Branch Overview: Run git branch -a --list to list all local and remote branches.

  4. Remote Info: Run git remote -v to show configured remotes.

  5. Uncommitted Changes Summary:

    • Run git diff --stat for unstaged changes
    • Run git diff --cached --stat for staged changes
  6. Contributors (optional, for larger context): Run git shortlog -sn --all | head -10 to show top 10 contributors.

Output Format

Present the gathered information in a structured format:

## 📊 Git Repository Summary

### Current Branch & Status
- Branch: `<branch_name>`
- Status: <clean/dirty with X modified, Y staged, Z untracked>

### Recent Commits (Last 10)
<formatted commit list>

### Branches
- Local: <count> branches
- Remote: <count> branches
<list notable branches>

### Remotes
<list remotes with URLs>

### Uncommitted Changes
<summary of staged and unstaged changes>

Notes

  • If not in a git repository, inform the user and suggest initializing one with git init.
  • For large repositories, the contributor list may take a moment - warn the user if this is expected.
  • Always respect that some information may be sensitive - don't expose full URLs if they contain tokens.

Files

1 total
Select a file
Select a file to preview.

Comments

Loading comments…