Skip to content

OpenCode

OpenCode is the open-source terminal AI coding agent from SST. Genesis runs as a skill bundle under .opencode/skills/; personas live in .opencode/agent/.

PrimitivePath
Module Entrypoint (skill folder).opencode/skills/<skill-name>/SKILL.md
Persona Scoping File.opencode/agent/*.md
Scope-Attached Rule FileAGENTS.md (project root)

After npx skills add danielmeppiel/genesis, the loader writes Genesis to .opencode/skills/genesis/. In an OpenCode session, type:

/genesis <what you want designed>

The dispatcher matches the slash command and lazy-loads SKILL.md.

OpenCode agents are markdown files at .opencode/agent/<name>.md. Frontmatter follows the cross-vendor agent convention:

---
description: Lens for reviewing missing tests in a PR diff.
mode: subagent
---

OpenCode honors the AGENTS.md convention for cross-cutting rules at the project root, so a project that targets both Codex and OpenCode can share one AGENTS.md.

OpenCode preloads shell, file, and search tools. MCP servers are configured per-project; see the official docs for the configuration shape.

  • Module Entrypoint — the skill bundle OpenCode loads.
  • Persona Scoping File.opencode/agent/*.md realizes this primitive.
  • A full per-harness adapter will be added by the catalogue agent.