--skills-only --scope project incorrectly skips Codex
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 72/100
Research direction
Start with libs/aitools/agents/agents.go and reproduce the issue using the documented databricks aitools install command. Trace how --scope project and --skills-only use the Codex capability settings, then inspect the existing agent installation tests if present. Done means Codex skills install under /.agents/skills while Claude Code continues using /.claude/skills.
Written by the indexing model from the issue text.
Description
Describe the issue
databricks aitools install skips Codex when --scope project and
--skills-only are used together:
Skipped Codex CLI: does not support project-scoped skills
Codex supports repository-scoped raw skills under
<repo>/.agents/skills:
https://developers.openai.com/codex/skills#where-codex-loads-local-skills
Codex does not appear to support project-scoped plugin installation:
codex plugin add and codex plugin marketplace add expose no project
or --scope option. However, plugin scope should not prevent installation
when --skills-only explicitly requests raw skill files.
Steps to reproduce
Run from a project directory:
databricks aitools install \
--agents claude-code,codex \
--scope project \
--skills-only
Expected behavior
Because --skills-only explicitly requests raw skill files, the CLI should
install the Codex skills into:
<project>/.agents/skills
Claude Code should continue using:
<project>/.claude/skills
Whether Codex plugins support project scope should not affect the
--skills-only installation path.
Actual behavior
Claude Code is processed, but Codex is skipped:
Skipped Codex CLI: does not support project-scoped skills
Possible cause
The agent model appears to use a single SupportsProjectScope capability:
https://github.com/databricks/cli/blob/main/libs/aitools/agents/agents.go
The Codex registry entry does not set SupportsProjectScope or
ProjectConfigDir, so SupportsProjectScope defaults to false.
This may correctly reflect the lack of project-scoped Codex plugin
installation, but it also blocks project-scoped raw skills when
--skills-only is used.
The capabilities may need to be distinguished by delivery method, for
example:
- Project-scoped plugin installation
- Project-scoped raw-skill installation
For Codex, raw-skill project scope should be enabled with a project
configuration directory of .agents, producing:
<project>/.agents/skills
Environment
Databricks CLI v1.12.1
Codex CLI 0.147.0
Related issue
Related to #6037, which proposes installing skills into the
vendor-neutral .agents/skills directory. This report specifically
concerns --skills-only being rejected because Codex plugin and
raw-skill scope capabilities appear to be treated as one capability.
- Dominant language
- Go
- Stars
- 427
- Forks
- 267
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 233
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from databricks/cli
-
Apps commands only accept relative path to app.ymlPossibly taken @yuri-rod claimed this 38 days ago. OpenCLI
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
databricks/cli#6910 ·
Maintainers usually reply within 1 day
-
DABs
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
databricks/cli#6670 · 1 reaction ·
Maintainers usually reply within 1 day
-
Bump vulnerable dependencies workflow is failingPossibly taken @shreyas-goenka claimed this today. Openbump-vuln-deps-failure
databricks/cli#7531 · 1 comment · 7 assignees ·
Maintainers usually reply within 1 day
-
bundle run on an app fails with "not in RUNNING state" when the app's compute is UPDATINGPossibly taken @andrewnester claimed this 1 day ago. OpenBug DABs
Difficulty 3/5 1-2 days Newbie friendliness 76/100
databricks/cli#7451 · 1 assignee ·
Maintainers usually reply within 1 day
-
Bundle deploy of an AI/BI dashboard breaks viewers' private bookmarks (UI save + publish does not)Open
Difficulty 4/5 3-5 days Newbie friendliness 45/100
databricks/cli#7419 ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
prime-radiant-inc/evener#6241 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
coder/openstorage#807 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
NVIDIA/kubectl-nv#100 ·
Maintainers usually reply within 1 day
-
TestNoEagerPackageRegexps red on main: internal/gui/feedback.go:19 compiles a package-level regexpOpen
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day