Re:Claude can now create and edit files
by geeunits on Wednesday September 10, 2025 @03:18AM
(#45194331)
Does already, read the docs
[ Parent
| on HN ]
Re:Claude can now create and edit files
by boie0025 on Wednesday September 10, 2025 @03:33AM
(#45194430)
I think a link would have been far more helpful than "RTFM". Especially for those of us reading this exchange outside of the line of fire.
Re:Claude can now create and edit files
by geeunits on Wednesday September 10, 2025 @10:05AM
(#45197894)
Don't put the onus (Opus!) on me! Just a dad approach to helping. If there's enough time to writ prose about the problem you could at least rtfm first!
Re:Claude can now create and edit files
by simonw on Wednesday September 10, 2025 @10:14AM
(#45198020)
If you know something is covered by the documentation it's useful to provide a link, especially if that documentation is difficult to find.
(I couldn't find that documentation when I went looking just now.)
Re:Claude can now create and edit files
by geeunits on Wednesday September 10, 2025 @10:40AM
(#45198443)
Step 1:
https://docs.anthropic.com
Step 2: Type 'Allowed Tools'
Step 3: Click: https://docs.anthropic.com/en/docs/claude-code/sdk/sdk-headl...
Step 4: Read
Step 5: Example --allowedTools "Read,Grep,WebSearch"
Step 6: Profit?
Re:Claude can now create and edit files
by simonw on Wednesday September 10, 2025 @11:44AM
(#45199382)
The original question was about this:
> allow zoned access enforcement within files. I want to be able to say "this section of the file is for testing", delineated by comments, and forbid Claude from editing it without permission.
Re:Claude can now create and edit files
by holbrad on Friday September 12, 2025 @04:45AM
(#45220080)
So you've completely misunderstood what the discussion is about...
Maybe rtft ? Read the fucking thread.
Re:Claude can now create and edit files
by boie0025 on Tuesday September 23, 2025 @01:00AM
(#45342997)
I think you missed a critical step: 1.5: know that "allowed tools" is the correct incantation required to summon the relevant documentation; which, at least to me, is not obvious at all in the context of the OP.