Skip to content

Generate a compact plugin artifact with shared validator runtimes #44

Description

@TyceHerrman

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:

  1. Self-contained skills for standalone installation.
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions