add-opencode

Configure OpenCode as an agent provider for NanoClaw environments.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

NanoClaw users can switch to and manage OpenCode as an agent provider, enabling per-session and per-group provisioning and avoiding reliance on a single provider.

Core Features & Use Cases

  • Copy OpenCode provider files from the providers branch into host and container barrels, wire them into the host/container barrels, install dependencies, and rebuild the image.
  • Update per-group overlays so new provider files are available at runtime.
  • Configure host environment variables for OpenCode (OPENCODE_PROVIDER, OPENCODE_MODEL, OPENCODE_SMALL_MODEL) and manage credentials via OneCLI, enabling seamless OpenCode integration.

Quick Start

Run the integration steps to enable opencode as the agent provider in your NanoClaw environment.

Frequently Asked Questions about add-opencode

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

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

Configuring OpenCode as an agent provider in NanoClaw involves copying provider files into barrels, installing dependencies, and updating per-group overlays. This setup ensures per-session and per-group provisioning using OPENCODE_* environment variables.

What environment variables are required for OpenCode provider integration?

OpenCode provider integration requires configuring the OPENCODE_PROVIDER, OPENCODE_MODEL, and OPENCODE_SMALL_MODEL host environment variables. Credentials are managed via OneCLI to ensure seamless OpenCode integration within your environment.

How do I update per-group overlays when switching to an OpenCode provider?

Updating per-group overlays when switching to an OpenCode provider ensures the new provider files are available at runtime. This process is part of copying provider files from the providers branch and wiring them into host and container barrels.

Does NanoClaw support per-session and per-group provisioning with OpenCode?

Yes, NanoClaw supports per-session and per-group provisioning with OpenCode. By applying OPENCODE_* env vars and XDG mounts, the integration avoids reliance on a single provider and manages hosting effectively across different groups.

How are credentials managed when integrating OpenCode into NanoClaw?

Credentials are managed via OneCLI when integrating OpenCode into NanoClaw. This approach configures host environment variables and ensures the provider files are correctly wired into the host and container barrels for runtime access.