Harness Notes

Skill frontmatter

Updated 2026-11-25,

On this page

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

FieldOpenCode
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 blockNo; plain Markdown also loads
Skill name comes fromThe name field
Name must match its folderNo
Invalid YAMLThe skill is not loaded
Fields it does not knowIgnored

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.