logoalt Hacker News

vidarhyesterday at 12:50 PM2 repliesview on HN

Something that contains Claude even more in this respect is if you explicitly gives it a directory that you tell it is entirely under its control, and tells it to write md files and other intermediate work products there (and this seems to work better than telling it where it isn't allowed to leave things).


Replies

onionisafruityesterday at 2:13 PM

That sounds like a good idea. When I have a one-off need for misc files I tell it to put them in the project’s ./tmp because that’s already in my global gitignore. That generally works, but I still run into surprise files it leaves in source dirs like a puppy leaves turds on a rug. I’ll try adding that to my instructions instead of doing it one-off.

jermaustin1yesterday at 2:16 PM

I've often found that LLMs don't listen to "Don't do" commands with anywhere near the same gusto as "Do" commands.

show 1 reply