Skip to content
Navigation menu
Search
Powered by Algolia
Search
Log in
Create account
DEV Community
Close
Claude Code guardrails Series' Articles
Back to Agency Kit Studio's Series
Block rm -rf in Claude Code with a 27-line hook
Agency Kit Studio
Agency Kit Studio
Agency Kit Studio
Follow
Nov 26
Block rm -rf in Claude Code with a 27-line hook
#
claudecode
#
ai
#
tutorial
#
productivity
Comments
1
comment
5 min read
Moderation
Keep Claude Code out of .env and .git: deny rules or a 29-line hook
Agency Kit Studio
Agency Kit Studio
Agency Kit Studio
Follow
Nov 27
Keep Claude Code out of .env and .git: deny rules or a 29-line hook
#
claudecode
#
ai
#
tutorial
#
security
Comments
Add Comment
7 min read
Moderation
Make Claude Code ask before git push: an ask rule or a 27-line hook
Agency Kit Studio
Agency Kit Studio
Agency Kit Studio
Follow
Nov 29
Make Claude Code ask before git push: an ask rule or a 27-line hook
#
claudecode
#
ai
#
tutorial
#
git
Comments
1
comment
9 min read
Moderation
Screen agent personas before use: a 30-line script, run on 271 files
Agency Kit Studio
Agency Kit Studio
Agency Kit Studio
Follow
Nov 30
Screen agent personas before use: a 30-line script, run on 271 files
#
claudecode
#
ai
#
security
#
tutorial
Comments
Add Comment
6 min read
Moderation
843 commands against one rm -rf hook: what got through, and why
Agency Kit Studio
Agency Kit Studio
Agency Kit Studio
Follow
Dec 1
843 commands against one rm -rf hook: what got through, and why
#
claudecode
#
ai
#
agents
#
security
Comments
Add Comment
6 min read
Moderation
Turn Claude Code hooks into a plugin: five files, three checks
Agency Kit Studio
Agency Kit Studio
Agency Kit Studio
Follow
Dec 2
Turn Claude Code hooks into a plugin: five files, three checks
#
claudecode
#
ai
#
tutorial
#
plugins
Comments
1
comment
9 min read
Moderation
rm -rf inside a script: an empty variable a hook cannot see
Agency Kit Studio
Agency Kit Studio
Agency Kit Studio
Follow
Dec 3
rm -rf inside a script: an empty variable a hook cannot see
#
claudecode
#
bash
#
security
#
ai
Comments
Add Comment
4 min read
Moderation
We're a place where coders share, stay up-to-date and grow their careers.
Log in
Create account