Skip to content

[codex] Align Codex install paths with current skill spec - #2123

Closed
dpattonux wants to merge 1 commit into
garrytan:mainfrom
dpattonux:codex-spec-port
Closed

dpattonux wants to merge 1 commit into
garrytan:mainfrom
dpattonux:codex-spec-port

Conversation

@dpattonux

Copy link
Copy Markdown

Summary

  • update Codex global skill installation from ~/.codex/skills to ~/.agents/skills
  • keep repo-local Codex skills under .agents/skills
  • update setup, docs, E2E helper paths, and golden tests to match current Codex skill discovery
  • keep legacy ~/.codex/skills cleanup/rewrite handling where useful for old installs/downstream host rewrites

Why

Current Codex docs list user skills under $HOME/.agents/skills and repo skills under .agents/skills. The existing Codex host config and setup path still used ~/.codex/skills as the global install root, so fresh global installs could land outside the documented discovery path.

Validation

  • bun run gen:skill-docs --host codex
  • bun run gen:skill-docs --host factory
  • bun test test/host-config.test.ts test/gen-skill-docs.test.ts
  • temp-HOME setup smoke: env HOME=/private/tmp/gstack-codex-home-test ./setup --host codex --quiet

@trunk-io

trunk-io Bot commented Jun 27, 2026

Copy link
Copy Markdown

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@time-attack

Copy link
Copy Markdown
Contributor

@16francej merge

@capy-ai

capy-ai Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Thank you for this, @dpattonux. It's a reasonable idea, but not one we can take right now: Do it as a planned migration (install to ~/.agents/skills, move or clean up the old CODEX_HOME/skills install, keep CODEX_HOME tests) before Codex drops the legacy path. Don't take this draft. We're parking it: closing the PR and recording the idea in TODOS.md under its theme, so it isn't lost. When we pick that theme up we'll reference this PR and credit you.

@capy-ai capy-ai Bot closed this Oct 8, 2026
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