openai / openai/codex

Packaged skill validator requires PyYAML missing from bundled runtime

Open
#44,908 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug skills
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

What happened

The bundled system skill-creator skill instructs users to validate skills with scripts/quick_validate.py, but that script imports yaml and the Codex bundled workspace Python does not include PyYAML.

Observed with Codex's reported bundled workspace Python and bundle 26.905.11957:

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

The same validator succeeds when invoked unchanged in a temporary environment containing PyYAML:

uv run --with pyyaml python .../skill-creator/scripts/quick_validate.py <skill-directory>
Expected behavior

The packaged validator should run with the packaged/default Codex runtime exactly as documented. Either include PyYAML in that runtime or make the validator self-contained.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with skill-creator/scripts/quick_validate.py and reproduce the missing yaml import using the reported bundled workspace Python. Then inspect how the packaged/default Codex runtime supplies dependencies; done means the documented validator command runs unchanged in that runtime, without the reported ModuleNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.