TECHNOLOGY

How Codex discovers a skill before loading its procedure

In this article
THE QUICK TAKE

A skill description routes tasks toward a procedure; the procedure should be loaded when the task matches rather than occupying every prompt in advance.

A skill can contain a substantial procedure, but Codex does not need all procedures in active context at once. The documented discovery mechanism starts with compact metadata, then loads the selected SKILL.md. This is progressive disclosure applied to reusable agent work.

Make the description identify a real task

A hypothetical CSV audit skill should describe the export checks it performs and the inputs it expects. A vague description such as helpful data assistant provides little routing information. A specific description can distinguish checking a supplied export from building a new reporting application. The metadata is therefore part of task selection: it helps the model recognize when the workflow applies before it reads the full operational instructions.

Keep metadata separate from the full procedure

The skill name and description provide a compact entry point. The body can explain parsing assumptions, the expected report and how to handle incomplete input. Keeping these layers separate makes the initial catalogue easier to scan. The official documentation also describes budgeting the initial skill list, so an oversized description can work against discovery. Essential trigger words belong early, while detailed examples and implementation notes belong in the procedure or referenced material.

Compare explicit and implicit invocation

A user can explicitly invoke a skill, while Codex can also select an applicable skill from its description. These paths answer different discoverability questions. A successful explicit invocation shows that the procedure can be used when selected. It does not show that an ordinary task description reliably leads to the same selection. A useful proposed evaluation therefore includes both a named invocation and a naturally worded request for the CSV audit.

Use a neighboring task to test the boundary

The neighboring request might ask for an explanation of CSV quoting rather than an audit of a supplied file. If the skill claims every mention of CSV, it can introduce unnecessary steps. A clearer description names the actual workflow and its boundary. This is a proposed design exercise, not a measurement of any particular skill. It helps an author decide which concepts distinguish the workflow from related questions in the same technical domain.

Review discovery separately from task completion

A skill evaluation can record whether the intended procedure was selected and whether the resulting audit is correct. Combining those outcomes into a single success label hides the reason for failure. If selection is correct but the report omits a malformed row, improve the procedure. If the procedure works only when named explicitly, investigate the description. This separation makes skill maintenance concrete and keeps metadata changes connected to the behavior they are meant to improve.

Documentation and further study

Related engineering guides: Reproducible inference stacks: preserving a GPU pilot’s result; Choose a local AI stack: desktop chat, shared UI or coding agent.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles