Claude Code merges custom slash commands into skills, adding new capabilities
Anthropic's Claude Code has merged custom slash commands into a unified 'skills' system, a change verified against official documentation as of late July 2026. Previously, users could create simple slash commands by dropping markdown files into a .claude/commands/ directory; those files continue to work, but the underlying model has been consolidated with the skills framework. The merge introduces new features such as supporting file directories, frontmatter-controlled invocation permissions, and the ability for Claude to automatically trigger a skill when a conversation matches its description. Key behavioral details include shell-quoted indexed argument expansion via $ARGUMENTS, one-time tool grants that expire after a single turn, and shell command substitution using the !` ` syntax to inject live data like git diffs before Claude processes a prompt. When a command and a skill share the same name, the skill takes precedence, and developers are advised to reserve the commands directory for personal shortcuts while using skills for anything intended to grow or be shared.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in