[BUG] VS Code extension: 'model' attribute incorrectly flagged as unsupported in skill frontmatter

Resolved 💬 3 comments Opened Feb 23, 2026 by 0xadri Closed Feb 23, 2026

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?

Bug Description

The VS Code extension shows the following warning when a SKILL.md file contains a model: frontmatter field:

> Attribute 'model' is not supported in skill files. Supported: argument-hint, compatibility, description,
disable-model-invocation, license, metadata, name, user-invokable.

Notes:

The skill functions correctly in the CLI — this is purely a validation issue in the VS Code extension's frontmatter
schema.

What Should Happen?

## Expected Behavior

No warning should be shown. According to the official documentation at https://code.claude.com/docs/en/skills, model
is a valid frontmatter field:

> | model | No | Model to use when this skill is active. |

## Actual Behavior

The VS Code extension flags model as an unsupported attribute, even though it is documented and works correctly in
the CLI.

Error Messages/Logs

Steps to Reproduce

## Steps to Reproduce

  1. Create .claude/skills/my-skill/SKILL.md with:

``yaml
---
name: my-skill
description: Some description
model: sonnet
---
``

  1. Open the file in VS Code with the Claude Code extension installed.
  2. Observe the warning on the model: line.

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

Claude Code for VS Code, Version 2.1.49

Platform

Other

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

<img width="925" height="184" alt="Image" src="https://github.com/user-attachments/assets/d9e1c10a-dd1b-4e0c-8765-2aa2a7a98582" />

<img width="1141" height="733" alt="Image" src="https://github.com/user-attachments/assets/a1717828-cfc6-4242-bda6-2600c7562aaa" />

Related https://github.com/anthropics/claude-code/issues/27009

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗