The letter

One letter a week, starting soon.

The week's signal, what shipped, what is worth running tonight, and the editor's note. No tracking, no ads, nothing else.

We keep your address, your language and the date you joined, nothing else. Every letter has a one-click unsubscribe link that deletes the record.

← Accept All   Archive
Zenn (AI)Japan

Claude Codeのhooksで rm -rf を止める。試してわかった抜け道も

10.20

Claude Code にターミナル作業を任せていると、rm -rf のようなコマンドを実行されるのが気になります。Claude Code の hooks(決まったタイミングで自分のコマンドを自動で実行させる仕組み)を使うと、Bash ツールでコマンドが実行される直前に自分のスクリプトを挟んで止められます。

Models & releasesAgents & vibe coding
Read at Zenn (AI) ↗

Related

More from Zenn (AI) on Accept All.