Repository navigation
Codex repo-local .agents/skills are not discovered in project threads #3576
Description
Activity
Tried grok code and got same results
StiensWout commented
on Jun 30, 2026 ContributorMore actionsAdditional reproduction from a T3 nightly server setup:
- T3 nightly:
t3 v0.0.29-nightly.20260630.690 t3 servewas running from a systemd service withWorkingDirectory=/srv/workspaces- The active project repo was
/srv/workspaces/t3code - The repo contained a repo-local Codex skill at
/srv/workspaces/t3code/.codex/skills/t3-contribute/SKILL.md
Observed behavior:
- Running Codex directly from
/srv/workspaces/t3codeincludedt3-contributein the available skills. - Running Codex from
/srv/workspacesdid not includet3-contribute. - T3's provider cache only showed the default/global Codex skills when the service cwd was
/srv/workspaces. - Temporarily changing the T3 service
WorkingDirectoryto/srv/workspaces/t3codemade the provider cache includet3-contribute.
That confirms the suspected cause in this issue: provider status skill discovery is based on the T3 server process cwd, not the active project/thread cwd. The workaround is to install the skill globally under
~/.codex/skills, but that makes a project-specific skill appear globally, which is not ideal.- T3 nightly:
I got skills for most of the work I do day to day. What would be the best approach to getting this merged and fixed?
I'm willing to contribute.Also observed:
~ $ npx t3@nightly serve # Server works and starts the system # Doesn't show skills in .agents/skills ~/Code/repo $ npx t3@nightly serve # Server works and starts the system # Shows skills in ~/Code/repo/.agents/skills # All other projects have all the skills in ~/Code/repo/.agents/skillsIn codex and opencode with the webui
Desktop app shows the same behaviour
I've finished my implementation; hopefully it gets merged.
I've open PRS for the base and codex impls, if they get merged, I'll open PRS for the cursor and opencode ones as welljuliusmarminge commented
on Jul 20, 2026 MemberMore actions- addedduplicateThis issue or pull request already existsThis issue or pull request already exists
on Jul 20, 2026
Summary
When using T3 Code with a repo that contains Codex repo-local skills under
.agents/skills/*/SKILL.md, the Codex composer only shows global/user skills. The repo-local skills are not discoverable via$skillin the thread composer.This does not appear to be a Codex CLI discovery problem. If
codex app-serveris asked directly for skills with the repo cwd, it returns the repo skills correctly.Reproduction
/Users/jakeleventhal/Developer/myrepo/.agents/skills/*/SKILL.md$in the composer to browse skills.Actual
Only global/user Codex skills appear. Repo-local skills from
.agents/skillsare missing.Expected
The composer should include skills discovered for the active project/thread cwd, including repo-local skills from
.agents/skills.Evidence
Direct Codex app-server probing works when using the project cwd:
That returned repo-scoped skills such as:
Each had paths like:
and
scope: "repo".Suspected cause
The composer appears to use provider status skills:
But Codex provider status is populated by a probe using the T3 Code server process cwd:
Then the probe calls:
So the composer skill list is based on the T3 Code server cwd, not the active project/thread cwd. That makes it global/provider-scoped instead of project-scoped.
Possible fix
Make Codex skill discovery project-aware. For example:
skills/listusing the active project or thread cwd when rendering composer skill suggestions.(providerInstanceId, cwd)rather than only provider status.skills/listfor the active cwd when Codex emitsskills/changed.This would align the UI with Codex app-server behavior and allow
.agents/skillsto work in T3 Code project threads.