gws-modelarmor-sanitize-response

Sanitize model responses by applying a Model Armor template.

Updated Apr 13, 2026
One-click install
npx skills add https://github.com/wuyyyyyou/cli --skill gws-modelarmor-sanitize-response-wuyyyyyou
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-modelarmor-sanitize-response
Source: https://github.com/wuyyyyyou/cli/tree/main/skills/gws-modelarmor-sanitize-response
Command: npx skills add https://github.com/wuyyyyyou/cli --skill gws-modelarmor-sanitize-response-wuyyyyyou

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill sanitizes outbound model responses by applying a Model Armor template to enforce safety and compliance.

Core Features & Use Cases

  • Template-based sanitization: Applies a Model Armor template to a model output to remove or mask unsafe content.
  • Outbound safety for AI assistants: Ensures responses meet safety guidelines in chatbots and integrated apps.
  • Example: Before delivering a model response to a user, sanitize it with the specified template to prevent leakage of sensitive information.

Quick Start

Apply the selected Model Armor template to the model output to produce a safe response.

Frequently Asked Questions about gws-modelarmor-sanitize-response

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

FAQPage Schema
What is template-based sanitization for model responses?

Template-based sanitization applies a Model Armor template to outbound model responses to remove or mask unsafe content. It enforces safety and compliance before delivering outputs from AI assistants, chatbots, and integrated apps to end users.

How do I sanitize outbound content in an AI chatbot?

Sanitize outbound content in an AI chatbot by applying a selected Model Armor template to the model output. The skill validates inputs, processes the template, and returns sanitized content to prevent leakage of sensitive information.

When do I need to apply a Model Armor template to model outputs?

Apply a Model Armor template to model outputs whenever an integration exposes raw model responses to users. It is needed to enforce safety guidelines, mask unsafe content, and prevent sensitive information leakage in outbound content.

Can I use Model Armor templates with existing AI assistant integrations?

Yes, Model Armor templates work with existing AI assistant integrations that expose model outputs. The skill processes the template against outbound content, validates the inputs, and returns safe, compliant responses for chatbots and integrated apps.

What is the best way to prevent sensitive information leakage in model outputs?

The best way to prevent sensitive information leakage in model outputs is template-based sanitization. Applying a Model Armor template to outbound responses removes or masks unsafe content, ensuring the delivered response meets safety and compliance guidelines.