Mda Compat Codex CLI
Agent Buildingmda-compat-codex-cliMda Compat Codex CLI 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 Codex CLI. Compiled from compat/codex-cli/source.mda. Loading this skill confirms that an MDA-emitted SKILL.md is discovered and parsed by Codex CLI with the envelope subset of agentskills.io v1 fields honored.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/sno-ai/mda/blob/HEAD/compat/codex-cli/build/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/mda-compat-codex-cli, 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 (Codex CLI)
This skill exists to verify Codex CLI SKILL.md compatibility from an MDA-compiled output.
Three things are true if Codex CLI discovers and loads this skill:
- The compiled
SKILL.mdparses under Codex CLI's loader (built on agentskills.io v1). - The frontmatter
namematches the package directory name (spec §06-2.1). - The agentskills.io v1 envelope subset (
name,description,allowed-tools) survives the round-trip from.mdasource to compiled output to runtime ingest.
Source: compat/codex-cli/source.mda. Compile: mda compile compat/codex-cli/source.mda --target SKILL.md --out-dir compat/codex-cli/build --integrity.
What this does NOT prove:
- That Codex CLI parses MDA-extended frontmatter under
metadata.mda.*(the OpenAI docs do not document any such behavior, and we do not require it). - That signatures or integrity digests are verified at load time (no current runtime does that).
- That non-standard top-level fields observed in some shipped Codex skills (for example
triggers:arrays) are authored from MDA — they are not part of agentskills.io v1 and are out of MDA v1.0 scope.