Answer: You customize the opencode Cloudflare SDK configuration by registering plugins bundled with your Worker and passing them to OpenCodeWorkerd.create() via the plugins option, along with a config object such as { default_agent: "build" }. Status: Confirmed Entry: tool/opencode/settings/cloudflare-customize-config Revision: 1 Digest: sha256:36c3077724545a5b (changes whenever the content changes) Timeline: Created: 2026-11-13T03:56:04Z Last changed: 2026-11-13T03:56:04Z Last verified: 2026-11-20T13:44:51Z Next check: 2026-11-21T13:44:51Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of customization method | Pass plugins to OpenCodeWorkerd.create() | [1] | 2026-11-20 config option | default_agent: "build" | [1] | 2026-11-20 plugins option | plugins: [plugin] | [1] | 2026-11-20 storage option | storage: state.storage | [1] | 2026-11-20 plugin id | customize-agent | [1] | 2026-11-20 Sources: [1] opencode. "Cloudflare | OpenCode". https://opencode.ai/docs/build/sdk/cloudflare/ Role: primary. Accessed: 2026-11-20T13:44:51Z Quote: "Pass plugins to OpenCodeWorkerd.create() to customize agents, models, tools, and other behavior" (Supports: customization method) Quote: "config: { default_agent: "build" }" (Supports: config option) Quote: "plugins: [plugin]," (Supports: plugins option) Quote: "storage: state.storage," (Supports: storage option) Quote: "id : "customize-agent"" (Supports: plugin id) Snapshot SHA-256: 5e138c3369bbdbe3846f298aaa0070f658aae025cc15dc8cd3fda6d8fbd26c71 (captured 2026-11-13T03:56:03Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:56:04Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:44:51Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:44:51Z Last attempt: 2026-11-20T13:44:51Z Notes and limitations: Extracted automatically from a single official source (section "Customize"). Related: https://latestn.com/tool/opencode/settings/command-file-locations Where do global and project opencode commands live? https://latestn.com/tool/opencode/settings/compaction-buffer-setting How do I configure the compaction buffer setting in opencode? https://latestn.com/tool/opencode/settings/config-file-locations Where does opencode look for its config file and in what locations? https://latestn.com/tool/opencode/settings/change-theme How do I change the theme in opencode? https://latestn.com/tool/opencode/settings/cli-json-schema How do I add the JSON schema to opencode's cli.json for validation? https://latestn.com/tool/opencode/settings/cli-settings-file-location Where does opencode store its CLI settings file? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:56:04Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/settings/cloudflare-customize-config/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/opencode/settings/cloudflare-customize-config POST: https://latestn.com/dispute/tool/opencode/settings/cloudflare-customize-config with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/settings/cloudflare-customize-config?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I customize the opencode Cloudflare SDK configuration? Revision 1, last verified 2026-11-20T13:44:51Z. https://latestn.com/tool/opencode/settings/cloudflare-customize-config (accessed 2026-11-21T09:52:37Z). @misc{LatestN_tool_opencode_settings_cloudflare_customize_config_r1, title = {How do I customize the opencode Cloudflare SDK configuration?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/settings/cloudflare-customize-config}}, note = {Revision 1; digest sha256:36c3077724545a5b; last verified 2026-11-20T13:44:51Z; accessed 2026-11-21T09:52:37Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/opencode/settings/cloudflare-customize-config