Skip to content

Move host skill prompt injection into the skills extension - #37503

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/9c8b84ad54b90d174abc287ab49cc5a231e9e1aa
Aug 7, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/9c8b84ad54b90d174abc287ab49cc5a231e9e1aa

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 7, 2026 •

Copy link
Copy Markdown

Move host skill prompt injection into the skills extension

What changed

  • Add HostSkillsSnapshot::load_skill_prompts so the skills extension owns reading and rendering selected host skills.
  • Keep explicit invocation telemetry, unreadable-skill warnings, plugin prompt ordering, and suppression of host prompts superseded by provider prompts.
  • Remove the legacy prompt injection and fragment implementation from codex-core-skills.

Testing

  • Cover prompt truncation without an installed skills extension, skill/plugin ordering, selective provider supersession, unreadable skills, and contextual fragment detection.

## What changed

- Add `HostSkillsSnapshot::load_skill_prompts` so the skills extension owns reading and rendering selected host skills.
- Keep explicit invocation telemetry, unreadable-skill warnings, plugin prompt ordering, and suppression of host prompts superseded by provider prompts.
- Remove the legacy prompt injection and fragment implementation from `codex-core-skills`.

## Testing

- Cover prompt truncation without an installed skills extension, skill/plugin ordering, selective provider supersession, unreadable skills, and contextual fragment detection.

GitOrigin-RevId: 9c8b84ad54b90d174abc287ab49cc5a231e9e1aa
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/9c8b84ad54b90d174abc287ab49cc5a231e9e1aa branch from 87e5d14 to beac16c Compare August 7, 2026 21:05
@copyberry
copyberry Bot merged commit beac16c into main Aug 7, 2026
30 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/9c8b84ad54b90d174abc287ab49cc5a231e9e1aa branch August 7, 2026 21:06
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 7, 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.

1 participant