Repository navigation
Description
Summary
Selecting a skill from BB's / menu sends /skill-name as plain text to Codex. Codex's explicit skill loader recognizes $skill-name, so it does not load the selected skill. If the skill disables implicit invocation, Codex also omits it from the model's skill catalog, and the model may never recall it.
Versions and environment
- BB 0.44.0, source checkout on macOS 26.3, Node v24.6.0.
- Codex CLI 0.159.2, local worktree,
gpt-6.1-sol, high reasoning, fast tier. - The live text comparison used BB commit
9c9bae7f3. Source inspection and converter tests used basef135a001e72942cee9118d2693208ec0725e2f18.
Steps to reproduce
-
Add this skill to a scratch BB project:
mkdir -p .agents/skills/teach/agents cat > .agents/skills/teach/SKILL.md <<'SKILL' --- name: teach description: Explain concepts in one sentence. --- Explain the requested concept in one sentence. SKILL cat > .agents/skills/teach/agents/openai.yaml <<'POLICY' policy: allow_implicit_invocation: false POLICY
-
Create a Codex thread. Type
/teachand select the skill row in the menu. Send:/teach Explain what a skill is in one sentence. This turn is an input-protocol diagnostic. Do not call tools, read files, or start other agents or threads. Check only the context already supplied to you. If it contains a complete <skill> instruction block named teach, reply only HAS_TEACH_SKILL_BLOCK. Otherwise reply only NO_TEACH_SKILL_BLOCK. A catalog entry with a name, description, or path does not count as a complete instruction block. Do not guess. -
In a fresh thread, select the same skill from the
$menu and send the same request with$teach.
Expected vs actual
Both selections should attach the complete teach skill block and return HAS_TEACH_SKILL_BLOCK.
The live comparison used plain CLI text with /teach and $teach, identical model settings, and no tool calls:
plain slash text: NO_TEACH_SKILL_BLOCK
plain dollar text: HAS_TEACH_SKILL_BLOCK
The dollar rollout contained one complete teach skill block. The slash rollout contained none. The teach skill had allow_implicit_invocation: false.
These runs did not select UI chips. The UI steps above follow the inspected composer code. Converter tests cover the selected-mention payload; no live UI test ran on the fix commit.
Evidence
-
BB's composer writes the selected trigger and skill name. The affected Codex converter copies the text and ignores mentions. Both turn start and turn steer use this converter.
-
Codex sets the text mention sigil to
$. Its skill selector scans text with this parser and resolves structured skill inputs by path. Plain/teachdoes not selectteachthrough this loader. -
For skills that disable implicit invocation, Codex hides the catalog entry from the prompt. Hidden entries are not model-visible, and the available-skills prompt excludes them. An unrecognized slash reference therefore cannot rely on the model's catalog to recover the intended skill.
-
The Codex links use inspected upstream commit
29f056c26c09b51db123069ed3ec2095b227d6db. The live CLI's exact build commit was not checked. -
The fix's converter tests show that selected
/teachbecomes$teachin the Codex payload. Unselected/teachand ordinary/plancommands remain unchanged. -
Investigation thread:
thr_eec6u4ei2d. Comparison threads: slashthr_kda88a5hxk, dollarthr_6u34kug7kt.
What you ruled out
- The comparison used the same model settings and made no tool calls. Only the text trigger changed.
- Issue Skill chip picked mid-message is serialized without trailing space and never reaches Claude Code as a skill #2318 concerns Claude Code and mid-message chip spacing. This issue concerns Codex's handling of slash skill mentions.
Suggested priority and effort
Moderate. Skills with implicit invocation disabled can fail to load after the user selects them. Selecting from the $ menu is a workaround. PR #5202 fixes the provider conversion.
AGENT GENERATED
Activity
bb-slop-cop commentedon Oct 8, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotproviders,provider-codex,confirmed-repro.f135a001e72942cee9118d2693208ec0725e2f18; three controls pass, and all 31 existing converter tests pass. Live skill-content injection was not rerun.Unify skill indexing and explicit provider selection
Unify skill discovery and dedupe; pass picked skills to Codex (get-bb…