codex-result
SolidShow the final stored result of a completed Codex job. Use when asked "codex result", "show the codex output", "show me the job result", or wants output from a finished job.
AI & Automation 51 stars
4 forks Updated today MIT
Install
Quality Score: 87/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Codex Job Result + Stored Review Linking
Thin wrapper around the Official Codex companion's `result` subcommand. If a codex-advisor review file exists for the same timestamp window, also surface its path so the user can read the classified findings (Agreed / Disputed / Nuanced / False Positive / Uncited).
## Phase 1: Fetch companion result
```bash
set -o pipefail
CODEX_COMPANION=$("${CLAUDE_PLUGIN_ROOT}/scripts/resolve-companion.sh") \
|| { echo "Official Codex plugin not found — run /codex-setup" >&2; exit 1; }
# Forward args verbatim. The companion accepts an optional [job-id];
# without one it shows the most recent finished job.
node "$CODEX_COMPANION" result $ARGUMENTS
```
Relay the companion's rendered result verbatim (includes the Codex session ID, making `codex resume <session-id>` possible).
## Phase 2: Find the matching codex-advisor report
Codex-advisor stores reports at `${CLAUDE_PLUGIN_DATA}/reviews/<type>-<YYYYMMDD-HHMMSS>.md`. These are separate from companion jobs — a given job may or may not have a matching report depending on which skill launched it.
```bash
REVIEWS_DIR="${CLAUDE_PLUGIN_DATA}/reviews"
if [ -d "$REVIEWS_DIR" ]; then
# List the 3 most recent reports; the user can pick the one whose
# timestamp aligns with the job.
ls -1t "$REVIEWS_DIR" 2>/dev/null | head -3
fi
```
Append:
```markdown
## Related codex-advisor reports (most recent)
- review-20260414-102530.md
- rescue-20260414-100112.md
- ...
If the timestamp matches the job...
Details
- Author
- LeeJuOh
- Repository
- LeeJuOh/claude-code-zero
- Created
- 7 months ago
- Last Updated
- today
- Language
- JavaScript
- License
- MIT
Integrates with
Bundled in these plugins
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
codex-status
List active and recent Codex jobs plus stored review files. Use when asked "codex status", "what codex jobs are running", or wants to see Codex job state.
51 Updated today
LeeJuOh AI & Automation Listed
codex-result-handling
Internal contract for returning Codex companion output without alteration.
3 Updated 6 days ago
okisdev AI & Automation Listed
codex-result-handling
Internal guidance for presenting Codex helper output back to the user
0 Updated 1 months ago
Imperix1155