Claude Code - Getting Started with Hooks

Greg Baugues · Beginner ·🧠 Large Language Models ·11mo ago

Key Takeaways

Getting started with Claude Code Hooks, a feature for custom commands and events

Original Description

Hooks is a Claude Code feature that lets you run custom commands on Claude Code events such: bash commands, file edits, git commits, todos updated, etc. To get started with hooks, I built a claude code soundboard. I had claude code play different sounds depending on the event that was happening. This helped me learn the different events, and made claude a lot more fun (especially when running parallel). This video is a getting started guide for Claude Code and hooks. We walk through editing your settings.json, the different types of claude code events, getting custom sounds, running custom python scripts with hooks, etc. You can find the code for custom hooks handler at: https://haihai.ai/hooks
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related AI Lessons

10 ChatGPT Prompts for Job Seekers: Resumes, Interviews & Career Growth
Learn how to leverage ChatGPT for job searching, resume building, and career growth with 10 actionable prompts
Medium · ChatGPT
Lost in Transcription: The Week the Machine Started Lying
Learn how Whisper AI transcription can be flawed and understand the importance of validation in AI-generated text
Medium · AI
How We Translate 300-Page Books Using Claude Without Hitting Token Limits
Learn how to translate long documents using Claude without hitting token limits by breaking them into overlapping chunks
Dev.to · 龚旭东
Building HITL Feedback RAG: Embeddings, Retrieval, and Reranking
Learn to build a Human-in-the-Loop (HITL) Feedback RAG system using embeddings, retrieval, and reranking to improve model performance
Medium · AI
Up next
5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
Dave Ebbelaar (LLM Eng)
Watch →