Export Context
/flow-next:export-context writes a structured review prompt to a markdown file so you can paste it into an external model.
Use it when you want Carmack-level review but prefer ChatGPT Pro, Claude web, Gemini, or another model that does not have a CLI integration with flow-next.
When to use it
Section titled “When to use it”- You have a paid subscription on an external model and want to use it.
- The local backends (
rp,codex,copilot) are unavailable or rate-limited. - You want to compare review verdicts across two models.
- You want to archive a review prompt for later replay.
Inputs
Section titled “Inputs”/flow-next:export-context <type> [focus areas]| Type | Builds |
|---|---|
plan <spec-id> | Plan-review prompt with the spec, R-IDs, and relevant repo context. |
impl | Implementation-review prompt for the current branch with diff and committed evidence. |
Free-text focus areas after the type narrow what the reviewer is asked to look at — e.g. focus on security, the auth changes only, migration safety.
How it works
Section titled “How it works”The skill uses RepoPrompt’s builder to assemble a context bundle — spec, code, diff — and renders it as a single markdown file you can paste into any web chat.
For impl, the diff range is detected automatically from the current branch against main or master.
What you get
Section titled “What you get”The export file contains:
- A reviewer brief (Carmack-level adversarial; concrete findings; binary verdict).
- The spec or diff under review.
- A curated selection of relevant code so the model has enough context.
- A prompt template that asks for findings in a format flow-next can re-ingest as a receipt.
What this is not
Section titled “What this is not”- Not a backend. The external model’s response is read by you, not by the skill — there is no round-trip integration.
- Not a token optimizer. The export is sized for completeness; large repos can produce large files.
Next step
Section titled “Next step”After receiving the external review, address findings in the spec or code, then re-export or run a local review:
/flow-next:plan-review <spec-id>/flow-next:impl-review