Which SKILL.md frontmatter fields each harness reads, and how it treats the file. Fields marked “standard” come from the Agent Skills specification; the rest are specific to one harness. A dash means the harness does not document the field. Harness names link to their skill docs.
Fields
| Field | OpenCode |
|---|---|
namestandard | Optional Display name; absent name uses path-derived ID. No directory match or length constraint in the parser. text |
descriptionstandard | Optional Full description used in listing; missing description suppresses model advertisement but does not unregister the skill. text |
licensestandard | ignored Not interpreted by the loader. any |
compatibilitystandard | ignored Not interpreted by the loader. any |
metadatastandard | Optional opencode/autoinvoke is interpreted when metadata is an object; other metadata does not alter skill instructions. any |
disable-model-invocation | Optional Truthy boolean-like value disables automatic listing unless metadata opencode/autoinvoke overrides it. true or false or text or number |
How the file is read
| OpenCode | |
|---|---|
| Needs a --- frontmatter block | No; plain Markdown also loads |
| Skill name comes from | The name field |
| Name must match its folder | No |
| Invalid YAML | The skill is not loaded |
| Fields it does not know | Ignored |
Notes and sources
OpenCode
- Released 2.0.29 source at 042d0832f5f3a73eaa039a58a7d565776f6d4290; no model invocation was performed.
- The parser retries selected unquoted-colon YAML through sanitization; remaining malformed YAML or wrong name/description types skip the skill.
- ID comes from the file or containing directory, independently of the display name.
- No parser description cap was found; this does not guarantee provider acceptance of an arbitrarily large prompt.
- OpenCode 2.0.29 skill parser, Source code, checked 2026-10-15
- OpenCode 2.0.29 Markdown YAML sanitization and rejection, Source code, checked 2026-10-15
- Released OpenCode 2.0.29 skill roots, identity, precedence and loading, Documentation, checked 2026-10-15