Files
nexus/wiki/sources/opencode-readme.md
2026-04-21 04:02:47 +08:00

1.3 KiB

title, type, tags, date, source_file
title type tags date source_file
OpenCode Integration source
agency
integrations
opencode
2026-04-20 raw/Agent/agency-agents/integrations/opencode/README.md

Summary

OpenCode Integration README explains generating .opencode/agents/<slug>.md project-scoped agent files. The converter maps named colors to hex codes, sets mode: subagent so agents are invoked with @agent-name, and supports installing project-scoped files or installing globally via --path.

Key Claims

  • OpenCode agents are .md files with YAML frontmatter stored in .opencode/agents/ and use mode: subagent.
  • The installer creates .opencode/agents/<slug>.md when run from a project root; global installation is possible with --path.
  • Generated agent frontmatter includes name, description, mode: subagent, and color (hex codes produced from named colors).

Key Quotes

"OpenCode agents are .md files with YAML frontmatter stored in .opencode/agents/. The converter maps named colors to hex codes and adds mode: subagent so agents are invoked on-demand via @agent-name rather than cluttering the primary agent picker." — OpenCode Integration README

Connections

Contradictions

  • None detected with existing wiki content at time of ingest.