Skip to content

[BUG] bmad-module-builder ships an invalid SKILL.md template that Codex skips during skill loading #2232

@cmd16

Description

@cmd16

Description

The bmad-module-builder module includes a template skill file that is being picked up by Codex skill discovery, but its YAML frontmatter is invalid for the expected schema.

The affected file is:

.agents/skills/bmad-module-builder/assets/setup-skill-template/SKILL.md

Its frontmatter starts with:

name: { setup-skill-name }
description: Sets up {module-name} module in a project. Use when the user requests to 'install {module-code} module', 'configure {module-name}', or 'setup {module-name}'.

The name value is parsed as a YAML map rather than a string, so Codex rejects the file and logs an invalid SKILL.md error.

Making the below changes (adding quotes) fixed the issue


name: "{setup-skill-name}"
description: "Sets up {module-name} module in a project. Use when the user requests to 'install {module-code} module', 'configure {module-name}', or 'setup {module-name}'."

Steps to reproduce

  1. Install or load the BMAD method skills in Codex.
  2. Start a Codex session in an environment where .agents/skills/bmad-module-builder/assets/setup-skill-template/SKILL.md is present.
  3. Observe the skill-loading warning: skipped loading 1 skill(s) due to invalid SKILL.md files.
  4. Check the Codex log output.

Expected behavior

Codex should load all shipped BMAD skill files cleanly without warnings.

The template file should either:

  • contain valid YAML frontmatter, or
  • be stored somewhere that is not scanned as a loadable skill.

Actual behavior

Codex skips loading one skill file because the template SKILL.md has invalid YAML frontmatter.

Screenshots

No response

Which module is this for?

BMad Method (BMM) - Core Framework

BMad Version

6.2.2

Which AI IDE are you using?

Other

Operating System

macOS

Relevant log output

failed to load skill [project-root].agents/skills/bmad-module-builder/assets/setup-skill-template/SKILL.md: invalid YAML: name: invalid type: map, expected a string at line 1 column 7

Note that [project-root] here is being used as a placeholder to redact actual project root path.

Confirm

  • I've searched for existing issues
  • I'm using the latest version

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions