← Claude Code Hub
Nov 29, 2026 · 4 min read ✦ Tip #295

Claude Code skill or hook not loading: how to find out why

Claude Code says nothing when it skips a badly written skill, agent or hook: not at startup, not in claude doctor, not in /skills. Since v2.1.327 one place lists them, with the file and the reason.

A broken skill, agent and hook: startup, claude doctor, /skills and /hooks show no warning; in /status, System diagnostics lists each one with the reason

TL;DR Run /status and read System diagnostics: each line is a file or a rule Claude Code ignored, with the reason. If the section isn't there, nothing it can detect is broken. A typo in a tool name (bash, Edti) won't show up there: check those in /hooks.

A skill with broken frontmatter, an agent with no description or a hook whose matcher fits no tool raise no error at all. Claude Code skips them and carries on. You notice the skill never triggers or the hook never fires, and start guessing. Since v2.1.327, /status gathers those failures in a section of its own, with the file and the reason for each.

What you see in /status

In a test folder with a broken skill, command and agent and three mistakes in .claude/settings.json, on v2.1.332:

❯ /status

  Setting sources:     Shared project settings, Project local settings

  System diagnostics
  ⚠ Shared project settings: permissions.autoApprove isn't a permissions
    setting, so it's ignored
  ⚠ Shared project settings: PreToolUse hook matcher Bash(git push *) matches
    no tool · put the rule in "if"
  ⚠ Shared project settings: PostToolUse hook matcher mcp__github matches no
    tool · use mcp__github__.* (in a list, join names with |)
  ⚠ .claude/agents/reviewer.md not loaded: Missing required "description"
    field in frontmatter
  ⚠ /broken-skill frontmatter: did not parse as YAML (YAML Parse error:
    Unexpected EOF)
  ⚠ /deploy frontmatter: did not parse as YAML (YAML Parse error: Unexpected
    character)

Shared project settings is the project's .claude/settings.json; Project local settings, .claude/settings.local.json; User settings, ~/.claude/settings.json.

Why you hadn't seen it

With those same six failures, nothing else warns you:

Where you look What it shows
Session startup Nothing, it starts as usual
claude doctor in the terminal No installation issues found.
/skills ✔ broken-skill and ✔ deploy, as if they were fine
/hooks All three hooks under their event, no error mark
/status All six lines, with the reason

/skills counts the skill as loaded, and it is, but without its frontmatter. In the test, a claude -p session described broken-skill as "Say hi.", the first line of the body, not the description that was written. Claude decides when to use the skill from a sentence that isn't yours, and the agent with no description doesn't exist for it at all.

How to fix it

1. Open /status

Type /status. It opens on the Status tab, with System diagnostics at the bottom. It works while Claude is responding.

2. Find the file behind each line

Settings lines start with their source (Shared project settings, User settings). An agent shows its path, and a skill or command its slash name (/broken-skill, /deploy).

3. Fix what the line says

The line says What you change
did not parse as YAML Close the quotes, or quote a value that holds : or [
Missing required "description" Add description: to the agent's frontmatter
isn't a permissions setting, so it's ignored Delete the key, or move the value to where it really lives
matches no tool · put the rule in "if" matcher: "Bash" and the rule in if: "if": "Bash(git push *)"
matches no tool · use mcp__github__.* Name the server with its tool: mcp__github__.*
isn't a valid regular expression Fix the pattern (an unclosed Edit(, for instance)

4. Start a new session and run /status

With all six fixed, in a new session the section goes away entirely: below Auto mode server only ←/→ to switch · Esc to close is left. If a line remains, that file still isn't loading.

What /status doesn't catch

  • A typo in the name. A bash matcher (lowercase) or Edti doesn't show up: they're valid patterns that match nothing. Matchers are case-sensitive, so compare each one in /hooks with the real name: Bash, Edit, Write, Read.
  • A file passed with --settings. In the test, the same mistakes in a file loaded by flag didn't show up in System diagnostics.
  • An MCP server that won't connect. /mcp tells you that, and the "Failed to connect" decision tree tells you why.
  • What loads but costs you. Unused skills, a bloated CLAUDE.md or a slow hook are /doctor's job, and it proposes the fixes too.

If the hook loads but doesn't do what you expect, that's a different problem: a hook that fails without blocking.

Official docs: Debug your configuration

Requirements

Claude Code v2.1.327 or later. Tested on v2.1.332 on macOS with project skills, agents, commands and settings. The changelog also names output styles, keybindings and an unavailable sandbox: in the test an output style with broken YAML didn't show up in the list, and keybindings and the sandbox weren't tested.

Found this useful? See more of wmedia.es in your Google results.

Add wmedia.es as a preferred source on Google
FREE GUIDE

From the terminal to Desktop, as a guide.

Moving from the terminal to Claude Code Desktop is easy to start and easy to leave half done. 8 pages to keep beside you: day one, the map of the window, the shortcuts and your first cloud routine.

  • 1. Day one import your sessions
  • 2. The window map and shortcuts
  • 3. Conversations which to open and two prompts
  • 4. Panels which to use for what
  • 5. Routines your first in the cloud
Are you a professional Web developer?

You'll receive the guide by email · Unsubscribe anytime

of 8
#

Wmedia · 8 pages
FREE GUIDE · 8 pages · 2 prompts

From the terminal to Desktop, as a guide.

Moving from the terminal to Claude Code Desktop is easy to start and easy to leave half done. 8 pages to keep beside you: day one, the map of the window, the shortcuts and your first cloud routine.

Are you a professional Web developer? · Unsubscribe anytime

Moving from the terminal to Claude Code Desktop?