fix: prevent Codex from loading Claude hooks

This commit is contained in:
Federico Bartoli committed 2026-07-09 00:03:10 +02:00
1 parent 97522bb69b
commit 9c0edb07df
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ After install, invoke a skill in Codex chat with `@` (e.g. `@spec-driven-develop
## How it works
- `.codex-plugin/plugin.json` — Codex plugin manifest at the repo root. Points `skills` at `./skills/`.
- `.codex-plugin/plugin.json` — Codex plugin manifest at the repo root. Points `skills` at `./skills/` and declares an empty Codex hook config so Codex does not auto-load Claude-oriented hooks from `hooks/hooks.json`.
- `.agents/plugins/marketplace.json` — marketplace entry declaring the repo root (`./`) as the plugin source.
- `skills/<name>/SKILL.md` — unchanged. Codex and Claude Code share the same `name` + `description` frontmatter format, so one file serves both platforms.