{"id":"ee34f765-d14d-4989-8362-01d6002353e5","shortId":"Cyv9eS","kind":"skill","title":"guard","tagline":"Full safety mode: destructive command warnings + directory-scoped edits.\nCombines /careful (warns before rm -rf, DROP TABLE, force-push, etc.) with\n/freeze (blocks edits outside a specified directory). Use for maximum safety\nwhen touching prod or debugging live systems. Use when ","description":"# /guard — Full Safety Mode\n\nActivates both destructive command warnings and directory-scoped edit restrictions.\nThis is `/careful` + `/freeze` in a single command.\n\n**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).\n\n## Setup\n\nAsk the user which directory to restrict edits to:\n\n> \"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.\"\n\nOnce the user provides a path:\n\n```bash\nFREEZE_DIR=$(cd \"<user-provided-path>\" 2>/dev/null && pwd)\nFREEZE_DIR=\"${FREEZE_DIR%/}/\"\nSTATE_DIR=\"${VIBESTACK_HOME:-$HOME/.vibestack}\"\nmkdir -p \"$STATE_DIR\"\necho \"$FREEZE_DIR\" > \"$STATE_DIR/freeze-dir.txt\"\necho \"Freeze boundary set: $FREEZE_DIR\"\n```\n\nTell the user:\n- \"**Guard mode active.** Two protections are now running:\"\n- \"1. **Destructive command warnings** — rm -rf, DROP TABLE, force-push, etc. will warn before executing (you can override)\"\n- \"2. **Edit boundary** — file edits restricted to `<path>/`. Edits outside this directory are blocked.\"\n- \"To remove the edit boundary, run `/unfreeze`. To deactivate everything, end the session.\"\n\n## What's protected\n\nSee `/careful` for the full list of destructive command patterns and safe exceptions.\nSee `/freeze` for how edit boundary enforcement works.","tags":["guard","vibestack","timurgaleev","agent-skills","ai-agents","claude-code","cursor-ide","developer-tools","kiro","mcp","prompt-engineering","slash-commands"],"capabilities":["skill","source-timurgaleev","skill-guard","topic-agent-skills","topic-ai-agents","topic-claude-code","topic-cursor-ide","topic-developer-tools","topic-kiro","topic-mcp","topic-prompt-engineering","topic-slash-commands"],"categories":["vibestack"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/timurgaleev/vibestack/guard","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add timurgaleev/vibestack","source_repo":"https://github.com/timurgaleev/vibestack","install_from":"skills.sh"}},"qualityScore":"0.457","qualityRationale":"deterministic score 0.46 from registry signals: · indexed on github topic:agent-skills · 15 github stars · SKILL.md body (1,453 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:06:21.328Z","embedding":null,"createdAt":"2026-05-18T19:06:21.328Z","updatedAt":"2026-05-18T19:06:21.328Z","lastSeenAt":"2026-05-18T19:06:21.328Z","tsv":"'/careful':13,62,78,228 '/dev/null':142 '/freeze':25,63,80,241 '/guard':45 '/unfreeze':217 '1':179 '2':141,198 'activ':49,173 'alway':119 'ask':97 'bash':137 'block':26,128,210 'boundari':164,200,215,245 'cd':140 'chosen':124 'combin':12 'command':6,52,67,116,181,235 'deactiv':219 'debug':40 'depend':68 'destruct':5,51,115,180,234 'dir':139,145,147,149,156,159,167 'dir/freeze-dir.txt':161 'directori':9,31,56,82,101,109,208 'directory-scop':8,55 'drop':18,185 'echo':157,162 'edit':11,27,58,104,111,130,199,202,205,214,244 'end':221 'enforc':246 'etc':23,190 'everyth':220 'except':239 'execut':194 'file':121,201 'forc':21,188 'force-push':20,187 'freez':138,144,146,158,163,166 'full':2,46,231 'guard':1,106,171 'home':151 'home/.vibestack':152 'hook':73 'instal':86,89,94 'list':232 'live':41 'maximum':34 'mkdir':153 'mode':4,48,107,172 'must':84 'note':69 'outsid':28,122,206 'overrid':197 'p':154 'path':125,136 'pattern':236 'prod':38 'protect':175,226 'provid':134 'push':22,189 'pwd':143 'refer':72 'remov':212 'restrict':59,103,113,203 'rf':17,184 'rm':16,183 'run':178,216 'safe':238 'safeti':3,35,47 'scope':10,57 'script':74,95 'see':227,240 'session':223 'set':165 'setup':96 'sibl':77 'singl':66 'skill':71,81 'skill-guard' 'source-timurgaleev' 'specifi':30 'state':148,155,160 'system':42 'tabl':19,186 'tell':168 'togeth':90 'topic-agent-skills' 'topic-ai-agents' 'topic-claude-code' 'topic-cursor-ide' 'topic-developer-tools' 'topic-kiro' 'topic-mcp' 'topic-prompt-engineering' 'topic-slash-commands' 'touch':37 'two':174 'use':32,43 'user':99,133,170 'vibestack':93,150 'warn':7,14,53,117,182,192 'work':247","prices":[{"id":"cc55af46-2fe5-4d17-96c5-2522382a478c","listingId":"ee34f765-d14d-4989-8362-01d6002353e5","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"timurgaleev","category":"vibestack","install_from":"skills.sh"},"createdAt":"2026-05-18T19:06:21.328Z"}],"sources":[{"listingId":"ee34f765-d14d-4989-8362-01d6002353e5","source":"github","sourceId":"timurgaleev/vibestack/guard","sourceUrl":"https://github.com/timurgaleev/vibestack/tree/main/skills/guard","isPrimary":false,"firstSeenAt":"2026-05-18T19:06:21.328Z","lastSeenAt":"2026-05-18T19:06:21.328Z"}],"details":{"listingId":"ee34f765-d14d-4989-8362-01d6002353e5","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"timurgaleev","slug":"guard","github":{"repo":"timurgaleev/vibestack","stars":15,"topics":["agent-skills","ai-agents","claude-code","cursor-ide","developer-tools","kiro","mcp","prompt-engineering","slash-commands"],"license":"mit","html_url":"https://github.com/timurgaleev/vibestack","pushed_at":"2026-05-18T18:19:05Z","description":"vibestack is a portable skill pack for AI coding agents. Slash commands like /office-hours, /ship, /investigate, /tdd, /review install once and work across every agent that supports the Agent Skills open standard — Claude Code, Cursor, Kiro, and a growing list of others. ","skill_md_sha":"dfd1ca4443223785db98e539e9373f59910fc236","skill_md_path":"skills/guard/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/timurgaleev/vibestack/tree/main/skills/guard"},"layout":"multi","source":"github","category":"vibestack","frontmatter":{"name":"guard","description":"Full safety mode: destructive command warnings + directory-scoped edits.\nCombines /careful (warns before rm -rf, DROP TABLE, force-push, etc.) with\n/freeze (blocks edits outside a specified directory). Use for maximum safety\nwhen touching prod or debugging live systems. Use when asked to \"guard mode\",\n\"full safety\", \"lock it down\", or \"maximum safety\"."},"skills_sh_url":"https://skills.sh/timurgaleev/vibestack/guard"},"updatedAt":"2026-05-18T19:06:21.328Z"}}