Skip to content

feat: add optimize-prompt skill, Codex plugin, and cross-client plugin distribution - #5

Merged
ASRagab merged 2 commits into
mainfrom
feat/cross-client-plugin-optimize-prompt
Jul 29, 2026
Merged

feat: add optimize-prompt skill, Codex plugin, and cross-client plugin distribution#5
ASRagab merged 2 commits into
mainfrom
feat/cross-client-plugin-optimize-prompt

Conversation

@ASRagab

@ASRagab ASRagab commented Jul 29, 2026

Copy link
Copy Markdown
Owner

Summary

Adds the optimize-prompt skill for both Claude Code and Codex, introduces the Codex plugin alongside the existing Claude Code plugin, and switches all packaged slash commands from the bare optimize-anything CLI to the self-locating locked-runtime launcher. Resolves the stash conflict between the upstream model-defaults modernization and the plugin-distribution feature branch.

Changes

  • optimize-prompt skill — inline prompts, embedded regions (e.g. SYSTEM_PROMPT in a source file), standalone files, and independent batches; fast prompt-quality mode and rigorous task-output mode with deterministic hard gates and held-out acceptance
  • Codex plugin.codex-plugin/plugin.json shares the canonical skills/ tree; namespaced as $optimize-anything:optimize-prompt
  • Plugin launcherscripts/run-optimize-anything self-locates the repository, verifies prerequisites, and runs uv run --project <checkout> --locked; all slash command docs updated to use it
  • CHANGELOG — merged both v0.5.0 entries (model defaults + prompt workflow + plugin distribution) into a single unified entry
  • install.md — added Codex plugin install/update/remove, updated Claude Code instructions, added verify-prompt-optimization section
  • Plugin regression — new inline and repository-apply scenarios plus --dry-run mode; ANTHROPIC_API_KEY now only required for validate
  • Teststest_plugin_launcher, test_plugin_regression, test_prompt_execution_evaluator, test_prompt_plugin_contract, test_optimize_prompt_workflow

Testing

  • Conflict markers verified absent after resolution
  • All staged files reviewed against upstream and stash sides
  • scripts/plugin_regression.py --dry-run verifies prompt and artifact wiring without credentials

ASRagab added 2 commits July 28, 2026 20:22
…n distribution

- Add optimize-prompt skill for inline prompts, embedded regions, files, and batches
- Add Codex plugin (.codex-plugin/plugin.json) sharing the canonical skills/ tree
- Add self-locating locked-runtime launcher (scripts/run-optimize-anything) used by all packaged commands
- Update all slash command docs to use the plugin launcher instead of bare CLI
- Add inline and repository-apply regression scenarios with dry-run support
- Expand install.md with Codex plugin install/update/remove instructions
- Merge v0.5.0 CHANGELOG entries: model defaults + prompt workflow + plugin distribution
- Add tests: plugin_launcher, plugin_regression, prompt_execution_evaluator, prompt_plugin_contract, optimize_prompt_workflow
@ASRagab
ASRagab merged commit bd6006a into main Jul 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant