[BUG] Claude Code SKILL.md attribute user-invocable vs user-invokable
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
So, the Claude Code CLI (version 2.1.34) it respects the SKILL.md YAML attribute user-invocable. However, in Visual Studio Code with the Claude Code extension installed (and the default copilot disabled so it doesn't affect anything), you get this warning message:
Attribute 'user-invocable' is not supported in skill files. Supported: argument-hint, compatibility, description, disable-model-invocation, license, metadata, name, user-invokable.
So, as you can see, the VS Code schema for SKILL.md attributes has user-invokable while the actual Claude Code CLI uses user-invocable. I did test and verify that while user-invokable validates in VS Code, it doesn't actually work in the Claude Code CLI.
What Should Happen?
The Claude Code extension in VS Code should be consistent with the actual Claude Code CLI implementation. I don't care which version is used, but both should agree. It's either user-invocable or user-invokable.
It makes sense to me that since the actual CLI is using user-invocable that the fix here is simply updating the Claude Code VS Code extension to validate user-invocable
Error Messages/Logs
Attribute 'user-invocable' is not supported in skill files. Supported: argument-hint, compatibility, description, disable-model-invocation, license, metadata, name, user-invokable.
Steps to Reproduce
- Create a SKILL with Claude Code
- In the SKILL file add a YAML attribute
user-invocable: false - Verify you see the warning message in VS Code that it wants user-invokable
- Verify that user-invocable does work in the Claude Code CLI (i.e. you don't see the skill in your slash commands)
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.34
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
<img width="759" height="395" alt="Image" src="https://github.com/user-attachments/assets/9876c7cd-dbda-4fd1-80bb-3a9547f098ba" />
This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗