gws-modelarmor

Filter user-generated content for safety in gws AI workflows.

8|1|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/niclasmartinsson-sys/google-workspace-cli --skill gws-modelarmor-niclasmartinsson-sys
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-modelarmor
Source: https://github.com/niclasmartinsson-sys/google-workspace-cli/tree/main/skills/gws-modelarmor
Command: npx skills add https://github.com/niclasmartinsson-sys/google-workspace-cli --skill gws-modelarmor-niclasmartinsson-sys

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the enforcement of safe content policies by filtering user-generated content before it reaches AI systems, reducing risk and maintaining compliance.

Core Features & Use Cases

  • Template-driven safety policies: Define and enforce content rules via reusable templates.
  • Prompt & response sanitization: Clean or constrain inputs and outputs to meet safety standards.
  • Use Case: Imagine a support chatbot that must block disallowed phrases and redact sensitive data before sending responses.

Quick Start

Run a template-aware safety check on a sample prompt using the gws CLI by applying a preconfigured armor template.

Frequently Asked Questions about gws-modelarmor

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

FAQPage Schema
How do I implement prompt sanitization for AI-assisted workflows?

Prompt sanitization filters user-generated content through policy-based rules before it reaches AI systems. You can define reusable templates to clean or constrain inputs and outputs, ensuring safety checks are enforced automatically across model prompts and responses.

What is template-driven content moderation for AI prompts?

Template-driven content moderation enforces safe content policies by defining reusable templates for content rules. This allows you to systematically block disallowed phrases and redact sensitive data across AI prompts and responses before sending them.

How can I filter AI responses for sensitive data using CLI integration?

You can filter AI responses by running template-aware safety checks via CLI integration. This applies preconfigured armor templates to clean or constrain outputs, redacting sensitive data and blocking disallowed phrases before responses are sent to users.

Does policy-based filtering work with custom safety templates?

Yes, policy-based filtering works with custom safety templates by allowing you to define and enforce specific content rules. These templates automate the enforcement of safe content policies, reducing risk and maintaining compliance for AI systems.

Can I use prompt sanitization for a support chatbot to block disallowed phrases?

Yes, you can use prompt sanitization for support chatbots to block disallowed phrases and redact sensitive data. The template-driven safety policies filter user-generated content before it reaches the AI, ensuring responses meet safety standards.

What are the limitations of automated content moderation for AI prompts?

Automated content moderation relies on predefined template rules for filtering, meaning its effectiveness is bounded by the specific policies configured. It requires properly maintained safety templates to consistently identify disallowed phrases and sanitize sensitive data.