smithery.ai

Git Version Control

Provides Git version control operations for managing code repositories. Allows agents to check repository status, view commit history, and perform basic Git operations.

First seen Mar 21, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,889 B
  • docs SUMMARY.md 195 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Context Keywords

  • git
  • version control
  • repository
  • commit
  • source control
  • vcs

Tools

  • example-git-skillgitstatus - Get the current Git status (HTTP endpoint)
  • example-git-skillgitlog - View commit history (HTTP endpoint)
  • checkgitstatus - Check Git status (direct tool call)

Instructions

Use this skill when you need to:

  1. Check the current state of a Git repository
  2. View recent commit history
  3. Understand what files have been modified, added, or deleted
  4. Get information about the current branch

Prerequisites:

  • The working directory must be within a Git repository
  • Git must be installed on the system

Best Practices:

  • Always check the status before making changes
  • Use descriptive commit messages
  • Review changes before committing

Examples

Example 1: Check Repository Status

# Using the tool decorator
status = check_git_status()
print(f"Current status: {status}")

Example 2: View Recent Commits

# Using the HTTP endpoint
response = await git_log(limit=10)
if response["status"] == "success":
    print(f"Recent commits:\n{response['output']}")

Example 3: Combined Workflow

When asked "What changes are in the repository?":

  1. First, call checkgitstatus() to see modified files
  2. Then, call git_log(limit=5) to see recent commits
  3. Provide a summary of both results to the user

Example 4: Error Handling

Always check the response status and handle errors gracefully:

result = await git_status()
if result["status"] == "error":
    print(f"Git operation failed: {result['message']}")
else:
    print(f"Status: {result['output']}")