Skip to content

Project commands from .claude/commands/ not loaded in v2.1.89 #41864

@kienushkaCZ

Description

@kienushkaCZ

Description

Custom project-level slash commands from .claude/commands/ are not loaded in Claude Code v2.1.89. They don't appear in the / autocomplete list and Skill tool returns "Unknown skill" when trying to invoke them.

Steps to reproduce

  1. Create .claude/commands/morning.md with valid frontmatter:
    ---
    name: morning
    description: "Morning briefing"
    ---
    # Morning command content...
  2. Start a Claude Code session from the project directory
  3. Type / — custom commands don't appear in the list
  4. Try invoking via Skill tool — returns "Unknown skill: morning"

What was tried

  • Adding YAML frontmatter with name and description — no effect
  • Creating .claude/skills/morning/SKILL.md (plugin-style format) — no effect
  • Removing symlinks from commands directory — no effect
  • Disabling all plugins (enabledPlugins: {}) — no effect
  • Both project-level (.claude/commands/) and global-level (~/.claude/commands/) commands are affected
  • claude skills list CLI command DOES show the commands, but they're not available in sessions

Expected behavior

Commands from .claude/commands/*.md should appear as /command slash commands in the session, as they did in previous versions.

Environment

  • Claude Code v2.1.89
  • Linux (Ubuntu)
  • Node.js based installation

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions