logoalt Hacker News

Gazocheyesterday at 1:49 PM1 replyview on HN

https://github.com/anthropics/claude-code/tree/main/plugins/...

So it's basically adding "don't delete my files pretty please" to the prompt?

EDIT: I misread, the natural language description of the rule is just a shortcut to generate the actual rule which is based on regexp patterns.

Still, it only protects you against very specific commands. Won't help you if the LLM decides to fill your disk with `cat /dev/urandom > foo` for example.


Replies

simianwordsyesterday at 2:19 PM

it may not protect against an adversarial llm