OpenCode

CapabilitySupport
StatusSupported
Captures provenanceYes
Supports skillsYes
Learn ModeYes
Integration typeRepo-local plugin

Status

Supported.

Current support

OpenCode is supported as an evidence-aware coding agent.

Enable flow

When you run skillcraft enable --agent opencode, Skillcraft writes a managed plugin at:

.opencode/plugins/skillcraft.mjs

The plugin captures runtime model provenance from OpenCode chat messages and persists it to:

.git/skillcraft/ai-model-context.json

Captured provenance fields

  • agent.provider
  • model.provider
  • model.name

These values are merged into each generated proof.

Skill support

OpenCode skill usage is captured through the managed plugin by watching OpenCode skill tool execution and recording the matching installed Skillcraft skill ID.

Learn Mode

OpenCode currently supports Skillcraft Learn Mode.

Run:

skillcraft learn

Skillcraft prepares a temporary guided session that makes the agent behave like a learning coach, then launches the session in the repository root.

Notes

  • Keep normal git history visible to Skillcraft.
  • Run skillcraft enable --agent opencode, or let skillcraft enable detect OpenCode automatically.
  • Run skillcraft learn when you want guided co-creation instead of normal autonomous execution.
  • Multiple agents can be enabled for the same repository.
  • Run skillcraft disable to remove the generated plugin and provenance state file.