gws-modelarmor-sanitize-prompt

Sanitize user prompts via a Model Armor template using CLI inputs.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Sanitize a user prompt through a Model Armor template.

Core Features & Use Cases

  • Template-based sanitization: Applies a predefined security template to incoming prompts.
  • Safety enforcement: Blocks or rewrites unsafe user content before processing.
  • Use Case: When integrating AI assistants in customer-facing apps, sanitize prompts to prevent leakage of sensitive data and ensure compliant responses.

Quick Start

Pass your prompt to the sanitizer using --template and --text to receive a validated, sanitized prompt.

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 before sending them to an AI model?▼

To sanitize user prompts, you can pass the text through a predefined security template using a CLI command with --template and --text inputs. This processes incoming prompts to block or rewrite unsafe content before downstream AI processing.

What does prompt sanitization do for AI safety and content moderation?▼

Prompt sanitization enforces safety rules by applying a predefined template to incoming user inputs. It blocks or rewrites unsafe content, preventing the leakage of sensitive data and ensuring AI responses remain compliant.

How do I prevent sensitive data leakage in customer-facing AI applications?▼

To prevent sensitive data leakage in customer-facing AI applications, you should sanitize prompts using a Model Armor template before processing. This enforces safety rules and handles confidential information appropriately.

Can I use a template to enforce safety rules across user inputs?▼

Yes, you can use a Model Armor template to enforce safety rules across user inputs. Template-based sanitization applies predefined security configurations to incoming prompts, validating and sanitizing the text before it reaches downstream processing.

Does prompt sanitization work with CLI commands for automated workflows?▼

Yes, prompt sanitization supports CLI commands for automated workflows. You can execute the sanitizer by passing your prompt text and security template via command-line arguments, returning a validated, sanitized prompt for immediate downstream use.