gws-modelarmor

Automate content filtering with Google Model Armor templates.

302|22|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/JetBrains/skills --skill gws-modelarmor-jetbrains
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gws-modelarmor
Source: https://github.com/JetBrains/skills/tree/main/gws-modelarmor
Command: npx skills add https://github.com/JetBrains/skills --skill gws-modelarmor-jetbrains

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Model Armor filters user-generated content to enforce safety and policy compliance in AI workflows, reducing unsafe outputs.

Core Features & Use Cases

  • Sanitize prompts to remove risky instructions.
  • Sanitize responses to remove unsafe or disallowed content.
  • Create and reuse Model Armor templates across resources and methods.

Quick Start

Run the gws modelarmor command with a resource and method to apply model armor sanitization.

Frequently Asked Questions about gws-modelarmor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I sanitize user prompts to remove risky instructions in AI workflows?▼

Prompt sanitization removes risky instructions by applying safety guardrails to user prompts. This Skill automates filtering user-generated content using Google's Model Armor templates to enforce safety and policy compliance.

What is the best way to filter AI responses for unsafe content?▼

Response sanitization filters unsafe or disallowed content from AI outputs. This is achieved by applying Model Armor templates across resources and methods to ensure generated responses meet safety guardrails.

Can I create reusable content safety templates for prompt and response sanitization?▼

Yes, you can create and reuse Model Armor templates. The Skill automates template creation and applies them across resources and methods for consistent prompt and response sanitization.

Do I need a CLI to apply Model Armor sanitization across resources?▼

Yes, CLI-based resource management is required. You run the gws modelarmor command with a resource and method to apply model armor sanitization, utilizing shared auth and safety guardrails.

How does Model Armor enforce policy compliance for user-generated content?▼

Model Armor enforces policy compliance by filtering user-generated content through predefined templates. It applies safety guardrails to sanitize prompts and responses, reducing unsafe outputs in AI workflows.