YAML parser crashes on ": " pattern in skill description #4179

Closed
opened 2026-02-16 17:42:54 -05:00 by yindo · 1 comment
Owner

Originally created by @ElwinLiu on GitHub (Jan 4, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

If the description part contains ": ", then yaml parser will crash. As a result, opencode can't respond or load properly

Plugins

No response

OpenCode version

1.0.220

Steps to reproduce

  1. Create or edit a skill file
  2. Description field contains ": " pattern (a colon with a space)
    • Example: description: Use when writing emails including: Cold outreach, Follow-ups
  3. Run opencode run hello --print-logs
  4. Parser throws ConfigFrontmatterError

Screenshot and/or share link

Image Image

Operating System

MacOS

Terminal

Ghostty

Originally created by @ElwinLiu on GitHub (Jan 4, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description If the description part contains ": ", then yaml parser will crash. As a result, opencode can't respond or load properly ### Plugins _No response_ ### OpenCode version 1.0.220 ### Steps to reproduce 1. Create or edit a skill file 2. Description field contains ": " pattern (a colon with a space) - Example: `description: Use when writing emails including: Cold outreach, Follow-ups` 3. Run `opencode run hello --print-logs` 4. Parser throws `ConfigFrontmatterError` ### Screenshot and/or share link <img width="1286" height="329" alt="Image" src="https://github.com/user-attachments/assets/486a7aff-36d7-4340-a688-684ad9be1994" /> <img width="1263" height="726" alt="Image" src="https://github.com/user-attachments/assets/52faffa8-ea37-40f0-a600-fcf4d2ff20b1" /> ### Operating System MacOS ### Terminal Ghostty
yindo added the bug label 2026-02-16 17:42:54 -05:00
yindo closed this issue 2026-02-16 17:42:54 -05:00
Author
Owner

@rekram1-node commented on GitHub (Jan 4, 2026):

try wrapping the string in quotes

@rekram1-node commented on GitHub (Jan 4, 2026): try wrapping the string in quotes
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4179