opencode-controller

Control Opencode sessions, agents, and model selection with Plan-before-Build mode.

2|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/augustscl/awesome-xiawang-skills --skill opencode-controller-augustscl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: opencode-controller
Source: https://github.com/augustscl/awesome-xiawang-skills/tree/main/opencode-controller-1.0.0
Command: npx skills add https://github.com/augustscl/awesome-xiawang-skills --skill opencode-controller-augustscl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

This Skill removes uncertainty and manual steps when operating Opencode by standardizing session selection, model authentication, and the Plan→Build workflow so teams can coordinate coding tasks reliably.

Core Features & Use Cases

  • Session Management: Open Opencode, select existing sessions with /sessions, and never create sessions without explicit user approval to preserve project continuity.
  • Agent & Mode Control: Enforce starting in Plan mode, switch to Build only after an approved plan, and toggle agents with /agents to keep planning and implementation separated.
  • Model Selection & Authentication: Use /models to select providers, handle provider-generated login URLs verbatim, and pause for user confirmation before proceeding.
  • Use Case: A developer team uses this Skill to run Opencode during a paired session, ensuring the chosen model is authenticated, the plan is validated in Plan mode, and implementation occurs only in Build mode while preserving session history.

Quick Start

Ask Opencode which AI provider to use, obtain the login link if required, confirm authentication, select the existing project session, ensure Plan mode, request a step-by-step plan, approve it, then switch to Build to implement the plan.

Frequently Asked Questions about opencode-controller

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

FAQPage Schema
How do I manage Opencode sessions without losing project continuity?

To manage Opencode sessions, you use the /sessions command to select existing sessions. This Skill enforces explicit user confirmation before creating any new sessions, preserving project continuity during collaborative coding workflows.

How does the Plan to Build workflow enforce structured coding in Opencode?

The Plan to Build workflow enforces structured coding by locking Opencode into Plan mode until a step-by-step plan is approved. It only switches to Build mode for implementation after explicit user confirmation, keeping planning and execution separated.

How do I handle model selection and provider authentication in Opencode?

Handle model selection and provider authentication in Opencode by using the /models command. This Skill processes provider-generated login URLs verbatim and pauses for user confirmation before proceeding with the authenticated access.

Can I toggle agents during an Opencode coding session?

Yes, you can toggle agents during an Opencode coding session by using the /agents slash command. This controls agent selection to keep planning and implementation phases properly separated during the workflow.

Do I need explicit user confirmation to switch modes in Opencode?

Yes, explicit user confirmation is required to switch modes in Opencode. The Skill enforces Plan-before-Build mode switching with slash-command traces, requiring an approved plan before allowing implementation to begin.