Add native Codex CLI and OpenCode support alongside Claude Code#2
Open
Add native Codex CLI and OpenCode support alongside Claude Code#2
Conversation
The repo now ships native install paths for all three agents: - Claude Code: existing `.claude-plugin/marketplace.json` (unchanged). - Codex CLI: `.agents/plugins/marketplace.json` registry plus `.codex-plugin/plugin.json` per plugin (symlinked to the Claude Code manifest — schemas overlap on the fields we use). Install with `codex marketplace add himattm/skills`. - OpenCode: `.opencode/skills/*` symlinks into `plugins/*/skills/*` and a minimal `.opencode/opencode.json`. OpenCode auto-discovers SKILL.md from those paths. Skill content remains a single source of truth under `plugins/<plugin>/skills/<skill>/SKILL.md`; per-agent layouts are thin symlink/manifest wrappers. Also removes the vestigial `.codex/hooks.json` + `config.toml` (both in Claude Code's hook format, not read by Codex CLI).
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
The repo now ships native install paths for all three agents Matt uses, with a single source of truth for skill content.
.claude-plugin/marketplace.json+ per-plugin.claude-plugin/plugin.json..agents/plugins/marketplace.jsonregistry + per-plugin.codex-plugin/plugin.json(symlinked to the Claude Code manifest; the schemas overlap on every field we use). Install withcodex marketplace add himattm/skills..opencode/skills/*symlinks pointing intoplugins/*/skills/*, plus a minimal.opencode/opencode.json. OpenCode auto-discoversSKILL.mdfrom those paths.Skill content stays at
plugins/<plugin>/skills/<skill>/SKILL.md. Per-agent layouts are thin symlink/manifest wrappers — no duplicated authored content.Also removes the vestigial
.codex/hooks.json+.codex/config.toml(both in Claude Code's hook format, never read by Codex CLI).Test plan
/plugin marketplace add https://github.com/himattm/skills→/plugin install android@himattmresolves and skills load.codex marketplace add himattm/skills→/pluginsbrowser listsandroid/review/utilities→ install one and confirm a skill description match triggers loading.SKILL.md. Inside the cloned repo as a project, OpenCode reads.opencode/skills/directly.git clonefollowed byls -L .opencode/skills/android-cli/SKILL.mdandcat plugins/android/.codex-plugin/plugin.jsonboth resolve..codex/directory is gone and no doc references it.Generated by Claude Code