Re:Ask HN: How to Handle Claude's Stubbornness?
by classicpsy on Tuesday March 31, 2026 @10:04AM
(#47587574)
Thanks for the pointer. For now I’ve fixed the issue.
Your reply made me go through the hook script solution more carefully, and I’m exploring it now.
When that happens, the solution is straightforward: create a hook script that explicitly enforces the behavior you want. By doing so, you remove ambiguity and leave Claude no option but to comply.
If you can share a specific case where Claude isn’t following your prompts, I can help you craft an appropriate hook to correct it.