gws-modelarmor-sanitize-response

Sanitize model outputs by applying a Model Armor template to remove unsafe content and protect user data.

Updated Jun 7, 2026
One-click install
npx skills add https://github.com/vikingokft/vikingo-studio-skills --skill gws-modelarmor-sanitize-response-vikingokft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-modelarmor-sanitize-response
Source: https://github.com/vikingokft/vikingo-studio-skills/tree/main/google/gws-modelarmor-sanitize-response
Command: npx skills add https://github.com/vikingokft/vikingo-studio-skills --skill gws-modelarmor-sanitize-response-vikingokft

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Sanitize a model response by applying a Model Armor template to remove unsafe content and protect user data.

Core Features & Use Cases

  • Applies a Model Armor template to model outputs to enforce safety rules.
  • Useful for outbound content moderation, API responses, and chat interactions.
  • Example: sanitize a model response before presenting to a user in a customer-support chatbot.

Quick Start

Run the sanitize command with your chosen template and a sample model output to see the sanitized result.

Frequently Asked Questions about gws-modelarmor-sanitize-response

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

FAQPage Schema
How do I sanitize model outputs to prevent unsafe content in AI interactions?

Sanitize model outputs by applying a Model Armor template to outbound content, which enforces safety rules and mitigates unsafe prompts or data leakage before presenting results to users.

What is Model Armor template application for outbound content moderation?

Model Armor template application is a process that filters model responses to enforce compliance and safety rules, ensuring outbound content in chat interactions or API responses is safe.

Do I need the gws tool to apply Model Armor templates for prompt safety?

Yes, you need the gws tool, a valid Model Armor template, and the model output text to produce a safe, compliant result that mitigates unsafe prompts and data leakage.

How do I sanitize chatbot responses for compliance and data leakage prevention?

Sanitize chatbot responses by running the gws sanitize command with a Model Armor template and the model output to remove unsafe content and protect user data.

When should I sanitize model responses before presenting them to users?

Sanitize model responses before presenting them to users in customer-support chatbots, API outputs, or any outbound AI interaction to ensure compliance and mitigate data leakage.