gws-modelarmor-create-template

Create Google Model Armor templates with presets or custom JSON configurations.

30.3k|1.8k|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/googleworkspace/cli --skill gws-modelarmor-create-template-googleworkspace
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gws-modelarmor-create-template
Source: https://github.com/googleworkspace/cli/tree/main/skills/gws-modelarmor-create-template
Command: npx skills add https://github.com/googleworkspace/cli --skill gws-modelarmor-create-template-googleworkspace

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of new Google Model Armor templates, streamlining the process of setting up content moderation and safety policies.

Core Features & Use Cases

  • Template Creation: Define new Model Armor templates with specific IDs and configurations.
  • Preset Usage: Easily create templates using predefined presets like 'jailbreak'.
  • Custom JSON Configuration: Provide custom JSON for detailed template settings.
  • Use Case: A security engineer needs to quickly set up a new template to block prompts that attempt to bypass safety filters. They can use this Skill with the 'jailbreak' preset to achieve this rapidly.

Quick Start

Create a new Model Armor template with the ID 'my-template' in the 'us-central1' location for project 'my-project' using the 'jailbreak' preset.

Frequently Asked Questions about gws-modelarmor-create-template

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

FAQPage Schema
How do I create a Model Armor template in GCP?

Creating a new Google Model Armor template requires specifying a template ID, location, and project. You can deploy it using predefined presets like 'jailbreak' or apply custom JSON configurations for detailed content safety and moderation rules.

Can I use a preset to block jailbreak attempts in Model Armor?

Yes, you can use the 'jailbreak' preset to rapidly create a Model Armor template. This preset immediately configures the necessary security policies to block prompts that attempt to bypass safety filters within your Google Cloud environment.

Does Model Armor template creation support custom JSON configurations?

Yes, Model Armor template creation supports custom JSON configurations. This allows you to provide detailed template settings for fine-grained control over your specific content moderation and security policies.

What is the best way to automate content moderation policy setup in Google Cloud?

Automating content moderation policy setup in Google Cloud is best achieved by creating Model Armor templates. This process defines specific IDs and configurations to implement content safety rules rapidly across your specified GCP project and location.

Do I need a specific project and location to set up Model Armor templates?

Yes, you need to specify both a target Google Cloud project and a location, such as 'us-central1', to set up a new Model Armor template. These parameters are required to define where the template will be applied.