Skip to content

OpenCode

OpenCode can read AGENTS.md, so the cleanest setup is to install the repository guide directly at the repo root.

Terminal window
curl -fsSL https://raw.githubusercontent.com/rogerchappel/agentic-team-playbook/main/templates/AGENTS.md -o AGENTS.md

Then edit AGENTS.md for:

  • repo purpose
  • repo type
  • real install/test/lint/typecheck/build commands
  • branch and PR expectations
  • risk escalation areas
  • verification gates

Keep AGENTS.md as the shared source of truth across agent systems.

If you use OpenCode-specific configuration, keep it focused on model, permissions, tools, and agent roles. Put durable engineering workflow rules in AGENTS.md so other agents can share the same policy.

Ask OpenCode:

Read AGENTS.md and report objective, expected blast radius, likely files, commit plan, verification plan, and risk level before editing.

It should describe the plan before making changes.