⌨️Read-Only Command
Also known as safe command, ls cat grep
Shell commands that only look, so they never ask.
Think of it like
It is like looking at a shop window. You do not need to ask to look.
Example
Claude runs ls and grep a dozen times to learn Lucy's code. None of them stop to ask her.
Why it matters
Looking around is most of the work. Asking for each look would make Claude slow to use.
Definition
Example code
console
$ ls src && grep -r TODO src
# both read-only: runs with no prompt
$ find . -name '*.tmp' -delete
# -delete writes: asks firstCommon mistake
Key takeaways
- 1Only looks. Changes nothing.
- 2Never asks. In any mode.
- 3Fixed list. Use allow rules.