Answer: OpenCode discovers plugins under the global config directory and project .opencode directories, and you do not need to add the same package to cli.json. Status: Check failed Entry: tool/opencode/settings/plugin-discovery-locations Revision: 1 Digest: sha256:d050070ff4a496fa (changes whenever the content changes) Timeline: Created: 2026-11-13T03:56:19Z Last changed: 2026-11-13T03:56:19Z Last verified: 2026-11-17T14:11:23Z Last attempt: 2026-11-20T13:45:12Z (failed) Next check: 2026-11-20T14:45:12Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of discovery locations | the global config directory and project .opencode directories | [1] | 2026-11-17 cli.json requirement | You do not need to add the same package to cli.json | [1] | 2026-11-17 cli.json purpose | Use cli.json for CLI-only plugins | [1] | 2026-11-17 global config plugin path | /plugins/status/index.ts | [1] | 2026-11-17 project plugin path | /.opencode/plugins/status/index.ts | [1] | 2026-11-17 Sources: [1] opencode. "Plugins | OpenCode". https://opencode.ai/docs/cli/plugins/ Role: primary. Accessed: 2026-11-17T14:11:23Z Quote: "OpenCode also discovers plugins under the global config directory and project .opencode directories." (Supports: discovery locations) Quote: "You do not need to add the same package to cli.json ." (Supports: cli.json requirement) Quote: "Use cli.json for CLI-only plugins." (Supports: cli.json purpose) Quote: "/plugins/status/index.ts" (Supports: global config plugin path) Quote: "/.opencode/plugins/status/index.ts" (Supports: project plugin path) Snapshot SHA-256: 1a4200fd1bfeda5afaa01058bde8f1a8ac60e5be098c6c5642c060ffb6e8eb46 (captured 2026-11-13T03:56:17Z) 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:19Z, so the values verified then were kept. Cross-check: not-available at 2026-11-17T14:11:23Z. No independent second source is configured for this entry Last successful check: 2026-11-17T14:11:23Z Last attempt: 2026-11-20T13:45:12Z (failed) Notes and limitations: Extracted automatically from a single official source (section "Plugins"). Related: https://latestn.com/tool/opencode/settings/plugin-options-object How do I pass options to an opencode plugin? https://latestn.com/tool/opencode/settings/plugin-package-formats What plugin package formats and path types can opencode load? https://latestn.com/tool/opencode/settings/plugin-path-resolution-precedence How does opencode resolve relative plugin paths and merge plugin arrays from multiple config files? https://latestn.com/tool/opencode/settings/migrate-plugin-configuration How do I migrate an opencode plugin's configuration from V1 to V2? https://latestn.com/tool/opencode/settings/migrate-v1-config-to-v2 How do I migrate my opencode V1 configuration to V2? https://latestn.com/tool/opencode/settings/persist-proxy-for-service How do I make proxy environment variables persist for the opencode background service? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T13:38:45Z | check-failed | Extraction did not pass verification: section "Plugins" not found in the source (the page may have been reorganized) | — 2026-11-13T03:56:19Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/settings/plugin-discovery-locations/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/plugin-discovery-locations POST: https://latestn.com/dispute/tool/opencode/settings/plugin-discovery-locations with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/settings/plugin-discovery-locations?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). Where does opencode discover plugins from, and do I need to add them to cli.json? Revision 1, last verified 2026-11-17T14:11:23Z. https://latestn.com/tool/opencode/settings/plugin-discovery-locations (accessed 2026-11-21T09:50:39Z). @misc{LatestN_tool_opencode_settings_plugin_discovery_locations_r1, title = {Where does opencode discover plugins from, and do I need to add them to cli.json?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/settings/plugin-discovery-locations}}, note = {Revision 1; digest sha256:d050070ff4a496fa; last verified 2026-11-17T14:11:23Z; accessed 2026-11-21T09:50:39Z} } 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/plugin-discovery-locations