guard
Use when the user wants to initialize, build a collection in, remove a collection from, clear, or inspect the `guard` CLI file-permission tool. Triggers on…
от florianbuetow★ 22 звезды на GitHub
Установить guard в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
guard
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.
Routing
| 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 sudo rule (the only non-obvious thing)
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.
- Print
sudo guard …for:enable,disable,toggle,reset, anddestroy/remove/clearwhen the target files are currently guarded. - Run directly (no sudo):
init,add,create,update … add,show,config, anddestroy/removewhen files are already unguarded.
Check guard state with guard show before deciding. A file is guarded when its line starts with G.
Quote arguments
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.
CLI reference
For exact syntax of any subcommand, run guard help <sub>. Don't reproduce it here.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/clear-all.md
- references/create-collection.md
- references/info.md
- references/init.md
- references/remove-collection.md
FAQ
Что делает скилл guard?
Use when the user wants to initialize, build a collection in, remove a collection from, clear, or inspect the `guard` CLI file-permission tool. Triggers on "init guard", "set up guard", "guard my test files", "create a guard collection", "remove guard collection", "delete guard collection", "unguard a collection", "clear all guard", "wipe guard", "reset guard", "guard status", "guard info", "show guard", "what's guarded".
Как установить скилл guard?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл guard запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…