gws-modelarmor-sanitize-prompt

Sanitize user prompts through a Model Armor template with the gws tool.

4|2|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/73ai/openbotkit --skill gws-modelarmor-sanitize-prompt-73ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-modelarmor-sanitize-prompt
Source: https://github.com/73ai/openbotkit/tree/main/skills/gws-modelarmor-sanitize-prompt
Command: npx skills add https://github.com/73ai/openbotkit --skill gws-modelarmor-sanitize-prompt-73ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Sanitizes user prompts by applying a Model Armor template to enforce safety rules before processing, preventing unsafe or disallowed content from passing to downstream systems.

Core Features & Use Cases

  • Applies a Model Armor safety filter to user prompts.
  • Integrates with the gws tool to enforce policy-driven processing.
  • Handles prompts of varying length and structure, preserving intent while removing disallowed content.

Quick Start

Run gws modelarmor +sanitize-prompt with your chosen template and input text to obtain a sanitized result.

Frequently Asked Questions about gws-modelarmor-sanitize-prompt

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

FAQPage Schema
How do I sanitize user prompts for AI safety before processing?

Sanitizing user prompts for AI safety involves applying a Model Armor template to enforce safety rules, preventing unsafe or disallowed content from passing to downstream systems while preserving essential meaning.

What is a Model Armor template used for in prompt safety?

A Model Armor template defines safety filters applied to user prompts, enforcing policy-driven processing across AI assistants and chatbots to remove disallowed content while preserving intent.

How do I use the gws tool to filter disallowed content from chatbot inputs?

Run the gws tool with a valid Model Armor template to filter disallowed content from chatbot inputs, executing the sanitize-prompt command to obtain a sanitized result that preserves essential meaning.

Do I need the gws tool to enforce policy-driven prompt processing?

Yes, enforcing policy-driven prompt processing requires the gws tool and a valid Model Armor template, as the tool applies the safety filter to sanitize inputs before they reach downstream systems.

Does prompt sanitization preserve the original meaning of interactive prompts?

Prompt sanitization preserves the essential meaning and intent of interactive prompts while removing disallowed content, handling prompts of varying length and structure across AI workflows.

When should I not use a Model Armor template for prompt safety?

Avoid using a Model Armor template for prompt safety if your workflow lacks the gws tool, as both the tool and a valid template are required to enforce policy-driven processing and sanitize inputs.