skill_manage
Manage Thread Keeper's shared skills by creating, editing, patching, deleting, or restoring skill files, with frontmatter validation and automatic mirroring across all configured roots.
Instructions
Create, edit, patch, or delete skills under the primary skills root.
Atomic primary write with frontmatter validation before disk hits, then best-effort mirror into every configured skill root.
Actions:
create — write a brand-new skill. Requires name + description
+ content (the body markdown WITHOUT frontmatter; the
tool prepends a valid frontmatter block).
Pass full content starting with '---' to skip the
auto-frontmatter and supply your own.
edit — overwrite SKILL.md wholesale. Requires name + content
(full file including frontmatter).
patch — find/replace within SKILL.md. Requires name,
old_string, new_string. Result revalidated.
write_file — add a support file. Requires name, sub_path (must
start with references/, templates/, scripts/, or assets/),
content.
remove_file — remove a support file under one of the allowed subdirs.
Requires name, sub_path.
delete — remove a skill entirely. Pinned skills (in skill_usage)
are refused. Foreground/unknown-origin skills require
force from a foreground writer. Pass replacement_name
during consolidation to repoint inbound [[wikilinks]];
otherwise the result lists dangling references.
restore — restore the latest trashed copy for name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| force | No | ||
| action | Yes | ||
| content | No | ||
| sub_path | No | ||
| new_string | No | ||
| old_string | No | ||
| description | No | ||
| replacement_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |