accidental-data-loss-prevention
**STOP AND VERIFY**: Before running any command or tool that results in irreversible data loss, you MUST obtain explicit user consent. When in doubt, ask. It is better to wait for confirmation than to accidentally delete production data or critical project assets. Use this for: - SQL: DROP TABLE/VIEW/SCHEMA/DATABASE, TRUNCATE, or broad DELETE (missing WHERE or using 1=1). - Cloud Storage: gsutil rm or gcloud storage rm targeting production data or critical buckets. - Infrastructure: gcloud projects delete, deleting Spanner/BigQuery/Dataproc resources, deleting secrets, or KMS key destruction.
Install
With your agent
Install OMGSkills skill "googlecloudplatform/data-agent-kit-plugin:skills/accidental-data-loss-prevention" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.
Manual command
git clone https://github.com/GoogleCloudPlatform/data-agent-kit-plugin /tmp/data-agent-kit-plugin && ln -s /tmp/data-agent-kit-plugin/skills/accidental-data-loss-prevention ~/.claude/skills/accidental-data-loss-prevention
From README
Accidental Data Loss Prevention [!CAUTION] STOP AND VERIFY: Before running any command or tool that results in irreversible data loss, you MUST obtain explicit user consent. Mandatory Procedure Halt Execution: Do not execute the command. Request Consent: Explain clearly to the user: The impact of this deletion. Why you believe this is necessary. A request for their explicit approval to proceed. Wait: Only proceed if the user provides clear, affirmative consent in the conversation.
More from this repo
bigquery-ai-ml
Leverages BigQuery's built-in machine learning and GenAI capabilities for advanced data analytics.
bigquery-bigframes
Generates Python code using BigQuery DataFrames (BigFrames).
bigquery-data-transfer-service
Discovers and inspects BigQuery Data Transfer Service (DTS) configurations.
