OpenCode
Terminal coding-agent harness from Anomaly with project
AGENTS.md, configurable primary agents and subagents, MCP support, and Claude-compatibleSKILL.mddiscovery across.opencode,.claude, and.agentsskill directories.
Why It Matters
OpenCode belongs in the Cross-Agent Harness Portability and future agent-harnesses capsule because it shares the same convergence pattern as Cursor, Claude Code, Codex, OpenClaw, and Hermes: markdown instructions, tool permissions, subagents, and AgentSkills-style SKILL.md files.
It is especially relevant to Kevin's portability model because OpenCode reads project-local and global skills from several compatible locations, including .agents/skills. That makes the existing ~/.agents/skills -> skills/personal bridge a plausible shared skill path for OpenCode too. Source: OpenCode skills docs, 2026-06-26
Current Routing Notes
- Install routes include npm package
opencode-ai, Homebrew tapanomalyco/tap/opencode, native package managers, Docker image, and GitHub releases. Source: OpenCode intro docs, 2026-06-26 /initanalyzes a project and creates a rootAGENTS.md; OpenCode recommends committing it. Source: OpenCode intro docs, 2026-06-26- Built-in primary agents include Build and Plan. Build has full tools; Plan is restricted for analysis/planning. Source: OpenCode agents docs, 2026-06-26
- Built-in subagents include General, Explore, and Scout. General can execute multi-step work, Explore is read-only codebase exploration, and Scout is read-only external dependency/docs research. Source: OpenCode agents docs, 2026-06-26
- Custom agents can be configured in
opencode.jsonor markdown files under global~/.config/opencode/agents/and project.opencode/agents/. Source: OpenCode agents docs, 2026-06-26 - Skills use
SKILL.mdwith frontmatter fieldsname,description, optionallicense, optionalcompatibility, and optional string metadata. Names must match the skill directory and use lowercase hyphenated slugs. Source: OpenCode skills docs, 2026-06-26 - Skill discovery includes project
.opencode/skills/*/SKILL.md, compatible.claude/skills/*/SKILL.md,.agents/skills/*/SKILL.md, and global~/.config/opencode/skills,~/.claude/skills, and~/.agents/skills. Source: OpenCode skills docs, 2026-06-26
Capsule Fit
OpenCode should move under the future agent-harnesses capsule with:
- OpenClaw Harness
- Hermes Agent (Nous Research)
- Claude Code Harness
- Codex Harness (OpenAI)
- Cursor Harness
- AI SDK HarnessAgent
The comparison axes should be: instruction files, skill loading, subagent model, MCP/tool support, permission model, session model, config portability, and bootstrap wiring.
Timeline
- 2026-06-26 | Added as a first-class tool page while specifying the future Agent Harnesses capsule. Source: User request, 2026-06-26; OpenCode docs, 2026-06-26