Skip to content

Skill prompt step 1 should instruct model to read SKILL.md fully before loading additional resources #16479

@hannesrudolph

Description

@hannesrudolph

The skill prompt generated by render_skills_section() in codex-rs/core-skills/src/render.rs tells the model to open SKILL.md and "read only enough to follow the workflow." In practice this makes the main workflow definition ambiguous because the model has to guess what counts as "enough" before it has finished reading the workflow it is supposed to follow.

The surrounding progressive-disclosure guidance (load only specific files from references/, prefer running scripts/ instead of retyping, reuse assets/ and templates) is well suited to secondary resources, not the primary workflow definition in SKILL.md.

Step 1 of the "How to use a skill" section should explicitly instruct the model to read SKILL.md fully before loading any additional resources. This keeps progressive disclosure focused on additional resources while removing ambiguity from the core skill workflow instructions.

Current wording (step 1):

After deciding to use a skill, open its SKILL.md. Read only enough to follow the workflow.

Suggested wording:

After deciding to use a skill, open and read its SKILL.md in full. This is the primary workflow definition. Then load additional resources (e.g. references/, scripts/, assets/) progressively as needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestskillsIssues related to skills

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions