mirror of
https://github.com/addyosmani/agent-skills.git
synced 2026-10-26 23:15:04 +00:00
fix: prevent Codex from loading Claude hooks
This commit is contained in:
1 parent
97522bb69b
commit
9c0edb07df
2 files changed
+4
-1
No files matched your search
@@ -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.",
|
||||
|
||||
+1
-1
@@ -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.
|
||||
|
||||
|
||||
Reference in new issue
Block a user