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
- Create
.claude/commands/morning.md with valid frontmatter:
---
name: morning
description: "Morning briefing"
---
# Morning command content...
- Start a Claude Code session from the project directory
- Type
/ — custom commands don't appear in the list
- 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
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 andSkilltool returns "Unknown skill" when trying to invoke them.Steps to reproduce
.claude/commands/morning.mdwith valid frontmatter:/— custom commands don't appear in the listWhat was tried
nameanddescription— no effect.claude/skills/morning/SKILL.md(plugin-style format) — no effectenabledPlugins: {}) — no effect.claude/commands/) and global-level (~/.claude/commands/) commands are affectedclaude skills listCLI command DOES show the commands, but they're not available in sessionsExpected behavior
Commands from
.claude/commands/*.mdshould appear as/commandslash commands in the session, as they did in previous versions.Environment
🤖 Generated with Claude Code