Skip to content

Add native Codex CLI and OpenCode support alongside Claude Code#2

Open
himattm wants to merge 1 commit intomainfrom
claude/multi-agent-skill-support-fqUAS
Open

Add native Codex CLI and OpenCode support alongside Claude Code#2
himattm wants to merge 1 commit intomainfrom
claude/multi-agent-skill-support-fqUAS

Conversation

@himattm
Copy link
Copy Markdown
Owner

@himattm himattm commented Apr 29, 2026

Summary

The repo now ships native install paths for all three agents Matt uses, with a single source of truth for skill content.

  • Claude Code — unchanged. .claude-plugin/marketplace.json + per-plugin .claude-plugin/plugin.json.
  • Codex CLI — new .agents/plugins/marketplace.json registry + per-plugin .codex-plugin/plugin.json (symlinked to the Claude Code manifest; the schemas overlap on every field we use). Install with codex marketplace add himattm/skills.
  • OpenCode — new .opencode/skills/* symlinks pointing into plugins/*/skills/*, plus a minimal .opencode/opencode.json. OpenCode auto-discovers SKILL.md from 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

  • Claude Code regression: /plugin marketplace add https://github.com/himattm/skills/plugin install android@himattm resolves and skills load.
  • Codex CLI: codex marketplace add himattm/skills/plugins browser lists android / review / utilities → install one and confirm a skill description match triggers loading.
  • OpenCode: Run the install loop from the README → trigger a prompt matching one of the skill descriptions → confirm OpenCode picks up SKILL.md. Inside the cloned repo as a project, OpenCode reads .opencode/skills/ directly.
  • Symlink integrity on clone: fresh git clone followed by ls -L .opencode/skills/android-cli/SKILL.md and cat plugins/android/.codex-plugin/plugin.json both resolve.
  • .codex/ directory is gone and no doc references it.

Generated by Claude Code

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).
@himattm himattm marked this pull request as ready for review April 29, 2026 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants