Description
When permission.skill uses a pattern rule like \"lark-*\": \"deny\", matching skills are still exposed to the model.
I expected Lark skills such as lark-doc, lark-base, and lark-mail to be unavailable, but they still appear in the available skills list.
Plugins
opencode
OpenCode version
1.4.1
Steps to reproduce
- Add this global config:
{
"$schema": "https://opencode.ai/config.json",
"permission": {
"skill": {
"lark-*": "deny"
}
}
}
- Start
opencode
- Open a normal session where skills are included in the prompt/tool descriptions
- Inspect the available skills shown to the model
Expected behavior
Skills matching lark-* should not be exposed to the model.
Actual behavior
Skills matching lark-* still appear in the available skills list.
Screenshot and/or share link
No response
Operating System
ubuntu 24, arm64
Terminal
Ghostty
Description
When
permission.skilluses a pattern rule like\"lark-*\": \"deny\", matching skills are still exposed to the model.I expected Lark skills such as
lark-doc,lark-base, andlark-mailto be unavailable, but they still appear in the available skills list.Plugins
opencode
OpenCode version
1.4.1
Steps to reproduce
{ "$schema": "https://opencode.ai/config.json", "permission": { "skill": { "lark-*": "deny" } } }opencodeExpected behavior
Skills matching
lark-*should not be exposed to the model.Actual behavior
Skills matching
lark-*still appear in the available skills list.Screenshot and/or share link
No response
Operating System
ubuntu 24, arm64
Terminal
Ghostty