DCG
- Upstream: https://github.com/Dicklesworthstone/destructive_command_guard
- Plugin: https://gitlab.com/kilianpaquier/ai-integration
- Description: Block destructive shell and git commands before they run.
Hooks
| Event | Output |
|---|---|
PreToolUse |
blocks the command when dcg flags it as destructive |
Warning
dcg must already be installed and available in PATH.
This plugin only wires the hook, it does not install or manage the dcg binary.
Installation
Native plugin (recommended):
my-agent plugin install dcg@one-for-allAPM package:
apm install kilianpaquier/ai-integration/plugins/dcg -gAPM plugin:
apm marketplace add kilianpaquier/ai-integration
apm install dcg@one-for-all -g