Skip to content

Enable explain-open in Codex - #204

Merged
haacked merged 2 commits into
mainfrom
haacked/enable-explain-open-codex
Sep 1, 2026
Merged

Enable explain-open in Codex#204
haacked merged 2 commits into
mainfrom
haacked/enable-explain-open-codex

Conversation

@haacked

@haacked haacked commented Sep 1, 2026

Copy link
Copy Markdown
Owner
  • Installs explain-open for Codex and documents $explain-open invocation.
  • Resolves saved review artifacts through the shared review-code skill path and covers installation and path validation.

Test plan

  • ai/tests/test-ai-installers.sh
  • ai/tests/test-canonical-skills.sh
  • ai/tests/test-skill-spec.sh

@haacked
haacked requested a lite review from Copilot September 1, 2026 19:12
@haacked
haacked marked this pull request as ready for review September 1, 2026 19:12

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The updated docs and path-validation logic introduce (and then mask) a Codex-specific ~/.agents/skills/... reference that conflicts with the repo’s canonical cross-skill path convention and risks hiding future path typos.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR enables the explain-open skill for Codex by removing it from Codex’s excluded skills list, updating its documentation to cover Codex usage, and extending installer / skill-path validation tests to account for the newly-shipped skill.

Changes:

  • Removes explain-open from ai/codex/excluded-skills.txt so Codex installs it.
  • Updates ai/skills/explain-open/SKILL.md to document Codex invocation and artifact lookup flow.
  • Extends installer and canonical-skill tests to account for explain-open being present.
File summaries
File Description
ai/tests/test-canonical-skills.sh Adjusts SKILL.md path-scanning to ignore certain absolute references during validation.
ai/tests/test-ai-installers.sh Adds an assertion that Codex installs explain-open.
ai/skills/explain-open/SKILL.md Updates skill documentation for Codex usage and review-artifact lookup.
ai/codex/excluded-skills.txt Removes explain-open from Codex exclusions so it becomes installable.
Review details
  • Files reviewed: 4/4 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread ai/tests/test-canonical-skills.sh Outdated
Comment on lines +171 to +175
# Drop supported absolute references first: their tails look exactly like relative ones, and
# scanning for both at once reports every cross-skill path as a missing local file.
body=$(sed 's#~/\.dotfiles/[A-Za-z0-9._/-]*##g' "$skill_file")
body=$(sed -E \
-e 's#~/\.dotfiles/[A-Za-z0-9._/-]*##g' \
-e 's#~/\.agents/skills/review-code/[A-Za-z0-9._/-]*##g' \
Comment thread ai/skills/explain-open/SKILL.md
@haacked
haacked merged commit 50f19d3 into main Sep 1, 2026
1 check passed
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