opencode

Manage persistent Agent Client Protocol sessions between the printer code factory and opencode CLI.

1|Updated Apr 27, 2026
One-click install
npx skills add https://github.com/Heyo-Computer/heyo-public --skill opencode-heyo-computer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: opencode
Source: https://github.com/Heyo-Computer/heyo-public/tree/main/plugins/opencode/skills/opencode
Command: npx skills add https://github.com/Heyo-Computer/heyo-public --skill opencode-heyo-computer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill bridges the gap between the printer code factory and the opencode CLI, enabling persistent, stateful agent interactions that the generic runtime cannot handle alone.

Core Features & Use Cases

  • Persistent ACP Sessions: Maintains a long-lived JSON-RPC connection between the printer and the opencode server.
  • Configuration Management: Provides guidance on handling opencode.json and global configuration files within the agent sandbox.
  • Use Case: When you need to perform complex, multi-turn coding tasks using opencode as your primary agent, this skill ensures the environment is correctly authenticated and configured for the duration of the session.

Quick Start

Initialize the opencode agent session by ensuring your host environment is authenticated and then launching the printer with the acp:opencode-acp agent flag.

Frequently Asked Questions about opencode

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

FAQPage Schema
How do I maintain persistent ACP sessions for multi-turn autonomous coding?

You maintain persistent ACP sessions by establishing a long-lived JSON-RPC connection between the printer code factory and the opencode CLI, enabling stateful agent interactions throughout the coding process.

What is Agent Client Protocol communication and how does it work with opencode?

Agent Client Protocol (ACP) communication facilitates structured JSON-RPC messaging between the printer and the opencode server. It manages runtime quirks and authentication state within isolated environments for seamless integration.

How do I set up and configure opencode for autonomous agent workflows?

To set up opencode, authenticate your host environment and launch the printer with the acp:opencode-acp agent flag. The skill manages opencode.json and global configuration files within the agent sandbox.

Does the opencode CLI require isolated environments for configuration file handling?

Yes, the opencode CLI requires isolated environments to handle configuration files correctly. This approach manages opencode-specific runtime quirks and authentication state safely during persistent agent sessions.

Why does my opencode agent lose authentication state during multi-turn coding tasks?

Authentication state is lost when generic runtimes fail to manage opencode-specific runtime quirks. This skill bridges the gap by maintaining authentication and configuration within isolated environments for the session duration.

Can I use the acp-runtime skill to coordinate complex coding sessions with opencode?

Yes, this skill ensures seamless integration for multi-turn autonomous coding sessions by actively coordinating with the acp-runtime skill to manage the underlying persistent ACP communication layer.