[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73C3M1BQB957JY3HAXD6VBY":3,"skill-same:01M73C3M1BQB957JY3HAXD6VBY":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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M73C3M1BQB957JY3HAXD6VBY","hook-block-commands",null,"Pattern guide for writing PreToolUse hooks that block dangerous shell commands. Use when: building or auditing a guard-destructive hook, adding new blocked patterns, reviewing what the current hook covers. Covers 3 safety levels (critical\u002Fhigh\u002Fstrict) and 58+ regex patterns. Inspired by: karanb192\u002Fclaude-code-hooks block-dangerous-commands pattern (MIT).","Horonomos-laps\u002FYana-AI","Horonomos-laps","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F355299122?v=4","01M76B3QPXE88ET2SQPDPVATZT"," Horonomos-laps","01M72ZQRJPCYPSSWT4D00VJR2A",13,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fhook-block-commands\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: \"hook-block-commands\"\ndescription: \"Pattern guide for writing PreToolUse hooks that block dangerous shell commands. Use when: building or auditing a guard-destructive hook, adding new blocked patterns, reviewing what the current hook covers. Covers 3 safety levels (critical\u002Fhigh\u002Fstrict) and 58+ regex patterns. Inspired by: karanb192\u002Fclaude-code-hooks block-dangerous-commands pattern (MIT).\"\n---\n\n# Hook Block Commands Pattern\n\n## When to trigger\n\n- \"what does guard-destructive block?\"\n- \"add pattern to hook\", \"block this command\"\n- \"review hook coverage\", \"hook pattern\"\n- Auditing `core\u002Fhooks\u002Fguard-destructive.sh`\n\n## Safety levels\n\n| Level | Scope |\n|---|---|\n| `critical` | Catastrophic only: rm -rf ~, dd to disk, fork bombs |\n| `high` (default) | + force push main, git reset --hard, git clean -f, chmod 777, curl\\|sh, secret file ops |\n| `strict` | + any force push, sudo rm, docker prune, crontab -r |\n\n## Core pattern categories (58+ patterns)\n\n### Filesystem destruction\n- `rm -rf \u002F`, `rm -rf ~`, `rm -rf $HOME`\n- `mkfs.*`, `dd if=.* of=\u002Fdev\u002F`\n- `shred`, `wipe`\n\n### Git destructive\n- `git push.*--force.*main`, `git push.*-f.*main`\n- `git reset --hard`, `git clean -fdx`, `git filter-branch`\n- `git reflog expire`\n\n### System\u002Fprocess\n- `:(){:|:&};:` (fork bomb)\n- `chmod -R 777`, `chmod 777 \u002F`\n- `sudo rm`, `sudo chmod`\n\n### Secret exposure\n- `cat ~\u002F.aws\u002Fcredentials`, `cat .env`\n- `echo $.*TOKEN`, `env | grep.*KEY`\n- Piping secrets to curl\u002Fnetcat\n\n### Exfiltration\n- `curl.*upload`, `scp.*`, `rsync.*remote`\n- `nc.*\u003CIP>`, `netcat.*`\n\n## Hook exit codes\n\n```bash\nexit 0  → allow (no output)\nexit 2  → block (JSON reason on stdout)\n```\n\n## Blocking response format\n\n```json\n{\n  \"decision\": \"block\",\n  \"reason\": \"🚫 Blocked: rm -rf on home directory. Safety level: high.\"\n}\n```\n\n## Adding new patterns to guard-destructive.sh\n\n1. Identify the pattern category (filesystem \u002F git \u002F system \u002F secret \u002F exfiltration)\n2. Write a regex that matches the dangerous form but not safe variants\n3. Add to the correct safety level block\n4. Add a test case to `core\u002Ftests\u002Fhooks\u002Frun-hook-tests.sh`\n5. Update hook `# Last Reviewed:` date\n\n## Reference\n\nYAMTAM hook: `core\u002Fhooks\u002Fguard-destructive.sh`\nTests: `core\u002Ftests\u002Fhooks\u002Frun-hook-tests.sh`\n","# Hook Block Commands Pattern\n\n## When to trigger\n\n- \"what does guard-destructive block?\"\n- \"add pattern to hook\", \"block this command\"\n- \"review hook coverage\", \"hook pattern\"\n- Auditing `core\u002Fhooks\u002Fguard-destructive.sh`\n\n## Safety levels\n\n| Level | Scope |\n|---|---|\n| `critical` | Catastrophic only: rm -rf ~, dd to disk, fork bombs |\n| `high` (default) | + force push main, git reset --hard, git clean -f, chmod 777, curl\\|sh, secret file ops |\n| `strict` | + any force push, sudo rm, docker prune, crontab -r |\n\n## Core pattern categories (58+ patterns)\n\n### Filesystem destruction\n- `rm -rf \u002F`, `rm -rf ~`, `rm -rf $HOME`\n- `mkfs.*`, `dd if=.* of=\u002Fdev\u002F`\n- `shred`, `wipe`\n\n### Git destructive\n- `git push.*--force.*main`, `git push.*-f.*main`\n- `git reset --hard`, `git clean -fdx`, `git filter-branch`\n- `git reflog expire`\n\n### System\u002Fprocess\n- `:(){:|:&};:` (fork bomb)\n- `chmod -R 777`, `chmod 777 \u002F`\n- `sudo rm`, `sudo chmod`\n\n### Secret exposure\n- `cat ~\u002F.aws\u002Fcredentials`, `cat .env`\n- `echo $.*TOKEN`, `env | grep.*KEY`\n- Piping secrets to curl\u002Fnetcat\n\n### Exfiltration\n- `curl.*upload`, `scp.*`, `rsync.*remote`\n- `nc.*\u003CIP>`, `netcat.*`\n\n## Hook exit codes\n\n```bash\nexit 0  → allow (no output)\nexit 2  → block (JSON reason on stdout)\n```\n\n## Blocking response format\n\n```json\n{\n  \"decision\": \"block\",\n  \"reason\": \"🚫 Blocked: rm -rf on home directory. Safety level: high.\"\n}\n```\n\n## Adding new patterns to guard-destructive.sh\n\n1. Identify the pattern category (filesystem \u002F git \u002F system \u002F secret \u002F exfiltration)\n2. Write a regex that matches the dangerous form but not safe variants\n3. Add to the correct safety level block\n4. Add a test case to `core\u002Ftests\u002Fhooks\u002Frun-hook-tests.sh`\n5. Update hook `# Last Reviewed:` date\n\n## Reference\n\nYAMTAM hook: `core\u002Fhooks\u002Fguard-destructive.sh`\nTests: `core\u002Ftests\u002Fhooks\u002Frun-hook-tests.sh`\n",{"name":5,"description":7},"main","481dcd7dd2e288b9d627a2bd017db70e64e6c6fa","core\u002Fskills\u002Fhook-block-commands",2,"https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI","https:\u002F\u002Fyana.vutam.link\u002F","https:\u002F\u002Fgithub.com\u002FHoronomos-laps","https:\u002F\u002Fyana.vutam.link","An open-source governed runtime & execution environment for multi-agent AI systems.","2026-11-14 13:24:09",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add Horonomos-laps\u002FYana-AI --skill hook-block-commands",{"tool":40,"command":41},"bunx","bunx skills add Horonomos-laps\u002FYana-AI --skill hook-block-commands",{"tool":43,"command":44},"pnpm","pnpm dlx skills add Horonomos-laps\u002FYana-AI --skill hook-block-commands","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fhook-block-commands\u002FSKILL.md",true,[],[49,57,64,72,80,88],{"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":53,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M735GKET5YVYKAY62W2P5YXB","openai--sentry--sentry","Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.","MIT","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fopenai--sentry--sentry\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M73DCAP83T17HY7SMGK7MGFE","ito-basket-compare","Compare Itô prediction-market baskets against a user's knowledge base, portfolio notes, financial context, watchlist, or research thesis. Use for read-only basket comparison and gap analysis without investment advice or live trading.","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fito-basket-compare\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":68,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M734CYEMZFDR3KH6SW0JP8TD","implementing-network-traffic-baselining","Build network traffic baselines from NetFlow\u002FIPFIX data using Python pandas for statistical analysis, z-score anomaly detection, and hourly\u002Fdaily traffic pattern profiling","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":76,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M73ASZ6NJRJM44Z2P84NGQ3Q","detecting-evasion-techniques-in-endpoint-logs","Detects defense evasion techniques used by adversaries in endpoint logs including log tampering, timestomping, process injection, and security tool disabling. Use when investigating suspicious endpoint behavior, building detection rules for evasion tactics, or conducting threat hunting for stealthy adversary activity. Activates for requests involving evasion detection, defense evasion analysis, log tampering detection, or MITRE ATT&CK TA0005.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":84,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M734AFNXD06Z78QRK0VKGT7Q","implementing-microsegmentation-with-guardicore","Implementing microsegmentation using Akamai Guardicore Segmentation to map application dependencies, create granular network policies, visualize east-west traffic flows, and enforce least-privilege communication between workloads across data centers and cloud.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"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":91,"categories":92,"keywords":93,"publishedAt":19},"01M736TK27QMCXK0DVCH25SJN5","ramdisk-tmpfs-patterns","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Framdisk-tmpfs-patterns\u002FSKILL.md",[],[]]