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.
67 stars
0 votes
0 copies
3 views
Added June 8, 2026
ai-agentspythongorubybashnodedockergitsecurity
Works with
claude code
Security analysis
A92/100
mediumInstalls packages at runtime which could introduce malicious dependencies
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Lefthook Git Hooks Manager?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/agentskillexchange-lefthook-git-hooks-manager)
---
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/)