Skip to content

Fix invalid YAML in openclaw skill metadata#876

Open
quanru wants to merge 1 commit intogarrytan:mainfrom
quanru:codex/fix-openclaw-skill-yaml
Open

Fix invalid YAML in openclaw skill metadata#876
quanru wants to merge 1 commit intogarrytan:mainfrom
quanru:codex/fix-openclaw-skill-yaml

Conversation

@quanru
Copy link
Copy Markdown

@quanru quanru commented Apr 7, 2026

What changed

This fixes invalid YAML front matter in three OpenClaw skill files:

  • openclaw/skills/gstack-openclaw-investigate/SKILL.md
  • openclaw/skills/gstack-openclaw-office-hours/SKILL.md
  • openclaw/skills/gstack-openclaw-ceo-review/SKILL.md

Each description: field is converted from a single plain scalar to a block scalar (description: |), preserving the original text while making the front matter parseable.

Why

These skills were being skipped during load because their description: values contained unquoted : sequences, which YAML interprets as mapping separators.

Impact

The three OpenClaw skills can now be loaded normally instead of being rejected as invalid SKILL.md files.

Root cause

The front matter used unquoted one-line YAML scalars for long descriptions that included colon-space sequences.

Validation

  • Parsed the three updated front matter blocks with Ruby YAML.safe_load
  • Parsed every openclaw/skills/*/SKILL.md front matter block to confirm the directory returns ALL_OK

@quanru quanru marked this pull request as ready for review April 7, 2026 07:59
@quanru quanru changed the title [codex] Fix invalid YAML in openclaw skill metadata Fix invalid YAML in openclaw skill metadata Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant