Summary
The plugin currently contains 13 generated validate.mjs files. Several appear to repeatedly bundle the same GraphQL, UI-validation, and telemetry code.
Self-contained validators make sense for standalone skill installation, but the combined plugin could share those runtimes.
Proposal
Produce two build outputs:
- Self-contained skills for standalone installation.
- A compact plugin artifact with:
- shared validator modules at the plugin root;
- small per-skill wrapper scripts;
- only skill-specific schemas and assets duplicated where necessary.
OpenAI's plugin format supports complete ZIP, Git subdirectory, and npm artifacts, so the compact plugin need not match the standalone-skill layout:
https://developers.openai.com/plugins/build/plugins#marketplace-metadata
use real files and wrappers rather than symlinks, since Codex plugin archives reject links.
Expected result
- Standalone skills remain self-contained.
- Plugin validators retain existing behavior.
- Shared runtime code is stored once.
- Installed and cached plugin size is substantially reduced.
Summary
The plugin currently contains 13 generated
validate.mjsfiles. Several appear to repeatedly bundle the same GraphQL, UI-validation, and telemetry code.Self-contained validators make sense for standalone skill installation, but the combined plugin could share those runtimes.
Proposal
Produce two build outputs:
OpenAI's plugin format supports complete ZIP, Git subdirectory, and npm artifacts, so the compact plugin need not match the standalone-skill layout:
https://developers.openai.com/plugins/build/plugins#marketplace-metadata
use real files and wrappers rather than symlinks, since Codex plugin archives reject links.
Expected result