/guard:guardfrom guard
Helps initialize, manage collections, and inspect the `guard` CLI file-permission tool. Prints sudo commands when root is needed.
Ships in guard. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Helper for the guard CLI (https://github.com/florianbuetow/guard). Guard protects files from accidental edits by setting the immutable flag and root ownership. This skill composes the right guard commands for the user.
| Intent | Reference |
|---|---|
Set up guard / .guardfile missing | references/init.md |
| Build a collection from a description or list | references/create-collection.md |
| Remove a collection | references/remove-collection.md |
| Restore everything, wipe the registry | references/clear-all.md |
| Show collections and loose guarded files | references/info.md |
The agent runs as the user, without sudo. Operations that change a file's guard state require root (clearing the immutable flag is root-only), so the agent cannot run them — it prints the exact sudo guard … command for the user to run.
sudo guard … for: enable, disable, toggle, reset, and destroy/remove/clear when the target files are currently guarded.init, add, create, update … add, show, config, and destroy/remove when files are already unguarded.Check guard state with guard show before deciding. A file is guarded when its line starts with G.
Always quote collection names and file paths in any command you run or print: guard destroy "$name", sudo guard enable collection "$name". Paths can contain spaces.
For exact syntax of any subcommand, run guard help <sub>. Don't reproduce it here.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub florianbuetow/claude-code --plugin guardOther plugins' skills for the same job