add-opencode

Integrate the OpenCode provider into NanoClaw agent infrastructure.

Updated Jun 27, 2026
One-click install
npx skills add https://github.com/VincentChong123/nanoclaw-v2-agy-api-proxy --skill add-opencode-vincentchong123
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-opencode
Source: https://github.com/VincentChong123/nanoclaw-v2-agy-api-proxy/tree/main/.claude/skills/add-opencode
Command: npx skills add https://github.com/VincentChong123/nanoclaw-v2-agy-api-proxy --skill add-opencode-vincentchong123

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @opencode-ai/sdk.

What problem does it solve?

This skill solves the limitation of being restricted to a single AI provider by enabling the integration of OpenCode as an alternative agent provider, allowing for greater flexibility in model selection and infrastructure.

Core Features & Use Cases

  • Provider Switching: Easily toggle between different AI backends like OpenRouter, DeepSeek, or Anthropic via the OpenCode configuration.
  • Secure Integration: Manages provider-specific environment variables and credential injection through OneCLI to maintain container security.
  • Use Case: If you need to switch your agent's underlying model to a specialized provider like DeepSeek for specific reasoning tasks, this skill wires the necessary dependencies and configuration into your NanoClaw environment.

Quick Start

Run the add-opencode skill to configure your agent environment to use OpenCode as the primary provider.

Frequently Asked Questions about add-opencode

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

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

To integrate OpenCode as an agent provider in NanoClaw, you run the add-opencode skill to install necessary SDKs, modify the Dockerfile, and register provider guards to enable alternative model backends.

Can I switch my agent's underlying model to DeepSeek or Anthropic using OpenCode?

Yes, you can switch your agent's underlying model to providers like DeepSeek or Anthropic by using this skill to wire the necessary OpenCode provider dependencies and configurations into your environment.

How does this skill handle credential injection for container environments?

This skill ensures secure credential handling by managing provider-specific environment variables and credential injection through OneCLI to maintain security across both host and container environments.

Do I need to modify my Dockerfile to support the OpenCode provider?

Yes, integrating the OpenCode provider requires Dockerfile modifications to facilitate the installation of necessary SDKs and establish registration guards for your containerized agent infrastructure.

What is the purpose of adding OpenCode to the NanoClaw agent infrastructure?

Adding OpenCode to the NanoClaw infrastructure solves the limitation of being restricted to a single AI provider, allowing greater flexibility in model selection and facilitating diverse LLM deployments.

Are there specific dependencies required to configure OpenCode with NanoClaw?

Yes, configuring OpenCode requires the @opencode-ai/sdk dependency to be installed, which facilitates the provider-specific configuration and alternative model backend integration within your environment.