Skip to content

Support local Codex custom prompts and $skills in the composer #737

Description

@paul-bouzian

Problem

T3 Code is Codex-first, but the composer currently misses two local Codex CLI affordances that are part of the normal prompt-entry workflow:

  • local custom prompts from ~/.codex/prompts/*.md
  • local $skills invocation with autocomplete and exact skill binding

Today, typing / only shows built-in commands, and typing $ does not surface local Codex skills.

Expected behavior

Match Codex CLI behavior closely for local prompts and local skills:

  • / should include local custom prompts as /prompts:<name>
  • /code should be able to match /prompts:code-simplifier
  • selecting a custom prompt should insert /prompts:<name> into the composer
  • sending /prompts:<name> ... should expand the prompt locally before dispatch
  • $ should open a local Codex skills menu
  • selecting a skill should insert $<name> into the composer
  • duplicate skill names should stay distinct in the menu using their path / scope
  • selected skills should be sent to Codex as explicit structured skill items, not only raw text
  • Enter / Tab should accept the highlighted menu item without sending the message

Why this should exist

These are not new product directions so much as Codex compatibility gaps in the primary Codex workflow.

Without them, T3 Code is missing a meaningful part of the day-to-day Codex CLI input model for users who rely on:

  • reusable local prompts
  • reusable local skills
  • duplicate-skill disambiguation

Proposed delivery

To keep review scope small, I plan to split this into two focused PRs:

  1. local custom prompt discovery, autocomplete, and send-time expansion
  2. local $skills autocomplete and structured skill dispatch

Notes

  • Scope is local Codex prompts and local Codex skills only
  • No new provider work is involved
  • I can add Codex CLI reference screenshots and before/after UI captures in follow-up comments if that is helpful for review

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions