add-opencode

Enable the OpenCode provider in NanoClaw with host and container wiring.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Integrates the OpenCode provider into NanoClaw by supplying provider sources, wiring host/container barrels, and rebuilding the agent image to enable OpenCode-based AI backends.

Core Features & Use Cases

  • Copy and wire OpenCode provider files into both host and container code paths.
  • Register and mount per-group / per-session OpenCode configuration for agent execution.
  • Rebuild the agent image to activate the new provider and run OpenCode-backed agents in containers.

Quick Start

Run this skill to wire in the OpenCode provider for NanoClaw and enable OpenCode-backed agents.

Frequently Asked Questions about add-opencode

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

FAQPage Schema
How do I add OpenCode as an agent provider in NanoClaw?

Adding OpenCode requires wiring provider source files into both host and container code paths, registering per-group and per-session configuration overlays, and rebuilding the agent image to activate the OpenCode-backed agents.

What does per-session and per-group overlay propagation do for OpenCode agents?

Per-group and per-session overlays mount specific OpenCode configurations for agent execution. This propagation ensures that each containerized agent receives the correct isolated configuration required to run properly within NanoClaw.

Do I need to rebuild the Docker image to activate the OpenCode provider?

Yes, you must rebuild the agent image. Rebuilding the Docker container is the required step to apply the host and container barrel wiring and activate the newly integrated OpenCode-backed agents.

What prerequisites are validated before wiring the OpenCode provider?

Before wiring, the system validates that provider source files exist, checks barrel imports for host and container code paths, and verifies Dockerfile guards to ensure the environment is ready for the OpenCode integration.

Why is my OpenCode provider not working in the NanoClaw container?

OpenCode may fail if provider source files are missing, barrel imports are incorrectly wired between host and container paths, or Dockerfile guards blocked the image rebuild, preventing the OpenCode-backed agents from activating.