Skip to content

Permissions for skill not working as expected #29727

Closed

Description

@kapilratnani

Description

Hey team,
I generated below config for my usecase. The expectation here is that only the allowed skills should be visible. But, i see all skills when i open opencode with just this opencode.json.

{
  "model": "opencode/deepseek-v4-flash-free",
  "mcp": {
    "github": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@modelcontextprotocol/server-github"
      ],
      "env": {
        "GITHUB_TOKEN": "env:GITHUB_TOKEN"
      }
    }
  },
  "instructions": [],
  "permission": {
    "skill": {
      "*": "deny",
      "caveman": "allow",
      "grill-me": "allow",
      "tdd": "allow"
    }
  }
}

Opencode is starting as below:

export OPENCODE_CONFIG=/path/to/above/opencode.json
opencode

I see other skills installed in /skills command showing up.
skills_available

Plugins

No response

OpenCode version

1.15.11

Steps to reproduce

  1. Run opencode with the above config.

Screenshot and/or share link

No response

Operating System

Ubuntu 26.04

Terminal

terminal

Activity

  1. github-actions commented on May 28, 2026

    @github-actions
    Contributor

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

  2. OpeOginni commented on May 28, 2026

    @OpeOginni
    Contributor

    @kapilratnani I feel like its alright for them to show in the list, lets say you want to force them in, but at least they are enforced

  3. kapilratnani commented on May 29, 2026

    @kapilratnani
    Author

    The documentation is misleading then. The skills are visible with /skills command and they get triggered as well. i Just tried.

  4. kapilratnani commented on Jun 4, 2026

    @kapilratnani
    Author

    Closing the issue as per discussion here #29738

  5. kapilratnani commented on Jun 4, 2026

    @kapilratnani
    Author

    @drozd-ua thanks. Discussed with @OpeOginni in the other thread. We are good. Closing this.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions