Skip to content

skill-creator quick_validate.py fails because PyYAML is missing #30935

Description

@cyjjjj-21

What happened

The bundled skill-creator/scripts/quick_validate.py validator imports yaml, but the Python environments available from Codex do not include PyYAML. As a result, the documented skill validation step fails before it can validate a skill folder.

Reproduction

On Codex App 26.623.81905 (4598), run either the system Python or Codex bundled Python against a local skill folder:

python3 ~/.codex/skills/.system/skill-creator/scripts/quick_validate.py ~/.codex/skills/<skill-name>

/path/to/codex-bundled/python3 ~/.codex/skills/.system/skill-creator/scripts/quick_validate.py ~/.codex/skills/<skill-name>

Observed result:

Traceback (most recent call last):
  File ".../skill-creator/scripts/quick_validate.py", line 10, in <module>
    import yaml
ModuleNotFoundError: No module named 'yaml'

Expected behavior

The documented quick_validate.py step should run in the Codex-provided runtime without requiring the user to install extra packages manually, or the script should avoid a non-stdlib YAML dependency / provide a clear fallback.

Why this matters

Skill updates are one of the mechanisms Codex uses to make repeated workflows safer. If the validator itself cannot run in the bundled runtime, agents may skip or replace the validation step with ad hoc checks, weakening the reliability of skill maintenance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't workingskillsIssues related to skills

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions