logoalt Hacker News

crooked-vyesterday at 6:05 PM2 repliesview on HN

For me, step 1 of trying to make Claude even vaguely usable is putting in a hook that just tells it 'FUCK YOU, STOP USING PIPES' whenever it tries to chain multiple bash commands.


Replies

miki123211yesterday at 11:50 PM

Keep in mind that this likely destroys context and makes your costs go up considerably.

An agent often wants pipes so that it can `show_lots_of_logs | sed ...` and only see the part related to whatever error it's currently trying to debug. Without pipes, it has to take that entire log into the context. An agent without pipes is like a human without the ability to scroll.

show 2 replies
lonelyParensyesterday at 6:27 PM

stealing this