Quickstart

From javimosch/supercli · View interactive version

Quickstart is an AI agent skill from the GitHub repository javimosch/supercli. Use this skill when the user wants to evaluate, explain, or scan commands for safety issues, block dangerous git/shell commands, or manage command guard policies.

How to use this skill

Skill file

dcg Plugin

Destructive Command Guard (dcg) blocks dangerous git and shell commands from being executed by agents. Provides headless test, explain, scan, and exception management with structured JSON output.

Commands

Command Safety

Repository Scanning

Exceptions

Configuration

Utility

Usage Examples

Installation

curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/destructive_command_guard/main/install.sh?$(date +%s)" | bash -s -- --easy-mode

Examples

# Test a command
dcg command test "rm -rf ./build"
dcg command test --format json "kubectl delete namespace prod"

# Test with a specific config
dcg command test --config .dcg.prod.toml "docker system prune"

# Test with extra packs enabled
dcg command test --with-packs containers.docker,database.postgresql "docker system prune"

# Explain a blocked command
dcg command explain "git reset --hard HEAD"
dcg command explain --format json "git reset --hard HEAD"
dcg command explain --verbose "rm -rf /tmp/build"

# Scan repository for destructive commands
dcg repo scan
dcg repo scan --format json
dcg repo scan ./my-project --format json

# Create a temporary exception
dcg exception allow-once ab12
dcg exception allow-once ab12 --single-use

# List enabled packs
dcg config packs --verbose
dcg config packs --format json

# List allowlist entries
dcg config allowlist list

Key Features

Output Formats

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.