Skip to content
Back to the index

claude-code-hooks

karanbansal.inInfrastructure🇮🇳

PulseGate's liveness check found it on 8 Oct 2026; it is registered on GitHub and has been in the index since 16 Aug 2026. How this is checked

claude-code-hooks provides executable hooks that intercept Claude Code lifecycle events and allow developers to pass or block actions using exit codes. It includes tested hooks and installable plugins for command safety, secret protection, context injection, formatting, and notifications.

Inferred · not functionally tested

Open SourceMITCLISelf-hosted
claude-code-hooks preview
Visit karanbansal.in
475stars
34forks
1alternative
8features
2026since

Overview

6 features

Purpose: Preventing unsafe or unwanted Claude Code actions while adding custom checks and automation to the agent loop.

Inferred · not functionally tested

Audience: developers using Claude Code

Inferred · not functionally tested

Functions: agents, workflow_automation

Inferred · not functionally tested

Interfaces: API: unknown · MCP: unknown · CLI: indicated (inferred, not tested) · Self-hosting: indicated (inferred, not tested)

Recorded constraints: pricing: open_source · license: MIT · platforms: CLI · deployment: cli, self_hosted

Constraint provenance is unknown; confirm requirements with the publisher.

Record sources: hooks.karanbansal.in · github.com. These links do not verify the individual claims.

In the AI security & guardrails space, claude-code-hooks takes a focused approach. Inferred · not functionally tested: It focuses on preventing unsafe or unwanted Claude Code actions while adding custom checks and automation to the agent loop. Inferred · not functionally tested: claude-code-hooks is an open-source project aimed at developers using Claude Code. Basis unknown · not verified: The project is open source (MIT). Basis unknown · not verified: It ships for the command line, and it can be self-hosted.

It is developed by Karan Bansal (India), and it first shipped in 2026. The project is developed in the open on GitHub with 475 stars and 22 commits in the last 90 days. Inferred · not functionally tested: Key capabilities include lifecycle hooks, command blocking, and secret protection.

Summary written by a language model from the project’s public pages.

Tasks: Inferred · not functionally tested

  • Lifecycle hooks
  • Command blocking
  • Secret protection
  • Context injection
  • Edit staging
  • Slack notifications

Topics: Inferred · not functionally tested

Tags
claude-codeagent-guardrailspretool-hookscommand-safetyplugin-marketplace

JSON profile · Text profile · Access guide

Built with & integrations

AI providers
anthropic
Connectors
slackgithub
Runs on
CLISelf-hosted

Trust & compliance

License
MIT
Public signals
HTTPSOpen SourceFree tierGitHub · ★ 475Active maintenance

Indexing history

1

What PulseGate has recorded for this listing

  1. Indexed16 Aug · 17:35 UTC
    karanb192/claude-code-hooks seen via GitHub Search (Smart)
    Source: GitHub Search (Smart) · Open

Frequently asked questions about claude-code-hooks

What does claude-code-hooks do?
Inferred · not functionally tested: Claude-code-hooks focuses on preventing unsafe or unwanted Claude Code actions while adding custom checks and automation to the agent loop. It is catalogued under AI security & guardrails on PulseGate.
Who is claude-code-hooks for?
Inferred · not functionally tested: claude-code-hooks is an open-source project built for developers using Claude Code.
Is claude-code-hooks free?
Basis unknown · not verified: Yes — claude-code-hooks is open source under the MIT license and free to use.
What platforms does claude-code-hooks run on?
Basis unknown · not verified: claude-code-hooks runs on the command line. It can also be self-hosted.
Is claude-code-hooks still active?
PulseGate's liveness check found it on 8 Oct 2026. Its GitHub repository shows 22 commits in the last 90 days.
What are alternatives to claude-code-hooks?
Similar projects tracked by PulseGate include Claude Code Hooks, Claude Code Field Kit, and Boucle.Claude Code HooksClaude Code Field KitBoucle
Who develops claude-code-hooks?
claude-code-hooks is developed by Karan Bansal, based in India.
How long has claude-code-hooks been around?
claude-code-hooks first shipped in 2026.

Similar projects

Closest matches by what these projects do