BeClaude

opencode-claude-acp

New
1knpmGeneralMIT

Let opencode (and any shell) call Claude Code over the Agent Client Protocol (ACP), with resumable named sessions. Ships an ACP-client CLI plus an opencode/Claude skill.

First seen 6/3/2026

Summary

This skill enables any shell or tool like opencode to call Claude Code over the Agent Client Protocol (ACP), supporting resumable named sessions.

  • It ships an ACP-client CLI and integrates seamlessly with opencode, allowing developers to leverage Claude Code's capabilities from external workflows and scripts.

Install & Usage

1
Create the agents directory
mkdir -p .claude/agents
2
Save the agent file

Add the configuration to .claude/agents/opencode-claude-acp.md

3
Invoke with @agent-name
@opencode-claude-acp

Use Cases

Run a Claude Code session from an opencode workflow to analyze a codebase and generate a refactoring plan.
Resume a previous Claude Code session by name to continue debugging a complex issue without losing context.
Integrate Claude Code into a CI/CD pipeline to automatically review pull requests and suggest improvements.
Use the ACP-client CLI to send a one-off prompt to Claude Code from a shell script for quick code generation.
Orchestrate multiple Claude Code sessions from a single opencode task to parallelize code review across different modules.
Automate repetitive coding tasks by scripting Claude Code calls via the ACP protocol in a development environment.

Usage Examples

1

/opencode-claude-acp analyze the error handling in src/ and suggest improvements

2

/opencode-claude-acp resume session 'debug-session-1' and continue investigating the memory leak

3

/opencode-claude-acp generate unit tests for the functions in utils/ using the ACP client

View source on GitHub
agentacpagent-client-protocolclaudeclaude-codeopencodecliskill

Security Audits

LicensePassSourceWarnRepositoryPass

Frequently Asked Questions

What is opencode-claude-acp?

This skill enables any shell or tool like opencode to call Claude Code over the Agent Client Protocol (ACP), supporting resumable named sessions. It ships an ACP-client CLI and integrates seamlessly with opencode, allowing developers to leverage Claude Code's capabilities from external workflows and scripts.

How to install opencode-claude-acp?

To install opencode-claude-acp: create the agents directory (mkdir -p .claude/agents), then add the config to .claude/agents/opencode-claude-acp.md. Finally, @opencode-claude-acp in Claude Code.

What is opencode-claude-acp best for?

opencode-claude-acp is a agent categorized under General. It is designed for: agent, acp, agent-client-protocol, claude, claude-code, opencode, cli, skill.

What can I use opencode-claude-acp for?

opencode-claude-acp is useful for: Run a Claude Code session from an opencode workflow to analyze a codebase and generate a refactoring plan.; Resume a previous Claude Code session by name to continue debugging a complex issue without losing context.; Integrate Claude Code into a CI/CD pipeline to automatically review pull requests and suggest improvements.; Use the ACP-client CLI to send a one-off prompt to Claude Code from a shell script for quick code generation.; Orchestrate multiple Claude Code sessions from a single opencode task to parallelize code review across different modules.; Automate repetitive coding tasks by scripting Claude Code calls via the ACP protocol in a development environment..