Need a customized project? We build it to your exact requirements.Contact us on WhatsApp
Unlock all 2,109 skills, agents and commands · $19.98 $22.20 · one-time Buy now

Claude Code Hooks 65

Hooks that run before or after Claude Code actions.

Agents Md LoaderHook · automationAutomatically loads AGENTS.md configuration file content at session start to ensure Claude Code follows project-specific agent behavior. Only loads if AGENTS.md exists, otherwise passes empty context. Supports the universal AGENTS.md standard for cross-platform AI assistant compatibility.Build On ChangeHook · automationAutomatically trigger build processes when source files change. Detects common build tools and runs appropriate build commands.Change LoggerHook · automationLog every file mutation to CSV for demo prep. Records timestamp, tool, file path, action, and details for Edit, MultiEdit, Write, and Bash operations. Output: .claude/critical log changes.csvDependency CheckerHook · automationAdvanced dependency analysis and security checking. Monitors for outdated packages, security vulnerabilities, and license compatibility.Deployment Health MonitorHook · automationMonitor deployment status, error rates, and performance metrics, sending notifications for failed deployments or performance degradation. Tracks Vercel deployment health, monitors build success/failure rates, and provides alerts for deployment issues. Setup: Export 'export VERCEL TOKEN=your…Discord Detailed NotificationsHook · automationSend detailed Discord notifications with session information when Claude Code finishes. Includes working directory, session duration, and system info with rich embeds. Requires DISCORD WEBHOOK URL environment variable.Discord Error NotificationsHook · automationSend Discord notifications when Claude Code encounters long-running operations or when tools take significant time. Helps monitor productivity and catch potential issues with rich embeds. Requires DISCORD WEBHOOK URL environment variable.Discord NotificationsHook · automationSend Discord notifications when Claude Code finishes working. Requires DISCORD WEBHOOK URL environment variable. Get webhook URL from Discord Server Settings - Integrations - Webhooks.Plan Mode GameHook · automationPlay games while Claude plans. Launches a browser game (Dino Runner, Snake, or Flappy Bird) automatically when Claude enters Plan Mode via EnterPlanMode or /plan. A live activity panel shows Claude's tool calls in real time. The game pauses when Claude needs input (AskUserQuestion) and shows a…Simple NotificationsHook · automationSend desktop notifications when Claude Code finishes working or needs user input. Works on macOS and Linux systems.Slack Detailed NotificationsHook · automationSend detailed Slack notifications with session information when Claude Code finishes. Includes working directory, session duration, and system info. Requires SLACK WEBHOOK URL environment variable.Slack Error NotificationsHook · automationSend Slack notifications when Claude Code encounters long-running operations or when tools take significant time. Helps monitor productivity and catch potential issues. Requires SLACK WEBHOOK URL environment variable.Slack NotificationsHook · automationSend Slack notifications when Claude Code finishes working. Requires SLACK WEBHOOK URL environment variable. Get webhook URL from Slack App settings - Incoming Webhooks.Telegram Detailed NotificationsHook · automationSend detailed Telegram notifications with session information when Claude Code finishes. Includes working directory, session duration, and system info. Requires TELEGRAM BOT TOKEN and TELEGRAM CHAT ID environment variables.Telegram Error NotificationsHook · automationSend Telegram notifications when Claude Code encounters long-running operations or when tools take significant time. Helps monitor productivity and catch potential issues. Requires TELEGRAM BOT TOKEN and TELEGRAM CHAT ID environment variables.Telegram NotificationsHook · automationSend Telegram notifications when Claude Code finishes working. Requires TELEGRAM BOT TOKEN and TELEGRAM CHAT ID environment variables. Get bot token from @BotFather, get chat ID by messaging the bot and visiting https://api.telegram.org/bot /getUpdatesTelegram Pr WebhookHook · automationSend Telegram notification when a new PR is created via gh pr create. Includes PR URL and Vercel preview URL. Requires TELEGRAM BOT TOKEN and TELEGRAM CHAT ID environment variables. Optionally set VERCEL PROJECT NAME and VERCEL TEAM SLUG to construct the Vercel preview URL automatically.Vercel Auto DeployHook · automationAutomatically trigger Vercel deployments when code changes are committed, with environment-specific deployment strategies and rollback on failure. Setup: Export environment variables 'export VERCEL TOKEN=your token' and 'export VERCEL PROJECT ID=your project id' (get your token from…Vercel Environment SyncHook · automationSynchronize environment variables between local development and Vercel deployments, ensuring consistency across all environments. Detects changes to .env files and provides options to sync with Vercel, validates environment variable format, and ensures required variables are present. Setup:…Change TrackerHook · development-toolsTrack file changes in a simple log. Records which files were modified and when for easy tracking of Claude Code activity.Command LoggerHook · development-toolsLog all Claude Code commands to a file for audit and debugging purposes. Simple logging that records tool usage with timestamps.Debug WindowHook · development-toolsAuto Debug Log Viewer. Opens a live-tailing debug log window when Claude Code starts with --debug or -d flag. The window closes automatically on session end. To keep the debug window open after the session ends, set the DEBUG WINDOW AUTO CLOSE DISABLE=1 environment variable in the env property…Edit Audit LogHook · development-toolsLog all file edits to a project-local audit file with timestamps. Records every Edit tool usage to .claude/edit-log.txt for tracking changes across sessions. Requires jq.File BackupHook · development-toolsAutomatically backup files before editing. Creates timestamped backups in a .backups directory when files are modified.Lint On SaveHook · development-toolsAutomatically run linting tools after file modifications. Supports ESLint for JavaScript/TypeScript, Pylint for Python, and RuboCop for Ruby.Nextjs Code Quality EnforcerHook · development-toolsEnforce Next.js best practices, proper file structure, component patterns, and TypeScript usage with automated code reviews and suggestions. Validates Next.js App Router conventions, Server/Client component patterns, proper imports, and TypeScript usage. Provides real-time feedback on code…Smart FormattingHook · development-toolsSmart code formatting based on file type. Automatically formats code using Prettier, Black, gofmt, rustfmt, and other language-specific formatters.Worktree GhosttyHook · development-toolsWorktree Ghostty Layout. Opens a 3-panel Ghostty layout when creating worktrees: Claude Code (left) | lazygit (top-right) / yazi (bottom-right). Creates worktrees in a sibling directory (../worktrees/ / /) and cleans up on removal. macOS only. Requires: jq, Ghostty terminal, lazygit, yazi.…Doordash Allergy Checkout GateHook · doordashDeterministic allergy tripwire for DoorDash CLI (dd-cli) checkouts. Before any 'dd-cli order checkout-url' (direct or via the dd-guard wrapper) it verifies that a fresh vetted-cart dump exists for that cart (written by the doordash-allergy-shield skill after vetting) and independently re-greps…Doordash Audit LogHook · doordashAppend-only audit log of every DoorDash CLI (dd-cli) invocation made through Claude Code. A PostToolUse hook records one versioned JSON line per dd-cli command (timestamp, session, cwd, command with tokens stripped, event type derived from the command itself - search / cart mutation / checkout…Doordash Group Checkout GateHook · doordashLive allergen re-check for DoorDash CLI group orders. When a checkout runs for a cart that has a doordash-group-orders round ledger (.dd/round- .json), this hook itself runs 'dd-cli cart show', joins cart lines to eaters via the person-to-cart-item-id ledger, and re-derives allergen conflicts…Doordash Spend GuardHook · doordashEnforce the dd-guard spending gate for DoorDash CLI (dd-cli). Denies raw 'dd-cli order checkout-url' and 'dd-cli cart add-items' Bash calls that bypass the dd-guard.sh wrapper (installed by the doordash-spend-guard skill), and denies command-line writes to the policy file limits.json, which must…Auto Git AddHook · git-workflowAutomatically stage modified files with git add after editing. Helps maintain a clean git workflow by staging changes as they're made.Smart CommitHook · git-workflowIntelligent git commit creation with automatic message generation and validation. Creates meaningful commits based on file changes.Conventional CommitsHook · gitEnforce conventional commit message format for all git commits. Validates commit messages follow the pattern: type(scope): description. Supported types: feat, fix, docs, style, refactor, perf, test, chore, ci, build, revert. Ensures consistent commit history for changelog generation and semantic…Prevent Direct PushHook · gitPrevent direct pushes to protected branches (main, develop). Blocks git push commands targeting main or develop branches to enforce Git Flow workflow. Requires using feature/release/hotfix branches and pull requests instead of direct commits to protected branches.