# 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).

- Skill name: `gcp-agent-model-armor-shield`
- Category: [Agent Building](https://www.openparable.com/skill/agent-building/1)
- Source: https://github.com/GoogleCloudPlatform/devrel-demos/blob/HEAD/ai-ml/dev-signal/.agent/skills/gcp-agent-model-armor-shield/SKILL.md
- Repository: GoogleCloudPlatform/devrel-demos (332 GitHub stars when collected)

## SKILL.md

# 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.

---

Source: https://www.openparable.com/skill/agent-building/gcp-agent-model-armor-shield (OpenParable). Cite the canonical URL above.
