opencode-result-handling

opencode-result-handling is a skill for Claude Code from okisdev/claude-code-fusion. It costs 19 tokens per session (705 once invoked), scanned A, original, MIT.

Internal guidance for returning output from the OpenCode companion runtime. It requires the complete result to be passed back without summaries or formatting changes.

In plain words
What is it for?
Presenting completed, running, cancelled, or failed OpenCode jobs exactly as reported by the runtime.
Why use it?
It preserves job identifiers, file locations, status, warnings, and failure details so you can inspect or resume the delegated work accurately.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions Codex; mentions OpenCode.

Part of the opencode plugin — 2 skills, 1 agent shipped together

Good fit Presenting completed, running, cancelled, or failed OpenCode jobs exactly as reported by the runtime.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/okisdev/claude-code-fusion/opencode-result-handling
Install

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.

Any agent
npx skills add okisdev/claude-code-fusion --skill opencode-result-handling
Clone the repo
git clone --depth 1 https://github.com/okisdev/claude-code-fusion

Made for: Claude Code.

Or install opencode, the plugin that ships this one along with the rest of its 2 skills, 1 agent.

Wrote 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.

agentmods badge for opencode-result-handling

README.md
[![agentmods](https://agentmods.dev/badge/skills/okisdev/claude-code-fusion/opencode-result-handling/github.svg)](https://agentmods.dev/skills/okisdev/claude-code-fusion/opencode-result-handling)
Your own site
<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.

agentmods 80×15 button for opencode-result-handling

Your own site · 80×15
<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>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 705 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 8d ago against content hash a1b182115237, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

plugins/opencode/skills/opencode-result-handling/SKILL.md · 27 lines

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, or state: cancelled footer, plus the failure kind for error and cancelled outcomes. A transport state: done with semantic: rejected is not a successful deliverable.
  • Preserve state: running when 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. A late_close warning records that the CLI was slow to exit after its result and leaves the outcome done. 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_mismatch when 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, opencode for every Go model. Preserve it so the caller can scope its circuit breaker to the pool that failed.
  • A policy failure 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:setup and 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 run opencode auth login and choose OpenCode Go (or set OPENCODE_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.
Changes

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.

  1. 8d ago First seen · 27 lines · 19 tokens per session scan A a1b182115237

Subscribe to this mod's changes

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.

Related

opencode-result-handling compared with skills from other repositories

opencode-result-handling next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
opencode-result-handlingokisdev/claude-code-fusionSkill33d agoMITA19Claude Code
review-teams977043/river-reviewSkill8todayMITA147Claude Code
conductor-orchestratorIbrahim-3d/orchestrator-supaconductorSkill3842mo agoAGPL-3.0A101Claude Code
message-busIbrahim-3d/orchestrator-supaconductorSkill3842mo agoAGPL-3.0A44Claude Code
writing-skillsIbrahim-3d/orchestrator-supaconductorSkill3842mo agoAGPL-3.0A20Claude Code
parallel-dispatchIbrahim-3d/orchestrator-supaconductorSkill3842mo agoAGPL-3.0A40Claude Code
agent-factoryIbrahim-3d/orchestrator-supaconductorSkill3842mo agoAGPL-3.0A36Claude Code