Add Codex marketplace index
Summary
This PR makes Webwright discoverable through the Codex plugin marketplace flow documented in the README.
I am Japanese and work as a software engineer. Thank you for reviewing this PR. If anything in this change is incomplete, incorrect, or does not follow the project's contribution expectations, please let me know. Please also let me know if there are any questions or details you would like me to clarify.
Fixes #37.
Changes
- Add a Codex marketplace index at
.agents/plugins/marketplace.json. - Register the Webwright plugin source as
./plugins/webwright. - Add
plugins/webwrightas a symlink to the repository root so the existing.codex-plugin/plugin.jsonandskills/webwrightremain the single source of truth.
Rationale
Codex marketplace examples and the local Codex plugin creator guidance use .agents/plugins/marketplace.json for repository marketplaces and ./plugins/<plugin-name> as the plugin source path.
The repository already contains the Codex plugin manifest at .codex-plugin/plugin.json and the skill at skills/webwright/SKILL.md. Using a symlink keeps that existing layout intact and avoids duplicating the skill files under plugins/webwright/skills/webwright.
I also tested more direct root paths such as . and ./, but those did not make the plugin discoverable in Codex. This appears related to the root source path behavior discussed in openai/codex#17066.
This change should not affect the Claude Code plugin path because .claude-plugin/marketplace.json and .claude-plugin/plugin.json are unchanged.
Verification
I verified the forked marketplace from a clean local Webwright plugin state.
Cleanup before testing:
codex plugin remove webwright@webwright
codex plugin marketplace remove webwright
rm -rf ~/.codex/plugins/cache/webwright ~/.codex/skills/webwright
Then I verified the marketplace and plugin install flow:
codex plugin marketplace add n-seiji/Webwright
codex plugin list | rg -i -C 2 webwright
codex plugin add webwright@webwright
codex plugin list | rg -i -C 2 webwright
Result:
webwright@webwrightappeared incodex plugin list.codex plugin add webwright@webwrightsucceeded.- The plugin was shown as
installed, enabled. - The installed cache included
skills/webwright/SKILL.md.
I also confirmed that the only code changes in this PR are:
.agents/plugins/marketplace.json
plugins/webwright
@microsoft-github-policy-service agree