feat(coding-agent): support disable-model-invocation frontmatter for skills
When set to true, the skill is hidden from the system prompt, preventing agentic invocation. Users can still invoke explicitly via /skill:name. Also fixes pre-existing test bug where source expectation was wrong. Fixes #927
This commit is contained in:
@@ -97,6 +97,7 @@ Per the [Agent Skills specification](https://agentskills.io/specification#frontm
|
||||
| `compatibility` | No | Max 500 chars. Environment requirements (system packages, network access, etc.). |
|
||||
| `metadata` | No | Arbitrary key-value mapping for additional metadata. |
|
||||
| `allowed-tools` | No | Space-delimited list of pre-approved tools (experimental). |
|
||||
| `disable-model-invocation` | No | When `true`, the skill is hidden from the system prompt. The model cannot invoke it agentically; users must use `/skill:name`. |
|
||||
|
||||
#### Name Validation
|
||||
|
||||
|
||||
Reference in New Issue
Block a user