opencode-acp-control

Manage OpenCode sessions via the Agent Client Protocol.

Updated May 27, 2026
One-click install
npx skills add https://github.com/RuifengFu/agent-skills --skill opencode-acp-control-ruifengfu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: opencode-acp-control
Source: https://github.com/RuifengFu/agent-skills/tree/main/hermes/openclaw-imports/opencode-acp-control
Command: npx skills add https://github.com/RuifengFu/agent-skills --skill opencode-acp-control-ruifengfu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires opencode, agent-client-protocol, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the control and management of OpenCode sessions using the Agent Client Protocol (ACP), allowing for efficient session management and updates.

Core Features & Use Cases

  • Session Management: Start, send prompts, resume, and manage OpenCode sessions via ACP.
  • Session Update: Handle session resumption and maintain conversation history.
  • Version Control: Monitor and update OpenCode versions automatically.
  • Use Case: For a team using OpenCode for collaborative coding, this Skill ensures seamless and efficient session handling across different machines.

Quick Start

Start an OpenCode session with the command: bash(command: "opencode acp", background: true, workdir: "/path/to/project")

Frequently Asked Questions about opencode-acp-control

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

FAQPage Schema
How do I manage OpenCode sessions for collaborative coding automatically?

Manage OpenCode sessions by using the Agent Client Protocol (ACP) to handle initialization, send prompts, and poll responses. This enables robust session creation and conversation history management for collaborative coding.

What is the best way to start an OpenCode session via ACP?

Start an OpenCode session via ACP by running the background command `opencode acp` in your project workdir. This initializes the session, allowing you to send prompts and poll responses.

Do I need agent-client-protocol to control OpenCode sessions?

Yes, you need both OpenCode and agent-client-protocol dependencies. ACP provides the necessary protocol layer to initialize sessions, send messages, and handle version updates effectively.

Can I resume an existing OpenCode session and maintain conversation history?

Resume OpenCode sessions and maintain conversation history using ACP. The Skill handles session resumption and version updates to ensure continuity across different machines.

Why does OpenCode ACP session initialization fail during prompt sending?

OpenCode ACP session initialization fails if dependencies are missing or session handling is improper. Ensure OpenCode ACP support is active and robust error handling is configured correctly.

Does opencode-acp-control support automatic version updates for OpenCode?

Yes, it monitors and updates OpenCode versions automatically. By leveraging ACP, it ensures your collaborative coding sessions run on the correct version with robust error handling.