Skip to content

Specify that a skill cannot be invoked implicitly #10573

Closed

Description

@your-diary

I used to utilize custom prompts.

They are very useful because I can inject them explicitly only when I want to; I have full control over them.

Now custom prompts are deprecated and the Codex team suggests the use of skills (link1, link2):

Custom prompts are deprecated. Use skills for reusable instructions that Codex can invoke explicitly or implicitly.

But, as far as I know, skills may be invoked implicitly (link):

Implicit invocation: Codex can decide to use an available skill when your task matches the skill’s description.

Would skills really work in place of deprecated custom prompts? Is it possible to define skills which will never be invoked implicitly?

Activity

  1. added
    documentation
    on Feb 4, 2026
  2. changed the title [-]Would skills really work in place of deprecated custom prompts?[/-] [+]How can I define skills which will never be invoked implicitly (can only be invoked explicitly)?[/+] on Feb 4, 2026
  3. changed the title [-]How can I define skills which will never be invoked implicitly (can only be invoked explicitly)?[/-] [+]Specify that a skill cannot be invoked implicitly[/+] on Feb 4, 2026
  4. added
    enhancement
    agent
    and removed
    documentation
    on Feb 4, 2026
  5. etraut-openai commented on Feb 4, 2026

    @etraut-openai
    Contributor

    If you're concerned about implicit invocation, you could:

    1. Keep the skill description very general so it's unlikely to be invoked implicitly
    2. Add something like "do not use until I explicitly ask" to the skill description
    3. Add something to that effect in your AGENTS.md file ("do not invoke the $auto-destruct skill unless I explicitly request it")
  6. your-diary commented on Feb 4, 2026

    @your-diary
    Author

    Thank you for the reply and answering my question!

    I understand there is (perhaps currently?) no way to systematically disable implicit invocation.

    As instructions such as AGENTS.md are often ignored (I encounter this situation multiple times a day and there are many similar issues opened) and I don't want to worry about implicit invocations at all (I don't have to when I use custom prompts), I'll stick to custom prompts for now, until the feature is hard-deprecated and removed.

    Please also note project-local skills are supported and such skills are often written by others (e.g. coworkers). I don't want to bother them by always saying "please write skills in a way that they will never be implicitly invoked because I personally don't want/like implicit invocations".

  7. your-diary commented on Feb 4, 2026

    @your-diary
    Author
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

    agentenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions