You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: generated SKILL.md descriptions with colons are invalid YAML #1778
Codex/OpenAI skill loading skips several gstack skills because generated SKILL.md frontmatter contains inline plain YAML scalars with unescaped colons.
Example generated frontmatter:
---
name: setup-gbrainpreamble-tier: 2version: 1.0.0description: Set up gbrain for this coding agent: install the CLI, initialize a local PGLite or Supabase brain, register MCP, capture per-remote trust policy. (gstack)triggers:
- setup gbrain
---
A strict YAML parser treats the second colon (agent: install) as a mapping separator and fails with:
invalid YAML: mapping values are not allowed in this context
Affected examples
Observed in exported gstack skills:
setup-gbrain/SKILL.md
guard/SKILL.md
design-html/SKILL.md
design-shotgun/SKILL.md
design-review/SKILL.md
ship/SKILL.md
design-consultation/SKILL.md
plan-tune/SKILL.md
Expected
Generated SKILL.md frontmatter should parse as YAML in strict loaders.
Suggested fix
Quote one-line generated description: values or emit block scalars consistently. The generator should also parse every generated frontmatter block in tests, not just check that name: and description: strings exist.
Locally, this shape fixed the issue:
Quote inline description: values with JSON.stringify(...)
In gen-skill-docs.ts, normalize inline descriptions before writing generated content
In gen-skill-docs.test.ts, parse generated frontmatter with Bun.YAML.parse(...)
Verification
Local validation after patching exported skills:
checked 545 SKILL.md files, bad=0
Also no remaining unquoted inline descriptions with colons were found by:
@16francej Please close this issue as resolved. Generated skill descriptions with YAML-sensitive characters are now quoted safely, and strict parser tests protect the behavior. This shipped in #1808.
Generated description: values are now quoted, and a strict Bun.YAML.parse pass over all 56 generated SKILL.md frontmatter blocks on current main found no failures.
Fixed in v1.55.0.0 (#1808).
If you still see this on the latest gstack, please reopen with details.
Activity
fix(gen-skill-docs): use function replacer so a $ in a description ca…
v1.55.0.0 fix wave: gbrain data-loss guards + browser crash-loop + 6 …
time-attack commentedon Jul 15, 2026
@16francej Please close this issue as resolved. Generated skill descriptions with YAML-sensitive characters are now quoted safely, and strict parser tests protect the behavior. This shipped in #1808.
capy-ai commentedon Oct 3, 2026
Generated
description:values are now quoted, and a strictBun.YAML.parsepass over all 56 generatedSKILL.mdfrontmatter blocks on current main found no failures.Fixed in v1.55.0.0 (#1808).
If you still see this on the latest gstack, please reopen with details.