Skip to main content
Bluvy Tube
Press Esc to exit fullscreen
Volume m
/
i
Theater mode t
f
/
Claude Code hooks: the rule you wrote in CLAUDE.md is advice. A hook is the same rule as a command that runs every single time. Hooks run automatically at set points in a session — tool calls, turns, session start — so a rule stops depending on the model remembering it. #ClaudeCode #AICoding

Keyboard shortcuts

Space K
Play / pause
← →
Back / forward 5 s
J L
Back / forward 10 s
0–9
Jump to 0%–90% of the video
Home End
Start / end
, .
Previous / next frame (while paused)
< >
Slower / faster
↑ ↓
Volume
M
Mute / unmute
C
Captions
F
Fullscreen
I
Picture-in-picture
T
Theater mode
?
Show this help

Claude Code hooks: the rule you wrote in CLAUDE.md is advice. A hook is the same rule as a command that runs every single time. Hooks run automatically at set points in a session — tool calls, turns, session start — so a rule stops depending on the model remembering it. #ClaudeCode #AICoding

LoopStackDaily

LoopStackDaily

@loopstackdaily.bsky.social

Subscribe
0 views Published on 05/12/2026 00:01 0:33
#claudecode #aicoding
Claude Code hooks: the rule you wrote in CLAUDE.md is advice. A hook is the same rule as a command that runs every single time. Hooks run automatically at set points in a session — tool calls, turns, session start — so a rule stops depending on the model remembering it. #ClaudeCode #AICoding
1 comment
?
The catch: a blocking hook with no clear message leaves the agent guessing why work stopped — every block needs a reason string. And a hook runs on every match, including the times you did not mean it to.

No new purchase — hooks ship with Claude Code access.
A fair test you can run: add the format-on-edit hook, ask for one small edit, and check the file comes back formatted without you asking. Then try the blocked command on a throwaway file and read the block message.
View original post on Bluesky
Link copied to clipboard

Sign in

Time to take a break

You've been watching videos for 30 minutes straight: give yourself 5 minutes away from the screen. Stand up, stretch, grab a glass of water… Your videos will be right here when you're back.