Skip to content

build: invalid YAML in the i-adapt skill breaks codex-review #462

Open

Description

@bpowers

scripts/codex-review aborted while codex loaded the skills under .agents/skills/:

failed to load skill .agents/skills/i-adapt/SKILL.md: invalid YAML: did not find expected key at line 4 column 33

The frontmatter really is invalid YAML.
In .agents/skills/i-adapt/SKILL.md the line argument-hint: [TARGET=<value>] [CONTEXT=<value>] starts a YAML flow sequence and then has more text after it.
The other skills use a single [...], which parses as a one-item list, so only i-adapt fails (checked with PyYAML).

It was seen with codex-cli 0.121.0.
Whether the current codex (0.162) still aborts on it or just skips the skill is unknown.

Fix

Quote the value: argument-hint: "[TARGET=<value>] [CONTEXT=<value>]".
For consistency, quote the other argument-hint values too.

Pointers

  • .agents/skills/i-adapt/SKILL.md
  • scripts/codex-review

Activity

  1. added
    ci
    on Jun 8, 2026
  2. added
    bug
    on Oct 12, 2026
  3. changed the title [-]codex-cli 0.121.0 fails to parse user-invokable key in SKILL.md frontmatter, blocking codex-review[/-] [+]build: invalid YAML in the i-adapt skill breaks codex-review[/+] on Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugci

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions