OpenParable
Skip to content
← Back to skills

Mda Compat Opencode

Agent Building
mda-compat-opencode

Mda Compat Opencode is an Agent Skill for agent building published in the sno-ai/mda repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

MDA compatibility demonstration skill for OpenCode. Compiled from compat/opencode/source.mda. Loading this skill confirms that an MDA-emitted SKILL.md is discovered and parsed by OpenCode with the envelope subset of fields documented at opencode.ai/docs/skills/ honored.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/sno-ai/mda/blob/HEAD/compat/opencode/build/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/mda-compat-opencode, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

MDA Compat Demo (OpenCode)

This skill exists to verify OpenCode SKILL.md compatibility from an MDA-compiled output.

Three things are true if OpenCode discovers and loads this skill:

  1. The compiled SKILL.md parses under OpenCode's loader.
  2. The frontmatter name matches the package directory name (spec §06-2.1 and OpenCode's own naming rules).
  3. The five documented top-level fields (name, description, license, compatibility, metadata) plus MDA's integrity survive the round-trip from .mda source to compiled output to runtime ingest.

Source: compat/opencode/source.mda. Compile: mda compile compat/opencode/source.mda --target SKILL.md --out-dir compat/opencode/build --integrity.

What this does NOT prove:

  • That OpenCode parses MDA-extended frontmatter under metadata.mda.* (the OpenCode docs do not document any such behavior, and we do not require it; per docs "unknown frontmatter fields are ignored", so passthrough is safe).
  • That signatures or integrity digests are verified at load time (no current runtime does that).
  • That allowed-tools is honored — OpenCode's public docs do not list this field. MDA may emit it (agentskills.io v1 envelope), but OpenCode's behavior on it is undocumented.