Skip to content

Remove duplicate Source Command skills from Codex #6

Closed

Description

@ericlitman

Problem

Open Pstack 1.0.0 exposes every command-paired workflow twice in Codex Desktop. The picker contains both the native Pstack: <name> skill and a generated Pstack: Source Command <name> skill.

This is the same redundant trampoline pattern reported in michael-denyer/pstack-claude#22, although the currently observed Open Pstack failure is Codex-specific. Claude Desktop shows only one user-facing entry, but claude plugin details pstack@open-pstack inventories 83 skills: 31 public names twice plus 21 hidden principle leaves.

Confirmed mechanism

Codex installs the shared plugins/pstack/commands/*.md tree and migrates each file into .codex-plugin/migrated-command-skills/source-command-*/SKILL.md. The plugin also loads plugins/pstack/skills/*/SKILL.md through its Codex manifest, so each paired workflow is discovered twice.

The command trampolines exist to work around an older Claude command/skill name collision. With no command artifact, the collision does not exist, and both harnesses can use the native skill directly.

Scope

Remove the redundant command layer instead of adding a Codex-only filter or a second harness-specific skill tree. Update collision checks and documentation to describe native skill invocation in both Claude Code and Codex.

Acceptance criteria

  • A fresh Codex install generates no source-command-* skills.
  • Codex Desktop shows one Pstack: <name> entry for each public pstack skill and no Pstack: Source Command <name> entries.
  • Claude Desktop still exposes /pstack:<name> through the native skill tree.
  • Claude model-initiated invocation still loads the intended skill rather than a command trampoline.
  • Open Pstack keeps one shared plugins/pstack/skills/ tree for Claude Code and Codex.
  • Static checks, Bun tests, strict typecheck, and both plugin validators pass.
  • Project instructions and the pull request template block merge, tag, release, and rollout until the exact candidate passes live tests in every affected harness.
  • The package version is bumped and the changed installed surfaces are behaviorally verified before release.

Sources

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions