Skip to content

feat: support disable skills by name.#15378

Merged
xl-openai merged 1 commit intomainfrom
xl/plugins3
Mar 23, 2026
Merged

feat: support disable skills by name.#15378
xl-openai merged 1 commit intomainfrom
xl/plugins3

Conversation

@xl-openai
Copy link
Copy Markdown
Collaborator

Support disabling skills by name, primarily for plugin skills. We can’t use the path, since plugin skill paths may change across versions.

@J3m5
Copy link
Copy Markdown

J3m5 commented Mar 21, 2026

Hi, this is a useful addition!

It would be great to support disabling skills by folder as well.

I did not see this documented, but using folders inside .codex/skills or .agents/skills appears to work, and it is helpful for organizing skills.

@xl-openai
Copy link
Copy Markdown
Collaborator Author

xl-openai commented Mar 22, 2026

@J3m5 Disabling skills by folder needs a bit more thought, since there are more states to manage. But the currently experimental plugin feature should solve your problem: you can organize the skills as a plugin and then enable or disable the entire plugin. We’ll share more developer docs on this later.

@xl-openai xl-openai force-pushed the xl/plugins3 branch 2 times, most recently from 5bbcdc8 to 5776801 Compare March 22, 2026 07:20
@xl-openai xl-openai marked this pull request as ready for review March 22, 2026 08:06
Copy link
Copy Markdown
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8d81ff9ce9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@@ -531,7 +541,11 @@ impl PluginsManager {
return outcome;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Key plugin cache by effective skill rules

plugins_for_config_with_force_reload returns a single cached outcome for all configs. This change made plugin loading depend on config_layer_stack skill rules (including SessionFlags) to compute disabled_skill_paths/has_enabled_skills. After caching config A, config B with different skill overrides can get stale plugin capability data, causing incorrect plugin mentions/summaries.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is OK plugin doesn't rely on SessionFlags.

@xl-openai xl-openai merged commit 9a33e5c into main Mar 23, 2026
67 of 74 checks passed
@xl-openai xl-openai deleted the xl/plugins3 branch March 23, 2026 19:57
@github-actions github-actions bot locked and limited conversation to collaborators Mar 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants