feat: add Codex plugin support without duplicating skills#10
Merged
addyosmani merged 1 commit intoMay 9, 2026
Merged
Conversation
Make this repo installable as a Codex plugin (CLI v0.122+) with a single
command, while keeping skills/ as the single source of truth shared with
Claude Code. No files are copied, no installer script, no wrapper skills.
codex plugin marketplace add addyosmani/web-quality-skills
Adds:
- codex/.codex-plugin/plugin.json — Codex manifest ("skills": "./skills/")
- codex/skills — git-tracked symlink to ../skills (mode 120000)
- .agents/plugins/marketplace.json — marketplace entry pointing to ./codex
- docs/codex-setup.md — install + Windows fallback
- README.md — Codex install section
Codex and Claude Code share the same SKILL.md format (YAML frontmatter
with name + description), so one file serves both platforms. All 6
skills (web-quality-audit, performance, core-web-vitals, accessibility,
seo, best-practices) are exposed by the plugin.
This was referenced May 8, 2026
addyosmani
added a commit
to federicobartoli/web-quality-skills
that referenced
this pull request
May 9, 2026
Resolve README.md conflict by keeping both the Claude Code plugin install section (this PR) and the Codex plugin install section (added in addyosmani#10 on main). The two are complementary, not competing — Claude Code listed first since this repo's primary audience is Claude Code, matching the existing manual `cp -r skills/* ~/.claude/skills/` fallback above.
addyosmani
added a commit
to federicobartoli/web-quality-skills
that referenced
this pull request
May 9, 2026
Resolve README.md conflict by keeping both the Gemini CLI install section (this PR) and the Codex plugin install section (added in addyosmani#10 on main). The two are complementary, not competing — ordered Codex then Gemini CLI alphabetically for stable ordering as more platforms are added.
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.
Summary
Make this repo installable as a Codex plugin with a single command, while keeping
skills/as the single source of truth shared with Claude Code. No files are copied, no installer script, no wrapper skills.What this adds
codex/.codex-plugin/plugin.json— Codex manifest ("skills": "./skills/").codex/skills— git-tracked symlink to../skills(9 bytes, mode120000). Keeps the plugin directory self-contained without duplicating any skill content..agents/plugins/marketplace.json— marketplace entry declaring the plugin at./codex.docs/codex-setup.md— install and usage guide, including a fallback that replaces the symlink with a local copy for Windows users.README.md— Codex install section under Quick start.Net change: 5 files, ~95 lines, 0 duplicated skill content.
Why no duplication
Codex and Claude Code share the same
SKILL.mdformat (YAML frontmatter withname+description). The Codex plugin docs defineskillsas a relative path to a folder; pointing it at the existingskills/via a symlink means one file serves both platforms.Why a
codex/subdirectoryCodex's manifest validator rejects plugins at the marketplace root:
source.pathmust start with./and stay inside the marketplace root.codex/is that subdirectory.Verified
Tested locally with Codex CLI 0.128.0:
codex plugin marketplace add /path/to/local/clonesucceeds.~/.codex/config.toml, cache created under~/.codex/plugins/cache/web-quality-skills/.web-quality-auditperformancecore-web-vitalsaccessibilityseobest-practicesOpen to alternatives
If a symlink in the repo is undesirable, happy to switch to either:
git mv skills codex/skills(no symlink, but larger diff moving 6 directories), orcp -R skills codex/skillsstep aftergit clone(no symlink, but install is no longer a singlecodex plugin marketplace add).Same approach applied to
addyosmani/agent-skills#88.Test plan
codex plugin marketplace add /path/to/local/clonesucceeds on v0.128.0~/.codex/config.toml~/.codex/plugins/cache/web-quality-skills/