[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F48H28VMRTE0N4Z2QRW0FJ":3,"skill-same:01M7F48H28VMRTE0N4Z2QRW0FJ":47},{"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":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7F48H28VMRTE0N4Z2QRW0FJ","safety-guard",null,"Use this skill to prevent destructive operations when working on production systems or running agents autonomously.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fsafety-guard\u002FSKILL.md",[],[],"2026-11-16 10:05:34",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","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","05-技能与代理开发\u002Fsafety-guard",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill safety-guard",{"tool":39,"command":40},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill safety-guard",{"tool":42,"command":43},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill safety-guard","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fsafety-guard\u002FSKILL.md",true,[],[48,55,60,67,74,81],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":56,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"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},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\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},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\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},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\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},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]