Overview
add-opencode is an open-source productivity skill for OpenCode, published by nanocoai. Its author describes it as: “Use OpenCode as an agent provider. OpenRouter, OpenAI, Google, DeepSeek, etc. via OpenCode config — not the Anthropic Agent SDK. Per group via `ncl groups config update --provider opencode`; host passes OPENCODE_* and…”. The project has 31k stars on GitHub and is available under the MIT license. Add it to your setup with `git clone https://github.com/nanocoai/nanoclaw ~/.claude/skills/add-opencode`.
What add-opencode does
NanoClaw runs agents in a long-lived **poll loop** inside the container. The backend is selected per agent group by the **`provider`** key in that group's `container.json` (materialized from the `container_configs` table) — set it with `ncl groups config update --provider opencode`. Default is `claude`.
What’s inside
The SKILL.md for add-opencode is organised into these sections:
- Install
- 1. Copy the provider payload
- 2. Register the provider in both runtimes
- 3. Install the matched SDK and CLI pins
- 4. Install the pin guard
- 5. Build and validate
- Configuration
- Host .env (typical)
- Select the provider
- Operational notes
- Next steps
Installation
Add add-opencode to your agent with:
git clone https://github.com/nanocoai/nanoclaw ~/.claude/skills/add-opencode Review a skill’s source before installing it — skills can instruct your agent to run commands. This command comes from the skill’s public repository, which is the source of truth for setup steps. New to skills? Read how to install Claude Code skills.
Supported agents
- Claude Code — declared in the repository topics
- OpenCode — named in the skill.md
License
add-opencode is published under the MIT license.
Strengths
- Clear MIT license — safe to read and adapt within its terms
- Ships in nanocoai/nanoclaw, an established project with 30,542 GitHub stars
- Works with Claude Code, OpenCode
- Actively maintained — repository updated in the last 90 days
Author
Topics
Alternatives to add-opencode
Similar skills from other repositories:
Frequently asked questions
- What does add-opencode do?
- Use OpenCode as an agent provider. OpenRouter, OpenAI, Google, DeepSeek, etc. via OpenCode config — not the Anthropic Agent SDK. Per group via `ncl groups config update --provider opencode`; host passes OPENCODE_* and XDG mount when spawning containers.
- How do I install add-opencode?
- Run git clone https://github.com/nanocoai/nanoclaw ~/.claude/skills/add-opencode in your agent, then reload your skills. Review the source at https://github.com/nanocoai/nanoclaw before installing.
- Is add-opencode free to use?
- Yes. add-opencode is free and open source under the MIT license, so you can read, run, and adapt it within that license's terms.
- Which agents does add-opencode work with?
- add-opencode lists Claude Code and OpenCode — named in its SKILL.md, its plugin marketplace or its repository topics. Skills use the portable SKILL.md format, so other agents that read that format may load it too.
- Where does add-opencode come from?
- add-opencode ships inside nanocoai/nanoclaw, a repository that contains 41 catalogued skills in total. The repository's 30,542 GitHub stars apply to that whole collection, not to this skill on its own.