Repository navigation
ci: install the plugin in Copilot CLI and Codex on every PR - #155
Merged
Merged
Conversation
Neither CLI has a validate command, so CI installs the plugin in each, with throwaway homes and no credentials. It checks that the checkout's plugin lists every skill in both agents, and that each agent's marketplace file installs the pinned release. Also reports how much of each skill description Codex shows the model. Codex keeps only the first N characters of every description, within 2% of the context window. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01P366MHuPhV6euFSWLnwkea
2 of 4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub Issue (If applicable): #
PR Type
What is the current behavior?
CI only checks the plugin the way Claude Code reads it (
claude plugin validate). Codex and Copilot CLI have novalidatecommand. A manifest or marketplace change that breaks them only shows up when a user tries to install.What is the new behavior?
A new
agentsjob invalidate-plugin.ymlruns.github/scripts/Test-AgentInstall.ps1. It installs the plugin in pinned Copilot CLI (1.0.3) and Codex (0.154.0), using throwawayCOPILOT_HOME/CODEX_HOMEfolders and no credentials:Installed <n> skills.codex debug prompt-input).skillspath, for both agents..github/plugin/marketplace.jsonfor Copilot CLI (VS Code reads it too) and.agents/plugins/marketplace.jsonfor Codex. Until now only Claude's marketplace was validated.Why the Codex report matters. Codex lists every skill with only the first N characters of its description. It hands out characters round-robin within a budget of 2% of the model's context window, which is 5,440 tokens for a 272k model (
codex-rs/ext/skills/src/render.rs). Our skills share that budget with Codex's built-in skills and anything else the user has installed. On my machine, with ~175 personal skills installed, Codex showed only 4–6 characters per description. That's effectively nothing to choose by. This job measures the clean case, with no other skills installed, so we can see how much room the start of each description really gets.What this job does not cover: the contents of skill frontmatter. Copilot CLI counts skill folders, and Codex's own lenient parser still lists a skill with invalid YAML.
claude plugin validateand, after #154,agentskills validatecover frontmatter.VS Code has no headless way to install plugins. It reads the same marketplace file as Copilot CLI, so step 2 covers part of it.
PR Checklist
Additional Information
Testing, locally on Windows with no credentials:
main.pathvalues in the Copilot and Codex marketplace entries,skillspath in the plugin manifests.COPILOT_HOMEset after the run, so I added a restore. The user's real Copilot config was untouched.🤖 Generated with Claude Code
https://claude.ai/code/session_01P366MHuPhV6euFSWLnwkea