diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json index 691da060..7edcda1f 100644 --- a/.codex-plugin/plugin.json +++ b/.codex-plugin/plugin.json @@ -10,6 +10,9 @@ "repository": "https://github.com/addyosmani/agent-skills", "license": "MIT", "skills": "./skills/", + "hooks": { + "hooks": {} + }, "interface": { "displayName": "Agent Skills", "shortDescription": "Senior-engineer workflows for AI coding agents: spec, plan, build, test, review, ship.", diff --git a/docs/codex-setup.md b/docs/codex-setup.md index 321e8081..0ab36cca 100644 --- a/docs/codex-setup.md +++ b/docs/codex-setup.md @@ -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//SKILL.md` — unchanged. Codex and Claude Code share the same `name` + `description` frontmatter format, so one file serves both platforms.