Skip to content

clone-agent and detect-mode skills fail to load: argument-hint must be a string #176

Description

Bug

Two skills fail to load with the error argument-hint must be a string:

  • skills/clone-agent/skill.md
  • skills/detect-mode/skill.md

Error

When running /skills in the CLI, the following is shown:

The following skills failed to load:
X ...skills\clone-agent\SKILL.md: argument-hint must be a string
X ...skills\detect-mode\SKILL.md: argument-hint must be a string

Root Cause

Both skill frontmatter files use unquoted square brackets for argument-hint, which YAML parses as an array rather than a string:

# clone-agent/skill.md
argument-hint: [agent name or environment hint]

# detect-mode/skill.md
argument-hint: [--agent-dir <path>]

YAML interprets [...] without quotes as an inline sequence (array), but the CLI requires argument-hint to be a string.

Fix

Wrap the values in quotes:

# clone-agent/skill.md
argument-hint: "[agent name or environment hint]"

# detect-mode/skill.md
argument-hint: "[--agent-dir <path>]"

Impact

Skills still load and function correctly once their argument-hint is quoted ? this is purely a YAML parsing issue in the frontmatter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions