Skip to content

Commit 697d4ce

Browse files
mattpocockgabimonchaclaude
committed
feat: add Codex agents/openai.yaml metadata to every skill
Adds an `agents/openai.yaml` beside each `SKILL.md` so the skills work in Codex as well as Claude Code, without generated copies: - `interface.display_name` + `interface.short_description` for the Codex skill picker, hand-written for all 39 skills. - `policy.allow_implicit_invocation: false` on the 22 user-invoked skills — the Codex analog of `disable-model-invocation: true`, so Codex excludes them from implicit invocation while explicit `$skill` still works. - Document the dual-harness invocation model in `.agents/invocation.md`, `CLAUDE.md`, and the promoted-bucket READMEs. - Add `AGENTS.md` as a symlink to `CLAUDE.md` so Codex reads the same instructions; note Codex as a `link-skills.sh` install target. Slimmed-down rework of the approach prototyped in #522: keeps the essential cross-harness metadata, drops the Ruby validator, the runtime-detector test, per-skill `default_prompt`s, and the unrelated promotion changes. Co-authored-by: gabimoncha <gabimoncha@users.noreply.github.com> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 04fee67 commit 697d4ce

46 files changed

Lines changed: 181 additions & 7 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.agents/invocation.md

Lines changed: 5 additions & 3 deletions

.changeset/codex-skill-metadata.md

Lines changed: 10 additions & 0 deletions

AGENTS.md

Lines changed: 1 addition & 0 deletions

CLAUDE.md

Lines changed: 1 addition & 1 deletion

scripts/link-skills.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set -euo pipefail
88
# Links all skills in the repository into the local skill directories used by
99
# each agent harness:
1010
# - ~/.claude/skills — Claude Code
11-
# - ~/.agents/skills — pi and other Agent-Skills-standard harnesses
11+
# - ~/.agents/skills — Codex and other Agent Skills-compatible harnesses
1212
# Each entry is a symlink into this repo, so a `git pull` is all that's needed
1313
# to keep installed skills up to date.
1414

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
interface:
2+
display_name: "Design an Interface"
3+
short_description: "Explore alternative module interfaces"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
interface:
2+
display_name: "QA"
3+
short_description: "Conversational QA that files issues"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
interface:
2+
display_name: "Request Refactor Plan"
3+
short_description: "Plan a safe incremental refactor"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
interface:
2+
display_name: "Ubiquitous Language"
3+
short_description: "Build a shared domain glossary"
4+
policy:
5+
allow_implicit_invocation: false

skills/engineering/README.md

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)