ai-ml/dev-signal/.agent/skills/gcp-agent-safety-gatekeeper/SKILL.md
Implements the "Defense-in-Depth" integration pattern in Python (intercepting prompts, parsing filter results).
npx skillsauth add googlecloudplatform/devrel-demos gcp-agent-safety-gatekeeperInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill implements the Python integration layer for Model Armor. Grounded in security_blog.md, it provides the safety_util functions needed to intercept prompts, sanitize them against your security policy, and handle safety triggers in your FastAPI backend.
Ask Antigravity to:
ModelArmorClient with the correct regional endpoint.safety_util.py: A robust parser that converts SanitizeUserPromptResponse into a list of human-readable security triggers (e.g., "Prompt Injection", "PII: Person names").Refer to scripts/safety_util.py for the core parsing logic.
devops
Standardizes the creation of Sensitive Data Protection (DLP) templates for PII and credential redaction.
testing
Configures Model Armor security policies (Prompt Injection, Jailbreak, RAI filters).
tools
Assists developers in collecting and structuring a library of diverse examples ("Golden Dataset") required for data-driven evaluation, including tool trajectories.
tools
Provides templates for configuring Vertex AI Gen AI Evaluation metrics like GROUNDING, TOOL_USE_QUALITY, and ResponseMatch for specific agent domains.