Skills that set to 'deny' still show in the system context #4305

Closed
opened 2026-02-16 17:43:21 -05:00 by yindo · 3 comments
Owner

Originally created by @MouthsheepZZZ on GitHub (Jan 6, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

I try to override skills permission of built-in agent using markdown files, and set some skills to deny, according to the documentation, this means it wont appearing in the agent context.
But I still see the disabled skills appearing in the agent context
And yes it won't work as expect.
I thought it shouldn't be in the context or am I doing something wrong?

Plugins

No response

OpenCode version

1.1.3

Steps to reproduce

  1. Override Plan Primary Agent using .md
  2. Set some skills to deny
  3. Run opencode and ask agent what skills are available to use
  4. It will show the disabled skills, and skills won't work as expect

Screenshot and/or share link

Image Image Image

Operating System

Windows 11

Terminal

Tabby

Originally created by @MouthsheepZZZ on GitHub (Jan 6, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description I try to override skills permission of built-in agent using markdown files, and set some skills to deny, according to the documentation, this means it wont appearing in the agent context. But I still see the disabled skills appearing in the agent context And yes it won't work as expect. I thought it shouldn't be in the context or am I doing something wrong? ### Plugins _No response_ ### OpenCode version 1.1.3 ### Steps to reproduce 1. Override `Plan` Primary Agent using .md 2. Set some skills to deny 3. Run opencode and ask agent what skills are available to use 4. It will show the disabled skills, and skills won't work as expect ### Screenshot and/or share link <img width="372" height="95" alt="Image" src="https://github.com/user-attachments/assets/b485c1de-f3af-40f7-9e4e-e965c3ae7de8" /> <img width="1032" height="905" alt="Image" src="https://github.com/user-attachments/assets/743f9cae-84f2-4962-a408-7213bd524dc4" /> <img width="618" height="132" alt="Image" src="https://github.com/user-attachments/assets/6fe33411-1d71-4a26-9732-8c178c818716" /> ### Operating System Windows 11 ### Terminal Tabby
yindo added the windowsbug labels 2026-02-16 17:43:21 -05:00
yindo closed this issue 2026-02-16 17:43:21 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 6, 2026):

This issue might be related to existing discussions about skill permissions and visibility. Please check:

  • #6857: [FEATURE]: Bring back frontmatter-based skill filtering - Discusses the feature to filter skills in agents' frontmatters via YAML permissions, which appears to be the mechanism you're trying to use for denying skills
  • #7069: Skill tool shows empty available_skills list - Related issue about skill visibility and availability in agent contexts

The #6857 discussion may be particularly relevant as it mentions the YAML permission structure you're attempting to use (setting skills to 'deny'). Feel free to cross-reference these issues if they address your specific case or provide additional context.

@github-actions[bot] commented on GitHub (Jan 6, 2026): This issue might be related to existing discussions about skill permissions and visibility. Please check: - #6857: [FEATURE]: Bring back frontmatter-based skill filtering - Discusses the feature to filter skills in agents' frontmatters via YAML permissions, which appears to be the mechanism you're trying to use for denying skills - #7069: Skill tool shows empty available_skills list - Related issue about skill visibility and availability in agent contexts The #6857 discussion may be particularly relevant as it mentions the YAML permission structure you're attempting to use (setting skills to 'deny'). Feel free to cross-reference these issues if they address your specific case or provide additional context.
Author
Owner

@malhashemi commented on GitHub (Jan 6, 2026):

This should be solved now by #7042 wait for the next release please

@malhashemi commented on GitHub (Jan 6, 2026): This should be solved now by #7042 wait for the next release please
Author
Owner

@rekram1-node commented on GitHub (Jan 6, 2026):

fixed in next release thanks to @malhashemi

@rekram1-node commented on GitHub (Jan 6, 2026): fixed in next release thanks to @malhashemi
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4305