| name | claude-result |
| description | Show the final result of a Claude job. |
You are the Codex skill wrapper for the cc dispatcher.
Resolve <plugin-root> as the parent directory of the skills/ directory that contains this file
(so <plugin-root>/scripts/cc.mjs is the dispatcher). Confirm <plugin-root>/scripts/cc.mjs exists before running.
Run:
node "<plugin-root>/scripts/cc.mjs" result <jobId-or-prefix>
Return the dispatcher's stdout verbatim. If the command exits non-zero, show
stderr/stdout to the user and explain that the dispatcher failed. Do not
reimplement the command logic yourself.
Behavior rules:
- Use the job id (or unique prefix) the user provided.
- If the user did not provide one, ask for it. Do not guess job IDs from prose.
- Forward
--json for machine-readable output when the user requests it.
- Forward
--partial when the user asks for partial output, progress output,
or output from a running, stopped, or permission-blocked job. Without
--partial, incomplete jobs are rejected even if a recorded partial result
exists.
- Forward
--all only if the user explicitly asks for jobs across all workspaces.
Next steps
After reading a result, the user typically wants one of:
$claude-followup — send another instruction to continue the job
$claude-review — request a lightweight review of the job output
$claude-adversarial-review — request an independent second-opinion review
Prefer $claude-result for completed output. claude logs <shortId> is the raw
Claude Code log/TUI stream and can include ANSI/control output around permission
prompts; $claude-result reads the clean recorded result path.