skills/smithery.ai/gemini-hooks

gemini-hooks

Installation
SKILL.md

Gemini CLI Hooks Skill

Overview

Gemini CLI Hooks allow you to customize the behavior of the CLI at specific points in its lifecycle. Hooks can be used to set up environments, perform cleanup, log activity, or intercept tool calls.

Key Features

  • Lifecycle Events: Trigger scripts on session start, tool execution, model calls, etc.
  • Command Hooks: Execute shell scripts or system commands.
  • Configurable Filters: Use matchers to run hooks only for specific tools or prompts.
  • Layered Configuration: Project-specific hooks can override global user hooks.

Enablement

Hooks are an experimental feature and must be explicitly enabled in your settings.json:

Installs
1
First Seen
Mar 25, 2026
gemini-hooks from smithery.ai