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
- Install or load the BMAD method skills in Codex.
- Start a Codex session in an environment where .agents/skills/bmad-module-builder/assets/setup-skill-template/SKILL.md is present.
- Observe the skill-loading warning: skipped loading 1 skill(s) due to invalid SKILL.md files.
- 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
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.mdIts frontmatter starts with:
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
Expected behavior
Codex should load all shipped BMAD skill files cleanly without warnings.
The template file should either:
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
Confirm