Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add timurgaleev/vibestack --skill guardgit clone --depth 1 https://github.com/timurgaleev/vibestackWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/timurgaleev/vibestack/guard)<a href="https://agentmods.dev/skills/timurgaleev/vibestack/guard"><img src="https://agentmods.dev/badge/skills/timurgaleev/vibestack/guard/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/timurgaleev/vibestack/guard"><img src="https://agentmods.dev/badge/skills/timurgaleev/vibestack/guard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00020 | $0.01289 |
| Opus 5.5 | $0.00008 | $0.00516 |
| Sonnet 5.5 | $0.00004 | $0.00258 |
| Haiku 4.5 | $0.00002 | $0.00129 |
Grade C, and why
guard scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 22d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- "1. **Destructive command guard** — Bash and PowerShell: rm -rf, Remove-Item -Recurse, DROP TABLE, force-push, etc. warn before executing (you can override); catastrophic shapes (recursive delete of `/` or `~`, force-p How it starts
The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.
If this session was compacted, the copy of this skill in context may be cut off.
Read ${CLAUDE_SKILL_DIR}/SKILL.md from disk and resume at the step you are on.
When to invoke
Use when asked to "guard mode", "full safety", "lock it down", or "maximum safety".
/guard — Full Safety Mode
Activates both destructive command warnings and directory-scoped edit restrictions.
This is /careful + /freeze in a single command.
Dependency note: This skill references hook scripts from the sibling /careful and /freeze skill directories. Both must be installed (they are installed together by the vibestack install script).
Where this is enforced. Both protections run as Claude Code PreToolUse
hooks. Cursor, Kiro and Codex install the same skill, but the hooks are not
guaranteed to run there; outside Claude Code /guard is instruction-only. On
those hosts, tell the user guard mode is advisory: you will confirm before a
destructive command and keep your own edits inside the boundary, but nothing
blocks a tool call you get wrong.
Copilot CLI is the exception. When the configuration payload is installed
(./install --with-config or --only=config), the user hook file
~/.copilot/hooks/vibestack.json (under $COPILOT_HOME when set) enforces
both halves: the destructive-command and gate-file check is always on, in every
session, and the edit boundary blocks while a freeze directory is set. Without
the configuration payload it is instruction-only there as well.
Setup
Ask the user which directory to restrict edits to:
"Guard mode: which directory should edits be restricted to? Destructive command warnings are always on. Files outside the chosen path will be blocked from editing."
Once the user provides a path, set it with the shared state writer (see
/freeze):
bash "${CLAUDE_SKILL_DIR:-$HOME/.claude/skills/guard}/../freeze/bin/freeze-state.sh" set "<user-provided-path>"
Report guard mode active only if the command exits 0 and prints FREEZE_DIR=.
On FREEZE_ERROR (a mistyped or missing path, or /), tell the user no edit
boundary was set and ask for the path again. On FREEZE_BUSY, retry once the
other writer finishes; never write or delete the state file directly.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 22d ago Changed · +3 lines f3eee57989b0
- 1mo ago Changed · +7 lines 98abdaf29b06
- 1mo ago Changed · +6 lines e31dc523fd11
- 1mo ago Changed · -40 tokens per session 208e55f20e6b
- 1mo ago Changed · +18 lines 22044a7630c7
- 2mo ago Changed · +4 lines 3bb5952810b6
- 3mo ago First seen · 72 lines · 60 tokens per session scan C ac2406279aee
guard is a skill published in the GitHub repository timurgaleev/vibestack (8 stars, last pushed 20d ago), licensed MIT. It adds 20 tokens to every session and 1,289 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
guard compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| guardtimurgaleev/vibestack | Skill | 8 | 20d ago | MIT | C | 20 | Claude Code |
| artifact-deploykirodotdev/KiroCrew | Skill | 5.2k | today | Apache-2.0 | A | 74 | Claude Code, Codex |
| security-conductorkirodotdev/KiroCrew | Skill | 5.2k | today | Apache-2.0 | A | 57 | Claude Code, Codex |
| explain-forkirodotdev/KiroCrew | Skill | 5.2k | today | Apache-2.0 | A | 71 | Claude Code, Codex |
| learn-from-sagekirodotdev/KiroCrew | Skill | 5.2k | today | Apache-2.0 | A | 56 | Claude Code, Codex |
| web-verifykirodotdev/KiroCrew | Skill | 5.2k | today | Apache-2.0 | A | 0 | Claude Code, Codex |
| mochi-remindkirodotdev/KiroCrew | Skill | 5.2k | today | Apache-2.0 | A | 20 | Claude Code, Codex |