logoalt Hacker News

jswnytoday at 4:26 AM0 repliesview on HN

I would not recommend this. A hook that modifies files causes Claude to have to re-read the file before modifying it again, which can build up your context window fast