Skip to content

Noisy "unknown field ignored" warnings on startup from plugin skills and commands #1631

@MrFixit96

Description

@MrFixit96

Describe the feature or problem you'd like to solve

Every time I start Copilot CLI, I get 20+ "unknown field ignored" warnings from skills and commands in installed plugins. Most of these fields are either defined in the Agent Skills spec (like license) or widely used across the plugin ecosystem (like argument-hint in commands). The warnings are noisy and there's nothing I can do about them as a user — the fields come from published plugins.

Proposed solution

Unknown frontmatter fields in SKILL.md and command .md files should be silently ignored (or logged at --log-level debug only), not warned to the user on every startup. This is how VS Code Copilot Chat already handles them (see #951).

Specifically:

  • Spec-defined fields like license, metadata, and compatibility should be recognized without warnings per the Agent Skills spec. (allowed-tools is already handled correctly — nice work!)
  • Command frontmatter fields like argument-hint and hide-from-slash-command-tool — used by claude-plugins-official itself — should be recognized.
  • Any other unknown field should be silently skipped for forward-compatibility as the spec and plugin ecosystem evolve.

This is related to #894 (license required when spec says optional) and #951 (metadata as last field breaks skill discovery).

Example prompts or workflows

  1. Install claude-plugins-official and hashicorp-agent-skills plugins. Start copilot. Observe 20+ warning lines before the prompt appears — tools, version, license, mcpServers from skills and argument-hint from 15+ command files.

  2. A skill with metadata as the last frontmatter field isn't discovered at all (Skills with metadata as last frontmatter field are not discovered #951):

    ---
    name: my-skill
    description: A skill.
    metadata:
      author: me
    ---
  3. A command using argument-hint (from GitHub's own claude-plugins-official):

    ---
    description: Create a new SDK app
    argument-hint: [project-name]
    ---

    Warns "unknown field ignored: argument-hint" on every startup.

  4. Skills shared across Copilot CLI, Claude Code, and Gemini CLI use the Agent Skills spec as a common format. Harness-specific fields (e.g. tools, mcpServers) from other tools shouldn't produce warnings in Copilot CLI.

  5. Plugin authors shouldn't need to maintain separate skill/command files per harness to avoid warnings.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions