VS Code extension rejects valid skill frontmatter: context, agent, allowed-tools

Resolved 💬 2 comments Opened Mar 22, 2026 by Ajek1993 Closed Apr 20, 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?

The VS Code extension's skill file validator reports errors for context, agent, and allowed-tools frontmatter fields, even though these are officially supported and documented by Claude Code CLI.

What Should Happen?

These fields should be recognized as valid — they work correctly in the CLI.

Error Messages/Logs

- Attribute 'context' is not supported in skill files. Supported: argument-hint, compatibility, description, disable-model-invocation, license, metadata, name, user-invocable.                     
- Attribute 'agent' is not supported in skill files. (same list)                                                                                                                                      
- Attribute 'allowed-tools' is not supported in skill files. (same list)

Steps to Reproduce

  • Create a skill file with context: fork, agent: my-agent, and allowed-tools: Read, Grep, Glob, Write in frontmatter
  • Open in VS Code with Claude Code extension
  • See warnings in Problems panel

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.81 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

WSL (Windows Subsystem for Linux)

Additional Information

_No response_

View original on GitHub ↗

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