codex icon indicating copy to clipboard operation
codex copied to clipboard

[Skills] Diagnose misplaced frontmatter and clarify tool-dependent skill discovery

Open starSumi opened this issue 1 week ago • 0 comments

What variant of Codex are you using?

CLI / TUI (codex-cli 0.170.0, Windows 11).

What feature would you like to see?

I use custom skills to describe workflows involving tools such as codex_tui.create_thread and codex_tui.wait_threads. Codex can call an available tool without loading the related skill, so I would like the relationship between skill metadata, tool dependencies, and skill discovery to be clearer.

There are three related authoring concerns:

  1. Misplaced dependency metadata is easy to miss. The SKILL.md frontmatter parser reads name, description, and metadata.short-description; it does not interpret a top-level dependencies mapping as dependency metadata. Dependencies are read from agents/openai.yaml. A non-fatal authoring diagnostic for misplaced Codex metadata would help, while preserving compatibility with other frontmatter extensions.
  2. The dependency contract needs clearer boundaries. The official Skills guide and bundled skill-creator already document agents/openai.yaml. Please clarify the distinction between its MCP dependency declarations, dependency setup, and skill selection. In particular, can a skill be associated with an individual MCP or built-in tool for discovery, or do the supported declarations describe MCP server dependencies? That distinction matters when the tools are already available.
  3. Relevant skills could be easier to discover alongside tools. Dependency metadata can participate in skill ranking and MCP setup, but this does not establish that a related skill will be read before a tool call. A supported way to surface the relevant skill when its tools are available would help with workflows whose instructions are otherwise easy to miss. It should respect invocation policy and keep loading progressive.

My request is for clearer diagnostics and documentation, together with better visibility of relevant skills at tool discovery or selection time.

Additional information

Relevant source and documentation:

starSumi avatar Nov 20 '26 09:11 starSumi