artifact_delete
Delete a KB-root artifact file after verifying its current SHA-256 with if_match, and remove now-empty skill or hook directories.
Instructions
Deletes a KB-root artifact file (skills//, agents/.md, hooks/, mcp/.json, instructions.md, templates/.md, paths.yaml, glossary.yaml), and its now-empty containing artifact directory for skills/hooks. if_match (sha256 of the current content, from artifact_read/artifact_list) is required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path relative to the KB root | |
| reason | No | Why (commit trailer) | |
| if_match | Yes | Expected sha256 of the current content |