Skip to content

Codex slash skill mentions reach app-server as plain text #5201

Closed

Description

@kongenpei

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 base f135a001e72942cee9118d2693208ec0725e2f18.

Steps to reproduce

  1. 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
  2. Create a Codex thread. Type /teach and 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.
    
  3. 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

What you ruled out

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

  1. added theissue type on Oct 8, 2026
  2. added
    providers
    provider-codex
    confirmed-repro
    on Oct 8, 2026
  3. bb-slop-cop commented on Oct 8, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    • Classification: Bug · Priority: Medium · Effort: Low. Applied labels: providers, provider-codex, confirmed-repro.
    • Report: https://get-bb.github.io/reports/issues/5201.html
    • Verdict: REPRODUCED at the provider-input boundary; high root-cause confidence.
    • Root cause: The Codex converter ignores selected-skill mention metadata and forwards slash text unchanged; both turn start and steer use this converter.
    • Verification: A new converter regression fails identically in two clean checkouts of trusted main f135a001e72942cee9118d2693208ec0725e2f18; three controls pass, and all 31 existing converter tests pass. Live skill-content injection was not rerun.
    • No new PR: Open fix(provider-codex): invoke selected slash skills #5202 already explicitly closes this issue; creating another would duplicate it. Its code was not executed.

    AGENT GENERATED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-reproprovider-codexproviders

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions