Skip to content

fix(framework): distribute transformed skills to Codex marketplace #570

Description

@davidmohamedfr

Description

The native Codex marketplace distributes source SKILL.md files instead of the Codex-transformed artifact.

The source skills contain Claude-specific model: opus and model: sonnet frontmatter. The AIDD CLI already removes model when building skills for Codex, but that conversion is bypassed by the native marketplace distribution.

Affected file(s)

  • cli/src/domain/tools/ai/codex.ts
  • Codex marketplace build and distribution flow
  • plugins/aidd-dev/skills/03-assert/SKILL.md
  • plugins/aidd-dev/skills/04-audit/SKILL.md
  • plugins/aidd-dev/skills/05-review/SKILL.md
  • plugins/aidd-dev/skills/06-test/SKILL.md
  • plugins/aidd-dev/skills/08-debug/SKILL.md

Expected behaviour

The Codex marketplace must distribute the same Codex-transformed skill artifact produced by the AIDD CLI.

In particular, installed Codex SKILL.md files must omit the Claude-specific model field and retain only the frontmatter supported by Codex.

Observed behaviour

With Codex CLI 0.146.0, the installed aidd-dev@2.3.1 plugin contains:

model: opus

in skills/05-review/SKILL.md.

Invoking the skill fails because opus is not a valid Codex model. A forced local redeployment with make reload reproduces the issue.

AI tool

Other: Codex CLI

Version

aidd-dev 2.3.1; local build 20e46f31.

OS

macOS

stripCodexSkillFrontmatter already removes model in the CLI conversion path. The native marketplace installation path does not use that transformed output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Priority

    None yet

    Projects

    Status
    In review

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions