Skip to content

Slash command palette shows duplicate skills when .agents and .codex both contain same skill name #22626

Closed as not planned

Description

@lukaspechar

What version of the Codex App are you using (From “About Codex” dialog)?

26.506.31421 (2620)

What subscription do you have?

Plus

What platform is your computer?

Darwin 25.4.0 arm64 arm

What issue are you seeing?

Slash-command skill picker shows duplicate entries when the same skill exists in multiple skill roots (for example .agents/skills and .codex/skills), even when one is just a wrapper/alias to the canonical skill.

What steps can reproduce the bug?

  1. In any repo, create both:
    • .agents/skills/fix-issues/SKILL.md (canonical/full definition)
    • .codex/skills/fix-issues/SKILL.md (wrapper that points to canonical file)
  2. Open Codex Desktop in that repo.
  3. Open the slash picker with /.
  4. Search for fix-issues.

What is the expected behavior?

Only one entry should be shown per logical skill name, or entries should be clearly grouped/marked as aliases so users don’t see ambiguous duplicates.

Additional information

Why This Matters

  • Creates confusion about which one to run.
  • Makes the picker noisy in repos that mirror skills across .agents/.cursor/.codex.
  • Increases chance of selecting a non-canonical wrapper entry unintentionally.

Additional Context

  • Canonical skill file contains full workflow.
  • Wrapper skill file only redirects to canonical file.
  • They are different files but represent the same logical skill.

Suggested Fix

  • Deduplicate by normalized name in frontmatter (or by resolved canonical target when wrapper pattern is detected).
  • Optionally surface one primary entry with alias/source metadata in details.
  • If duplicates must remain, add source labels in UI (.agents, .codex) to reduce ambiguity.

Frequency

Always reproducible in repos with mirrored skill names across multiple skill roots.

Related Skills Potentially Affected

Any mirrored skills (for example debugging, documentation, etc.).

Activity

  1. added
    app
    on May 14, 2026
  2. added
    bug
    skills
    on May 14, 2026
  3. etraut-openai commented on May 14, 2026

    @etraut-openai
    Contributor

    This is by design. Codex looks for skills in a number of places and includes all that it finds. It doesn't attempt to de-duplicate skills. You can fix this yourself by eliminating the duplication. In general, I recommend not using both .agents and .codex. Pick one or the other.

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

    appbugskills

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions