logoalt Hacker News

gf000 • yesterday at 6:10 AM • 1 reply • view on HN

How does it generally work? Does it run a smaller model on a small set of tool calls/previous thinking block?


Replies

jon-wood • yesterday at 12:11 PM

Hooks should (in my opinion) be deterministic. As an example I’ve also noticed Claude writing Python scripts to extract fields from JSON when jq is available to it. They almost always contain the same patterns, and having seen this I’m going to write a hook which triggers on those and fails the turn telling it to use jq instead.

➕ show 1 reply