Answer: Use the instructions array in opencode.jsonc to add files, glob patterns, or HTTP(S) URLs alongside discovered AGENTS.md files. Configured instructions load after AGENTS.md files, in the order they are listed. Status: Overdue (check was due 2026-11-20T13:36:52Z and has not succeeded) Entry: tool/opencode/settings/configure-instructions Revision: 2 Digest: sha256:110456d87160788f (changes whenever the content changes) Timeline: Created: 2026-11-13T03:57:42Z Last changed: 2026-11-19T13:36:52Z (disable project config env var: — → OPENCODE_DISABLE_PROJECT_CONFIG=1) Last verified: 2026-11-19T13:36:52Z Next check: 2026-11-20T13:36:52Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of config key | instructions | [1] | 2026-11-19 load order | after AGENTS.md files, in the order they are listed | [1] | 2026-11-19 URL fetch timeout | five-second | [1] | 2026-11-19 disable project config env var | OPENCODE_DISABLE_PROJECT_CONFIG=1 | [1] | 2026-11-19 Sources: [1] opencode. "Instructions | OpenCode". https://opencode.ai/docs/instructions/ Role: primary. Accessed: 2026-11-19T13:36:52Z Quote: "Use the instructions array to add files, glob patterns, or HTTP(S) URLs alongside discovered AGENTS.md files" (Supports: config key) Quote: "Configured instructions load after AGENTS.md files, in the order they are listed." (Supports: load order) Quote: "Fetched when config loads, with a five-second timeout" (Supports: URL fetch timeout) Quote: "With OPENCODE_DISABLE_PROJECT_CONFIG=1 , or when the workspace is outside the project, relative entries resolve against the global config directory." (Supports: disable project config env var) Snapshot SHA-256: 1658411ae7ccab85bdcabcdc548fba65e11a1a2c73766d8708ecf3e60b45b6ec (captured 2026-11-18T13:40:08Z) 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-18T13:40:10Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:36:52Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:36:52Z Last attempt: 2026-11-19T13:36:52Z Notes and limitations: Extracted automatically from a single official source (section "Configuration"). Related: https://latestn.com/tool/opencode/settings/configure-proxy How do I configure a proxy for opencode using HTTP_PROXY, HTTPS_PROXY, and NO_PROXY? https://latestn.com/tool/opencode/settings/configure-web-ui How do I configure the opencode web UI? https://latestn.com/tool/opencode/settings/custom-formatters How do I add a custom formatter in opencode? https://latestn.com/tool/opencode/settings/config-variables How do I set environment variables or reference files in opencode config? https://latestn.com/tool/opencode/settings/configure-claude-code-console How do I configure Claude Code to use OpenCode Console? https://latestn.com/tool/opencode/settings/configure-cli-plugins How do I configure plugins for the opencode CLI in cli.json? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T13:36:52Z | changed | disable project config env var: — → OPENCODE_DISABLE_PROJECT_CONFIG=1 | [1] 2026-11-19T13:36:52Z | changed | URL fetch timeout: — → five-second | [1] 2026-11-19T13:36:52Z | changed | load order: — → after AGENTS.md files, in the order they are listed | [1] 2026-11-19T13:36:52Z | changed | config key: — → instructions | [1] 2026-11-19T13:36:52Z | changed | Disable project config env var: OPENCODE_DISABLE_PROJECT_CONFIG=1 → — | [1] 2026-11-19T13:36:52Z | changed | URL timeout: five-second timeout → — | [1] 2026-11-19T13:36:52Z | changed | Load order: Configured instructions load after AGENTS.md files, in the order they are listed. → — | [1] 2026-11-19T13:36:52Z | changed | Example entries: CONTRIBUTING.md → — | [1] 2026-11-19T13:36:52Z | changed | Config key: instructions → — | [1] 2026-11-13T03:57:42Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/settings/configure-instructions/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/configure-instructions POST: https://latestn.com/dispute/tool/opencode/settings/configure-instructions with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/settings/configure-instructions?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I configure custom instruction files in opencode? Revision 2, last verified 2026-11-19T13:36:52Z. https://latestn.com/tool/opencode/settings/configure-instructions (accessed 2026-11-21T09:52:38Z). @misc{LatestN_tool_opencode_settings_configure_instructions_r2, title = {How do I configure custom instruction files in opencode?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/settings/configure-instructions}}, note = {Revision 2; digest sha256:110456d87160788f; last verified 2026-11-19T13:36:52Z; accessed 2026-11-21T09:52:38Z} } 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/configure-instructions