codex-remote-result
Use this skill after an async execution has been submitted and exec_id is known.
Do not use it for exec run synchronous streaming.
Inputs To Confirm
- •
machine(required) - •
exec_id(required) - •
stream(optional:stdoutorstderr, defaultstdout) - •
tail(optional, default2000)
Status Query
bash
codex-remote exec result --machine "$MACHINE" --id "$EXEC_ID"
Interpretation:
- •
status=running: command is still executing. - •
status=finished: checkexit_code.
Logs Query
bash
codex-remote exec logs --machine "$MACHINE" --id "$EXEC_ID" --stream stdout --tail 2000
Notes:
- •Output is JSONL (
{"type":"log","stream":"...","line":"..."}per line). - •For stderr, set
--stream stderr.
Cancel
bash
codex-remote exec cancel --machine "$MACHINE" --id "$EXEC_ID"
Use only when user explicitly asks to stop the command.