fix: remove unsupported frontmatter attributes from SKILL.md#50
Open
luckyjc wants to merge 1 commit intocoleam00:mainfrom
Open
fix: remove unsupported frontmatter attributes from SKILL.md#50luckyjc wants to merge 1 commit intocoleam00:mainfrom
luckyjc wants to merge 1 commit intocoleam00:mainfrom
Conversation
Remove 'argument-hint' and 'disable-model-invocation' from the skill frontmatter as they are not supported attributes. Claude Code skill files only support: name, description, compatibility, license, and metadata. Arguments are still passed via $ARGUMENTS and work without argument-hint.
joel
approved these changes
Feb 26, 2026
joel
suggested changes
Feb 27, 2026
There was a problem hiding this comment.
Actually, this is not true:
The official documentation says: https://code.claude.com/docs/en/skills#frontmatter-reference
Here's the complete list from the official Claude Code docs:
| Field | Required | Description |
|---|---|---|
| name | No | Display name for the skill. Uses directory name if omitted. Lowercase letters, numbers, hyphens only (max 64 chars). |
| description | Recommended | What the skill does and when to use it. Claude uses this for triggering decisions. Falls back to first markdown paragraph if omitted. |
| argument-hint | No | Hint shown during autocomplete for expected arguments (e.g., [issue-number] or [filename] [format]). |
| disable-model-invocation | No | Set to true to prevent Claude from auto-loading the skill. Use for manual /name workflows only. Default: false. |
| user-invocable | No | Set to false to hide from the / menu. Use for background knowledge users shouldn't invoke directly. Default: true. |
| allowed-tools | No | Tools Claude can use without asking permission when this skill is active. |
| model | No | Model to use when this skill is active. |
| context | No | Set to fork to run in a forked subagent context. |
| agent | No | Which subagent type to use when context: fork is set. |
| hooks | No | Hooks scoped to this skill's lifecycle. See Hooks in skills and agents for configuration format. |
So 10 supported fields total, and none of them are strictly required (though description is strongly recommended).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Remove 'argument-hint' and 'disable-model-invocation' from the skill frontmatter as they are not supported attributes. Claude Code skill files only support: name, description, compatibility, license, and metadata.
Arguments are still passed via $ARGUMENTS and work without argument-hint.
Big fan of your content, thanks for putting this together! 🙌