build (all tools) and plan (read-only plus delegate/plan_task) are built in; a markdown file with opencode-style front matter (description, model, tools, allow, deny, autonomous) adds or replaces one. Tool policy is enforced in the agent loop, the prompt is added to the system message, /agent and --agent. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>