ask-pro is a Codex plugin bundle for explicit GPT Pro consultation through ChatGPT in Safari. It packages selected local context, submits it only when the user says ask pro, stores session artifacts, and lets Codex treat the copied answer as advisory-only input.
- Install the plugin directory as a local Codex plugin bundle, preserving this layout:
.codex-plugin/plugin.jsonhooks/user-prompt-submit-ask-pro.jsonskills/ask-pro/SKILL.mdscripts/tests/README.mdpackage.json
- From the plugin root, validate before packaging:
node --test
node scripts/ask-pro.mjs validate-plugin --root .
node scripts/ask-pro.mjs pack-plugin --out dist/ask-pro.zip
unzip -l dist/ask-pro.zipUse ask-pro only from the current user prompt:
ask pro <request>
ask pro check <session-id>
The hook ignores transcript-only mentions and injects the skills/ask-pro/SKILL.md workflow. The workflow creates .ask-pro/sessions/<session-id>/ in the target project for state.json, manifest.json, prompt.md, context.zip, copied transcripts, advice summaries, and apply summaries.
The primary interaction path is Safari opened to ChatGPT web. No Chrome fallback is allowed. The older ChatGPT macOS app path remains documented only as a blocked legacy target in this environment.
After submit, retrieval is scheduled for 5 minutes later, then every 1 minute until the 30 minutes deadline. If automation_update is unavailable, the CLI prints the fallback command ask pro check <session-id>.
GPT Pro output is advisory-only. Codex must decide what to apply, make local edits itself, and verify with local evidence before claiming completion.
In this environment, live ChatGPT.app automation is currently blocked by Computer Use policy for bundle id com.openai.chat. Safari is the practical target. Product-side validation handles missing Safari transcript or evidence safely and does not silently switch to Chrome automation.
pack-plugin creates a distributable zip from an allowlist of plugin files: manifest, hook JSON, skill file, scripts, tests, README, and package metadata. It excludes .git/, .ask-pro/, raw GUI screenshots/evidence, node_modules/, hidden local state, and sensitive artifact paths.