Skip to content
Back to skills

Lefthook Git Hooks Manager

ASecurity

Lefthook is a fast, dependency-free Git hooks manager written in Go that runs pre-commit, pre-push, and custom hook commands in parallel. It integrates with Node.js, Ruby, Python, and any other project type through a simple YAML configuration.

  • 36 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 8, 2026
ai-agentspythongorubybashnodedockergitsecurity

Works with

  • claude code

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill lefthook-git-hooks-manager --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Lefthook Git Hooks Manager?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Lefthook Git Hooks Manager
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-lefthook-git-hooks-manager/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-lefthook-git-hooks-manager)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Lefthook Git Hooks Manager"
slug: "lefthook-git-hooks-manager"
description: "Lefthook is a fast, dependency-free Git hooks manager written in Go that runs pre-commit, pre-push, and custom hook commands in parallel. It integrates with Node.js, Ruby, Python, and any other project type through a simple YAML configuration."
github_stars: 7894
verification: "security_reviewed"
source: "https://github.com/evilmartians/lefthook"
category: "Developer Tools"
framework: "Claude Code"
tool_ecosystem:
  github_repo: "evilmartians/lefthook"
  github_stars: 7894
  npm_package: "lefthook"
  npm_weekly_downloads: 1640769
---

# Lefthook Git Hooks Manager

Lefthook is a fast, dependency-free Git hooks manager written in Go that runs pre-commit, pre-push, and custom hook commands in parallel. It integrates with Node.js, Ruby, Python, and any other project type through a simple YAML configuration.

## Installation

Use the upstream install or setup path that matches your environment:
- go install github.com/evilmartians/lefthook/v2@v2.1.6
- npm install lefthook --save-dev
- gem install lefthook
- pipx install lefthook

Requirements and caveats from upstream:
- A Git hooks manager for Node.js, Ruby, Python and many other types of projects.
- For **Python**:
- ### **Support Docker**

Basic usage or getting-started notes:
- **Fast.** It is written in Go. Can run commands in parallel.
- With **Go** (>= 1.26):
- bash

- Source: https://github.com/evilmartians/lefthook
- Extracted from upstream docs: https://raw.githubusercontent.com/evilmartians/lefthook/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/lefthook-git-hooks-manager/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.