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: SkillInvalidError during frontmatter parsing in SKILL.md #5991
PLEASE NOTE: This worked fine 12 hours ago, prior to one of your latest updates... I have even removed that skill and then the next skill has issues.... claude works fine.
An unhandled or validation-driven SkillInvalidError is triggered when loading a skill. The error occurs during the frontmatter parsing stage in src/skill/skill.ts. It appears that the SKILL.md file for the pair-programming skill contains frontmatter that does not conform to the Frontmatter schema (likely a Zod safeParse failure).
Hey @rekram1-node I think I found the skill that is causing the crash, that is https://github.com/ruvnet/claude-flow/blob/87cc5634085b4696daba0bd2e63c09745aa0b90b/.claude/skills/pair-programming/SKILL.md?plain=1 it only worked after your update cause you are not reading from claude directory. If that skill gets moved to .opencode/skills it would still crash opencode. I am investigating the validation logic
@GratefulDave The issue is not with OpenCode implementation it is with ClaudeCode not following their own standards in validating skill
From https://agentskills.io/specification#name-field
The required name field:
Must be 1-64 characters
May only contain unicode lowercase alphanumeric characters and hyphens (a-z and -)
Must not start or end with -
Must not contain consecutive hyphens (--)
Must match the parent directory name
The skill you are referring to is using name: Pair Programming but it seems CC does not enforce the specs!
@rekram1-node / @thdxr this could cause many skills coming from Claude to crash, if you have connections in Anthropic, they either enforce the specs in CC or adjust the name field in the specs to allow for spaces. Or we just loosen the validation on OpenCode side not following the specs similar to them haha
Activity
rekram1-node commentedon Dec 22, 2025
can u share ur skill plz?
GratefulDave commentedon Dec 22, 2025
This resolved with your latest update.
malhashemi commentedon Dec 22, 2025
Hey @rekram1-node I think I found the skill that is causing the crash, that is
https://github.com/ruvnet/claude-flow/blob/87cc5634085b4696daba0bd2e63c09745aa0b90b/.claude/skills/pair-programming/SKILL.md?plain=1it only worked after your update cause you are not reading from claude directory. If that skill gets moved to.opencode/skillsit would still crash opencode. I am investigating the validation logicrekram1-node commentedon Dec 22, 2025
Yeah that was intentional i just disabled the claude ones
malhashemi commentedon Dec 22, 2025
@GratefulDave The issue is not with OpenCode implementation it is with ClaudeCode not following their own standards in validating skill
From
https://agentskills.io/specification#name-fieldThe skill you are referring to is using
name: Pair Programmingbut it seems CC does not enforce the specs!malhashemi commentedon Dec 22, 2025
@rekram1-node / @thdxr this could cause many skills coming from Claude to crash, if you have connections in Anthropic, they either enforce the specs in CC or adjust the name field in the specs to allow for spaces. Or we just loosen the validation on OpenCode side not following the specs similar to them haha