Skip to content

Migrate plugin commands into skills on install - #33411

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/67d910048544b160b191066569bca69b2b951ebc
Jul 15, 2026
Merged

Migrate plugin commands into skills on install#33411
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/67d910048544b160b191066569bca69b2b951ebc

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 15, 2026

Copy link
Copy Markdown

Migrate plugin commands into skills on install

What changed

  • Convert supported plugin command Markdown into generated skills when a plugin is installed.
  • Read command sources from the manifest's commands field, falling back to the plugin's commands/ directory.
  • Load generated command skills alongside native plugin skills while preferring native skills with the same name.
  • Skip commands with unsupported templates, missing descriptions, name collisions, or generated skills larger than 4 KB, and keep migration failures from blocking plugin installation.

Testing

  • Cover default and manifest-configured command paths, stale generated skill cleanup, size limits, native-skill precedence, invalid manifest fields, and non-fatal migration errors.

## What changed

- Convert supported plugin command Markdown into generated skills when a plugin is installed.
- Read command sources from the manifest's `commands` field, falling back to the plugin's `commands/` directory.
- Load generated command skills alongside native plugin skills while preferring native skills with the same name.
- Skip commands with unsupported templates, missing descriptions, name collisions, or generated skills larger than 4 KB, and keep migration failures from blocking plugin installation.

## Testing

- Cover default and manifest-configured command paths, stale generated skill cleanup, size limits, native-skill precedence, invalid manifest fields, and non-fatal migration errors.

GitOrigin-RevId: 67d910048544b160b191066569bca69b2b951ebc
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/67d910048544b160b191066569bca69b2b951ebc branch from d994996 to 2cd6ed7 Compare July 15, 2026 19:52
@copyberry
copyberry Bot merged commit 2cd6ed7 into main Jul 15, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/67d910048544b160b191066569bca69b2b951ebc branch July 15, 2026 19:53
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants