mission-opencode

Delegate cheap-tier TDD and debug tasks to an OpenCode CLI agent with structured mission reporting.

Updated May 22, 2026
One-click install
npx skills add https://github.com/MathieuDoyon/mission --skill mission-opencode
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mission-opencode
Source: https://github.com/MathieuDoyon/mission/tree/main/.claude/skills/mission-opencode
Command: npx skills add https://github.com/MathieuDoyon/mission --skill mission-opencode

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of completing coding and testing tasks quickly by routing low-cost work to an available external OpenCode agent while keeping the mission orchestrator in control.

Core Features & Use Cases

  • Delegation wrapper for cheap-tier tasks: Runs OpenCode synchronously when the orchestrator wants to execute mission-tdd or mission-debug at a cheap cost tier.
  • Availability and model selection: Checks that opencode is usable via agents check opencode and selects the model from mission configuration (agents.opencode.model).
  • Structured completion parsing with escalation: Captures stdout/stderr, parses for completion vs “blocked,” and emits a mission-report block so the orchestrator escalates to the primary sub-skill when needed.
  • Focused output contract: Produces a narrow mission-report including exit code, runtime, and a diff summary so the orchestrator can decide next steps.

Quick Start

Ask Claude (via the mission orchestrator) to continue your objective and let it delegate the current cheap-tier TDD or debug step to OpenCode when available.

Frequently Asked Questions about mission-opencode

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I delegate TDD and debugging tasks to an OpenCode CLI agent?

To delegate low-cost TDD and debugging work to an OpenCode CLI agent, the mission orchestrator runs OpenCode synchronously, checks availability, selects the configured model, and parses the output to determine if the task completed successfully or requires escalation.

What is mission orchestration for coding and testing tasks?

Mission orchestration for coding and testing tasks is a process where an orchestrator delegates low-cost work to external agents like OpenCode. It manages task execution, parses completion status, and emits structured mission-reports to decide whether to escalate to a primary sub-skill.

How do I check if OpenCode is available before delegating tasks?

You can check if OpenCode is available by running a pre-flight usability check using the command `agents check opencode`. This verifies that the OpenCode CLI agent is usable before attempting synchronous invocation for debugging or TDD work.

How does the orchestrator handle blocked OpenCode tasks?

When an OpenCode task is blocked, the orchestrator captures stdout and stderr, parses for a blocked status, and emits a structured mission-report block. This report includes the exit code, runtime, and diff summary, allowing the orchestrator to escalate to the primary sub-skill.

Can I use mission-opencode without a mission orchestrator?

No, mission-opcode requires a mission orchestrator to function. It is designed as a delegation wrapper that executes OpenCode synchronously when the orchestrator wants to run `mission-tdd` or `mission-debug` at a cheap cost tier, relying on the orchestrator for configuration and escalation.

What limitations exist when delegating debug work to an OpenCode agent?

Limitations include requiring a successful pre-flight usability check and fitting within the cheap cost tier. If OpenCode is unavailable or returns a blocked status, the orchestrator must escalate the debug work to the primary sub-skill instead of retrying the external agent.