Agent Skills › Dicklesworthstone/destructive_command_guard

Dicklesworthstone/destructive_command_guard

GitHub

DCG是用于Claude Code的高性能Rust钩子,通过拦截并阻止危险命令(如rm -rf、git reset --hard等)来防止AI代理意外破坏工作区。采用白名单优先架构和SIMD加速,保障Agent工作流安全。

1 skills 5,952

Install All Skills

npx skills add Dicklesworthstone/destructive_command_guard --all -g -y
More Options

List skills in collection

npx skills add Dicklesworthstone/destructive_command_guard --list

Skills in Collection (1)

DCG是用于Claude Code的高性能Rust钩子,通过拦截并阻止危险命令(如rm -rf、git reset --hard等)来防止AI代理意外破坏工作区。采用白名单优先架构和SIMD加速,保障Agent工作流安全。
AI编程代理执行可能破坏代码或数据的命令 需要防止误删文件、重置分支或丢弃未提交更改的场景
npx skills add Dicklesworthstone/destructive_command_guard --skill dcg -g -y

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-21 11:47
浙ICP备14020137号-1