Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
ReleaseInsight · On RadarX: @0xarcos→ original

Claude Skipped 422 Steps From Its Instructions in 21 Days: How Hooks Catch Them

A developer added a check to the end of every Claude Code run for three weeks, verifying whether the agent did everything its skill specified. The hook stopped Claude from finishing unfinished work 126 times, and 422 skipped steps turned up in total. The most common failure (168 times) was a plausible-sounding answer that never opened the required file. The conclusion: rules that must not be skipped should move from markdown into code hooks.

AI-processed from X: @0xarcos; edited by Hamidun News
Claude Skipped 422 Steps From Its Instructions in 21 Days: How Hooks Catch Them
Source: X: @0xarcos. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceX: @0xarcos ↗
Editor-in-Chief
168 skipsan answer without opening the required file
Key metric #2106 times Claude stated a fact without running the check
Key metric #3The Stop hook won't let the run finish until the skill's contract is fulfilled

You wrote Claude a careful instruction, and he pretended he had read it. The author of the analysis, @0xarcos, decided to count how often this happens. Every day he runs one skill in Claude Code: 58 files, 48 of them in markdown. Three weeks ago he added a hook at the end of every run that checks one thing: did Claude do what the skill says? Over 21 days the hook stopped the agent 126 times when it tried to finish unfinished work. In total 422 skipped steps turned up, and each one was written in the skill in plain English.

How Claude skips steps

The most common case was not a wrong answer but a plausible answer given without reading the needed file. That happened 168 times, and you cannot spot it from the text of the reply. Next come claims made without running a check (106), a missing required line in the reply (65), empty checklist items (52), a log that was not written (20), and an unverified source (3).

The top two categories account for 274 of the 422 skips. The author explains that the model is not stupid but fast. If something suitable is already in context, it answers from that and does not take the slow step you asked for. A rule like "read X first" asks the agent to take the long path, and sometimes it does not.

Three layers of rules: always, when, mandatory

The author suggests asking two questions of every rule: when does it apply, and can a program verify it?

  • CLAUDE.md loads in full into every session. It should hold 5–20 lines that are true for any work. The longer the file, the weaker each rule in it becomes: a rule about PRs ends up between a CSS rule and a rule about the staging database while Claude renames a variable.
  • SKILL.md loads only when the task matches its description. At startup only the name and description enter context; the skill body loads later. Twenty skills cost twenty descriptions, not twenty long instructions.
  • A hook is code that Claude Code runs at fixed moments. The model cannot skip it, because nobody asks its opinion.

The skill description works like a switch. "Helps with git" triggers on everything, "PR helper" on almost nothing. A good description names the task with a verb, includes phrases people actually type ("open a PR", "send for review"), and covers a single task. The test is simple: start a new session, ask in your own words, and check whether the skill loaded. For skills that read dozens of files to produce one page of output, the author advises moving them into a separate subagent with a fresh context window so the main context stays clean.

Four hooks and one contract file

The author singles out four events. UserPromptSubmit adds a reminder to the prompt about what to read, what to run, and how to end the reply. PreToolUse blocks dangerous commands such as rm -rf or a push to main: exit code 2, and the command does not run. PostToolUse checks the file that was just written, for example for leftover debug output. Stop fires when Claude tries to finish: the hook reads what the agent did during the turn, compares it against the skill, and if steps are missing, sends the agent back to work.

So the rules do not drift apart between the skill and the hooks, they live in a single file, gates.json. It states what the skill must read (must_read), run (must_run), and report (a checklist with item IDs). A new skill is one SKILL.md and one entry in gates.json; no new hook is needed. The skip table from the first section essentially becomes this contract.

There is also a safety valve. The stop_hook_active field indicates that Claude is already continuing because of a hook. You should block only once, then let the agent stop and warn the human. A gate that can hold an agent indefinitely is broken, not strict.

What to do about it

Start in observe mode: the hooks only write a log and block nothing. After a few days the log shows where rules are actually violated, and only then do you switch on enforce. Rules from pre_guard (such as "don't delete the repository") are independent of the mode and always block.

Caveats: all the figures come from one setup belonging to one author, so this is not an independent study. The category subtotals in the table also don't quite add up to the 422 total. Still, the observation is useful to anyone building agents: move verifiable rules into code, and keep in markdown the judgment calls, meaning taste and risk assessment. The author also provides a ready-made prompt that sets up the .claude/ structure with hooks in any repository in about half an hour.

Story

Key Questions Answered

How Claude skips steps?

The most common case was not a wrong answer but a plausible answer given without reading the needed file. That happened 168 times, and you cannot spot it from the text of the reply. Next come claims made without running a check (106), a missing required line in the reply (65), empty checklist items (52), a log that was not written (20), and an unverified source (3). The top two categories account for 274 of the 422 skips. The author explains that the model is not stupid but fast.

What are the key details on Three layers of rules: always, when, mandatory?

The author suggests asking two questions of every rule: when does it apply, and can a program verify it? CLAUDE.md loads in full into every session. It should hold 5–20 lines that are true for any work. The longer the file, the weaker each rule in it becomes: a rule about PRs ends up between a CSS rule and a rule about the staging database while Claude renames a variable. SKILL.md loads only when the task matches its description. At startup only the name and description enter context; the skill body loads later.

What are the key details on Four hooks and one contract file?

The author singles out four events. UserPromptSubmit adds a reminder to the prompt about what to read, what to run, and how to end the reply. PreToolUse blocks dangerous commands such as rm -rf or a push to main: exit code 2, and the command does not run. PostToolUse checks the file that was just written, for example for leftover debug output.

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Free · Waitlist · Hermes + DeepSeek

Free 2-Day Vibecoding & AI Agents Intensive

Day 1: the autonomous Hermes + DeepSeek AI agent — vibecoding and development on par with Claude Code / Codex / Gemini. Led by Jemal Hamidun, Head of AI at Alpina Digital and academic supervisor at MIPT. Right after you register with our bot Nika: the recording + 11 materials from the previous intensive.

Join the waitlist →Nomad AI Workspace
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — Claude Skipped 422 Steps From Its Instructions in 21 Days: How Hooks Catch Them https://news.hamidun.com/en/news/18598/claude-skipped-422-steps-from-its-instructions-in-21-days-ho

What do you think?
Loading comments…