Dcg
ListedDcg analyzes data to predict customer demand, optimizing inventory and boosting sales efficiency for businesses.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations --skill dcg -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
dicklesworthstone
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill failed 1 of 6 checks. A failure is not proof of bad intent; it means something in the code needs a human to look at it before you run it.
No pipe-to-shell installers: failed
Runs code fetched at install time in 1 place.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
What it found
- skills/dcg/scripts/validate-dcg.sh:12remote script piped into a shell
echo " curl -fsSL https://raw.githubusercontent.com/Dicklesworthstone/destructive_command_guard/main/install.sh | bash -s -- --easy-mode"
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No undeclared network calls: passed
Only contacts known or declared hosts: github.com, raw.githubusercontent.com.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
Hosts contacted
github.comsource hostraw.githubusercontent.comsource hostNo obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
No credential access: passed
Reads no keys, tokens, keychains or credential files.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
Pinned to a commit: passed
Scanned dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations at 4d332440c3.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- 4d332440c3
- Manifest
- skills/dcg/SKILL.md
- Scanned
- 9 files, 1,535 lines
About this skill
What it does
The Dcg skill is a Claude Code hook designed to prevent destructive commands from being executed by AI coding agents. It intercepts potentially harmful Git commands, such as those that could lead to data loss or accidental code deletion (e.g., git reset --hard, rm -rf ./src). Dcg operates with sub-millisecond latency thanks to Rust and SIMD acceleration, ensuring minimal disruption to the development workflow while providing a crucial safety net.
When to use it
- When using AI coding agents that automate Git operations.
- To prevent accidental data loss due to typos or incorrect commands generated by an agent.
- In environments where uncommitted changes are valuable and need protection from destructive actions.
Key capabilities
- Destructive Command Blocking: Intercepts and blocks specific, known dangerous Git commands.
- Whitelist-First Architecture: Prioritizes allowing explicitly safe commands while blocking potentially harmful ones.
- Default-Allow Behavior: Unrecognized commands are allowed by default to avoid disrupting legitimate workflows.
- Zero False Negatives Philosophy: Prioritizes preventing dangerous commands over avoiding false positives (occasional manual confirmation is acceptable).
Example prompts
- "Clean up the build artifacts." (Will be blocked if it translates to
rm -rf ./src) - "Reset to the last commit." (Will be blocked if it translates to
git reset --hard) - "Fix the merge conflict." (May be blocked depending on how the agent attempts to resolve it)
Tips & gotchas
- The skill operates as a Git hook, so ensure your environment supports and allows for Git hooks.
- Dcg prioritizes preventing data loss; you may occasionally need to manually confirm commands that are flagged.
- New or unusual Git commands will be allowed by default until explicitly categorized as safe or destructive.