[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M731AC663V3GFE0BZEVRPC4E":3,"skill-same:01M731AC663V3GFE0BZEVRPC4E":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M731AC663V3GFE0BZEVRPC4E","safety-guard",null,"Use this skill to prevent destructive operations when working on production systems or running agents autonomously.","SriramGandhiS\u002FSkills","SriramGandhiS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F211849986?v=4","01M72WQCW12BYX71C6WN584TTA","Sriram S","01M72WQCWTJ2RD0ET1X31AF1RC",1,"MIT","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fskills\u002Fsafety-guard\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: safety-guard\ndescription: Use this skill to prevent destructive operations when working on production systems or running agents autonomously.\norigin: ECC\n---\n\n# Safety Guard — Prevent Destructive Operations\n\n## When to Use\n\n- When working on production systems\n- When agents are running autonomously (full-auto mode)\n- When you want to restrict edits to a specific directory\n- During sensitive operations (migrations, deploys, data changes)\n\n## How It Works\n\nThree modes of protection:\n\n### Mode 1: Careful Mode\n\nIntercepts destructive commands before execution and warns:\n\n```\nWatched patterns:\n- rm -rf (especially \u002F, ~, or project root)\n- git push --force\n- git reset --hard\n- git checkout . (discard all changes)\n- DROP TABLE \u002F DROP DATABASE\n- docker system prune\n- kubectl delete\n- chmod 777\n- sudo rm\n- npm publish (accidental publishes)\n- Any command with --no-verify\n```\n\nWhen detected: shows what the command does, asks for confirmation, suggests safer alternative.\n\n### Mode 2: Freeze Mode\n\nLocks file edits to a specific directory tree:\n\n```\n\u002Fsafety-guard freeze src\u002Fcomponents\u002F\n```\n\nAny Write\u002FEdit outside `src\u002Fcomponents\u002F` is blocked with an explanation. Useful when you want an agent to focus on one area without touching unrelated code.\n\n### Mode 3: Guard Mode (Careful + Freeze combined)\n\nBoth protections active. Maximum safety for autonomous agents.\n\n```\n\u002Fsafety-guard guard --dir src\u002Fapi\u002F --allow-read-all\n```\n\nAgents can read anything but only write to `src\u002Fapi\u002F`. Destructive commands are blocked everywhere.\n\n### Unlock\n\n```\n\u002Fsafety-guard off\n```\n\n## Implementation\n\nUses PreToolUse hooks to intercept Bash, Write, Edit, and MultiEdit tool calls. Checks the command\u002Fpath against the active rules before allowing execution.\n\n## Integration\n\n- Enable by default for `codex -a never` sessions\n- Pair with observability risk scoring in ECC 2.0\n- Logs all blocked actions to `~\u002F.claude\u002Fsafety-guard.log`\n","# Safety Guard — Prevent Destructive Operations\n\n## When to Use\n\n- When working on production systems\n- When agents are running autonomously (full-auto mode)\n- When you want to restrict edits to a specific directory\n- During sensitive operations (migrations, deploys, data changes)\n\n## How It Works\n\nThree modes of protection:\n\n### Mode 1: Careful Mode\n\nIntercepts destructive commands before execution and warns:\n\n```\nWatched patterns:\n- rm -rf (especially \u002F, ~, or project root)\n- git push --force\n- git reset --hard\n- git checkout . (discard all changes)\n- DROP TABLE \u002F DROP DATABASE\n- docker system prune\n- kubectl delete\n- chmod 777\n- sudo rm\n- npm publish (accidental publishes)\n- Any command with --no-verify\n```\n\nWhen detected: shows what the command does, asks for confirmation, suggests safer alternative.\n\n### Mode 2: Freeze Mode\n\nLocks file edits to a specific directory tree:\n\n```\n\u002Fsafety-guard freeze src\u002Fcomponents\u002F\n```\n\nAny Write\u002FEdit outside `src\u002Fcomponents\u002F` is blocked with an explanation. Useful when you want an agent to focus on one area without touching unrelated code.\n\n### Mode 3: Guard Mode (Careful + Freeze combined)\n\nBoth protections active. Maximum safety for autonomous agents.\n\n```\n\u002Fsafety-guard guard --dir src\u002Fapi\u002F --allow-read-all\n```\n\nAgents can read anything but only write to `src\u002Fapi\u002F`. Destructive commands are blocked everywhere.\n\n### Unlock\n\n```\n\u002Fsafety-guard off\n```\n\n## Implementation\n\nUses PreToolUse hooks to intercept Bash, Write, Edit, and MultiEdit tool calls. Checks the command\u002Fpath against the active rules before allowing execution.\n\n## Integration\n\n- Enable by default for `codex -a never` sessions\n- Pair with observability risk scoring in ECC 2.0\n- Logs all blocked actions to `~\u002F.claude\u002Fsafety-guard.log`\n",{"name":5,"origin":24,"description":7},"ECC","master","d6ca01da0f24a3b0e26e4a8b7b66cbd25d429f5d","skills\u002Fsafety-guard",0,"https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills","https:\u002F\u002Fgithub.com\u002FSriramGandhiS","https:\u002F\u002Fsriram.website\u002F","Curious guy who keeps tinkering until something works","2026-05-20 16:21:34",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add SriramGandhiS\u002FSkills --skill safety-guard",{"tool":40,"command":41},"bunx","bunx skills add SriramGandhiS\u002FSkills --skill safety-guard",{"tool":43,"command":44},"pnpm","pnpm dlx skills add SriramGandhiS\u002FSkills --skill safety-guard","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fskills\u002Fsafety-guard\u002FSKILL.md",true,[],[49,56,61,67,74,81],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M732609EPJWV13PVTX3GT4TM","webgpu-threejs-tsl","Comprehensive guide for developing WebGPU-enabled Three.js applications using TSL (Three.js Shading Language). Covers WebGPU renderer setup, TSL syntax and node materials, compute shaders, post-processing effects, and WGSL integration. Use this skill when working with Three.js WebGPU, TSL shaders, node materials, or GPU compute in Three.js.","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fwebgpu-threejs-tsl\u002Fskills\u002Fwebgpu-threejs-tsl\u002FSKILL.md",[],[],{"skillNo":57,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7325XM47AGWB6K6C4VXKE6B","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fwebgpu-threejs-tsl\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7325WP6DES69JKC840VMFEP","verification-loop","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fweb-assets\u002Fdocs\u002Fzh-TW\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7325TFQF1DZTQ6J3WGQQ1VR","tdd-workflow","Use this skill when writing new features, fixing bugs, or refactoring code. Enforces test-driven development with 80%+ coverage including unit, integration, and E2E tests.","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fweb-assets\u002Fdocs\u002Fzh-TW\u002Fskills\u002Ftdd-workflow\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7325RGV9AY9PK92D2V8KKPW","strategic-compact","Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction.","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fweb-assets\u002Fdocs\u002Fzh-TW\u002Fskills\u002Fstrategic-compact\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7325MZC28SE86E7NMCNEFS4","security-review","Use this skill when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment\u002Fsensitive features. Provides comprehensive security checklist and patterns.","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fweb-assets\u002Fdocs\u002Fzh-TW\u002Fskills\u002Fsecurity-review\u002FSKILL.md",[],[]]