OpenParable
Skip to content
← Back to skills

GCP Agent Model Armor Shield

Agent Building
gcp-agent-model-armor-shield

GCP Agent Model Armor Shield is an Agent Skill for agent building published in the GoogleCloudPlatform/devrel-demos repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Configures Model Armor security policies (Prompt Injection, Jailbreak, RAI filters).

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/GoogleCloudPlatform/devrel-demos/blob/HEAD/ai-ml/dev-signal/.agent/skills/gcp-agent-model-armor-shield/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/gcp-agent-model-armor-shield, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

gcp-agent-model-armor-shield

This skill configures Model Armor as an intelligent firewall for your AI agents. Grounded in security_blog.md, it protects against prompt injection, jailbreaking, malicious URLs, and links to SDP templates for data privacy.

Usage

Ask Antigravity to:

  • "Configure Model Armor for my agent"
  • "Add prompt injection protection to my security policy"
  • "Set up RAI filters for hate speech and harassment"
  • "Link my SDP templates to Model Armor via Terraform"

Protection Layers

  1. Detection Filters: Prompt Injection, Jailbreak, and Malicious URI detection.
  2. RAI Settings: Configurable confidence levels for Hate Speech, Harassment, Sexually Explicit, and Dangerous Content.
  3. SDP Integration: Hooks for Advanced Sensitive Data Protection (linking to Inspect/De-identify templates).

Terraform Boilerplate

Refer to resources/model_armor.tf for the standard configuration.