Skip to content

[FEATURE]: Allow plugins to have their own configuration #4393

Closed

Description

@airtonix

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Currently we can use plugins like:

{
  "$schema": "https://opencode.ai/config.json",
  "plugin": ["opencode-skills", "opencode-sessions"],
}

But it occurs to me that some plugins would benefit from allowing the user to configure them differently:

{
  "$schema": "https://opencode.ai/config.json",
  "plugin": [
    { "name": "opencode-skills", "config": { "paths": [ "~/Dotfiles/OpencodeSkills" ] } },
    "opencode-sessions"
  ],
}

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Nov 17, 2025
  2. github-actions commented on Nov 17, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  3. airtonix commented on Nov 17, 2025

    @airtonix
    ContributorAuthor

    Linked ticket doesn't address providing config to plugins via opencodes config file.

    linked discord convo: https://discord.com/channels/1391832426048651334/1436485986501660863

  4. GoodFarming commented on Jan 18, 2026

    @GoodFarming

    I opened PR #9161 to add an optional top-level plugin_config map (plugin name -> arbitrary config).

    This enables plugin settings in opencode.json(c) while keeping plugin: string[] semantics unchanged (lower-risk than changing the plugin array shape).

  5. github-actions commented on Mar 27, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionUsed for feature requests, proposals, ideas, etc. Open discussion

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions