---
title: "Discussion on \"Claude Code auto mode blocked 89% of dangerous commands in a controlled test. Humans blocked 13.6%\" | Hashnode"
description: "Discussion on \"Claude Code auto mode blocked 89% of dangerous commands in a controlled test. Humans blocked 13.6%\". Anthropic tested Claude Code with 1,053 paid professionals and substituted prompts. Set access limits, Stop hooks and CI for unattended sessions."
url: "https://hashnode.com/posts/claude-code-best-practices-auto-mode-hooks-ci/6af6b357bafc7a7b0687b08e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Claude Code auto mode blocked 89% of dangerous commands in a controlled test. Humans blocked 13.6%](https://developer.tenten.co/claude-code-best-practices-auto-mode-hooks-ci?utm_source=hashnode&utm_medium=feed)

Anthropic tested Claude Code with 1,053 paid professionals and substituted prompts. Set access limits, Stop hooks and CI for unattended sessions.

8h ago · 8 min read · developer.tenten.co  
Read the article

-   [#devops](https://hashnode.com/tag/devops)
-   [#artificial-intelligence](https://hashnode.com/tag/artificial-intelligence)

## Written by

[Ewan Mak](https://hashnode.com/@tentenco)

@tentenco · SF

  
[View profile](https://hashnode.com/@tentenco)

Tenten build engaging user experiences for startups and corporates by connecting the dots between users’ needs and the business model.

Crafting seamless user experiences with a passion for headless CMS, Vercel deployments, and Cloudflare optimization. I'm a Full Stack Developer with expertise in building modern web applications that are blazing fast, secure, and scalable. Let's connect and discuss how I can help you elevate your next project!

## Responses 2

Markdown supported · ⌘↵ to post

[Vic Moreno](https://hashnode.com/@itsvicmoreno)

[4h ago](https://hashnode.com/posts/claude-code-best-practices-auto-mode-hooks-ci/6af6b357bafc7a7b0687b08e/comment/6af6f1085893e6480a9f64bd)

13.6% is the number that stings: a human clicking through approval prompts is a weaker gate than a classifier that never gets tired. Of the three, a Stop hook that runs the tests before the session may end is the cheapest to add. Did the test say how much of the missed 11% was actually destructive?

[Paul Pham](https://hashnode.com/@paulpham157)

[5h ago](https://hashnode.com/posts/claude-code-best-practices-auto-mode-hooks-ci/6af6b357bafc7a7b0687b08e/comment/6af6e1046ae82afa491d9a30)

the 89% versus 13.6% gap makes permission boundaries worth testing rather than assuming
