# opencode · Capability transfer

> Levels are per column and must not be summed, averaged or ranked. A level states which written criterion the runtime's source meets. It is not a measure of quality or task success. Higher is not always preferable.

Source: "Agent runtime comparison: ten open-source agent runtimes, source review", study of 2026-11-28. Mark notation: `3` is the level in the default deployment; `1→4 [opt: …]` is level 1 by default and level 4 in the named configuration; `s` source-verified, `d` documented or test only. Service dependencies are classes (E embedded, O on demand, R resident service, X external server required), not levels.

- Runtime: [opencode](https://ai-agents-review.com/runtime/opencode.md)
- Column: [Capability transfer](https://ai-agents-review.com/column/capability-transfer.md) (Programmable capabilities)
- Mark: 2 s
- Default deployment: 2
- Best supported configuration: 2
- Page: https://ai-agents-review.com/cell/opencode/capability-transfer

## Rationale

Skills from dirs/paths/URLs; session fork exists; plugin/MCP executables not dependency-checked (level 3 unmet)

## Rubric criteria for this column

- 0: Nothing transfers; a fresh agent must be reconfigured by hand
- 1: Capability files can be copied by hand; no supported install or export path
- 2: Supported install from a path or registry (skills, plugins), with no dependency checking
- 3: Level 2, plus declared dependencies that are checked (refuse, disable or offer install), **and** an explicit choice of whether conversation state transfers (fork vs fresh)
- 4: Level 3, plus one operation that packages a capability closure (definition, programs, dependencies) for a fresh agent while explicitly excluding transcript and memory

## Review finding

Built in. Skills are discovered from `.opencode`, `.claude` and `.agents` directories and from configured paths or URLs; MCP-provided skills are dev-only. Subagents start with fresh context but inherit the parent session's permissions and metadata. Sessions fork, and experimentally export or import. Plugin and MCP executables must be installable on the target. [P85][P86][P87][P88][P89][P90]

## Evidence cited by the mark

- [P86] opencode — https://github.com/anomalyco/opencode/blob/2204311ec6e966db8d67988ab3638ad95a811a46/packages/core/src/config/discovery.ts#L80-L93 — Config dir candidates `.claude`, `.agents`, `.opencode`, global and project — [S]
- [P89] opencode — https://github.com/anomalyco/opencode/blob/2204311ec6e966db8d67988ab3638ad95a811a46/packages/core/src/session.ts#L357-L409 — Session fork with before/through boundary — [S]
- [P88] opencode — https://github.com/anomalyco/opencode/blob/2204311ec6e966db8d67988ab3638ad95a811a46/packages/core/src/session.ts#L325-L328 — Children inherit metadata and permissions from parent session — [S]

## Evidence also cited by the review finding

- [P85] opencode — https://github.com/anomalyco/opencode/blob/2204311ec6e966db8d67988ab3638ad95a811a46/packages/schema/src/config/flag.ts#L1-L44 — Feature flags (mcp_skills, home_memory, full_codemode…) off in release builds unless set — [S]
- [P87] opencode — https://github.com/anomalyco/opencode/blob/2204311ec6e966db8d67988ab3638ad95a811a46/packages/core/src/tool/plugin/subagent.ts#L147-L170 — Child session created with parentID and fresh prompt "You are a subagent spawned by another session." — [S]
- [P90] opencode — https://github.com/anomalyco/opencode/blob/2204311ec6e966db8d67988ab3638ad95a811a46/packages/protocol/src/groups/session.ts#L229-L264 — Experimental session import/export with optional redaction — [S]

## Grading record

- Grader A (default / best): 2 / 2
- Grader B (default / best): 2 / 2
