Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add okisdev/claude-code-fusion --skill opencode-result-handlinggit clone --depth 1 https://github.com/okisdev/claude-code-fusionWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/okisdev/claude-code-fusion/opencode-result-handling)<a href="https://agentmods.dev/skills/okisdev/claude-code-fusion/opencode-result-handling"><img src="https://agentmods.dev/badge/skills/okisdev/claude-code-fusion/opencode-result-handling/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/okisdev/claude-code-fusion/opencode-result-handling"><img src="https://agentmods.dev/badge/skills/okisdev/claude-code-fusion/opencode-result-handling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00019 | $0.00705 |
| Opus 5.5 | $0.00008 | $0.00282 |
| Sonnet 5.5 | $0.00004 | $0.00141 |
| Haiku 4.5 | $0.00002 | $0.00071 |
Grade A, and why
opencode-result-handling scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
OpenCode Go result handling
When the helper returns OpenCode Go output:
- Return the companion output verbatim, whether the Bash tool reports it from stdout or stderr. Do not summarize, paraphrase, reformat, prefix, or suffix it.
- Keep the opencode-session and job lines; the user needs them to resume or inspect the run. Preserve the complete result, file paths, line numbers, delivery mode, semantic status, and the
state: done,state: error, orstate: cancelledfooter, plus the failure kind for error and cancelled outcomes. A transportstate: donewithsemantic: rejectedis not a successful deliverable. - Preserve
state: runningwhen an explicit background launch or bounded wait has not reached a terminal outcome. Do not present a receipt as completed work. - Preserve adapter
warning:lines. Alate_closewarning records that the CLI was slow to exit after its result and leaves the outcomedone. A warning naming project configuration files records that the workspace can add permissions, hooks, MCP servers, or imports. - Preserve the reported requested, resolved, and observed model, whether the effort was applied, and the billing pool. Preserve
model_mismatchwhen the observed model differs from the requested model. - Preserve reported token usage exactly. A result that omits usage stays unreported, never infer missing usage or cost.
- A quota or rate limit failure carries the job's billing pool,
opencodefor every Go model. Preserve it so the caller can scope its circuit breaker to the pool that failed. - A
policyfailure means the runtime rejected the run under its execution policy. Return it as a failure and do not retry the unchanged brief. - If OpenCode Go made edits, say so explicitly and list the touched files when the helper provides them.
- Return a failed or incomplete OpenCode Go run to the caller with its typed failure. For automatic Fusion routing, the caller applies the circuit breaker and an eligible fallback; a direct user selected OpenCode Go command reports the failure without silently changing engines. Never implement inside result handling.
- Return a cleanup-required receipt immediately even though its durable state remains running. Do not poll it indefinitely; its retained process identifiers exist for a later status, result, or cancel cleanup retry.
- Do not inspect the repository, verify findings, apply edits, poll unrelated jobs, or continue the task after returning the companion output. Do not replace a failed, cancelled, malformed, or incomplete OpenCode Go run with a Claude side answer.
- If the helper reports that the Codex CLI is missing, direct the user to
/opencode:setupand do not improvise alternate install flows. - If the helper reports failure kind
setup, do not retry the unchanged task. Direct the user to upgrade or repair the Codex CLI and rerun/opencode:setup; automatic Fusion routing may use another healthy eligible lane meanwhile. - If the helper reports failure kind
auth, direct the user to runopencode auth loginand choose OpenCode Go (or setOPENCODE_GO_API_KEY) and rerun/opencode:setup. Do not retry the unchanged task. - If the helper cannot be invoked, return the invocation failure exactly as reported and stop.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 27 lines · 19 tokens per session scan A a1b182115237
opencode-result-handling is a skill published in the GitHub repository okisdev/claude-code-fusion (3 stars, last pushed 3d ago), licensed MIT. It adds 19 tokens to every session and 705 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-22.
opencode-result-handling compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| opencode-result-handlingokisdev/claude-code-fusion | Skill | 3 | 3d ago | MIT | A | 19 | Claude Code |
| review-teams977043/river-review | Skill | 8 | today | MIT | A | 147 | Claude Code |
| conductor-orchestratorIbrahim-3d/orchestrator-supaconductor | Skill | 384 | 2mo ago | AGPL-3.0 | A | 101 | Claude Code |
| message-busIbrahim-3d/orchestrator-supaconductor | Skill | 384 | 2mo ago | AGPL-3.0 | A | 44 | Claude Code |
| writing-skillsIbrahim-3d/orchestrator-supaconductor | Skill | 384 | 2mo ago | AGPL-3.0 | A | 20 | Claude Code |
| parallel-dispatchIbrahim-3d/orchestrator-supaconductor | Skill | 384 | 2mo ago | AGPL-3.0 | A | 40 | Claude Code |
| agent-factoryIbrahim-3d/orchestrator-supaconductor | Skill | 384 | 2mo ago | AGPL-3.0 | A | 36 | Claude Code |