gws-modelarmor-create-template

Create Google Model Armor templates with project, location, and template-id flags.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the creation of new Google Model Armor templates to standardize safety controls across GCP projects.

Core Features & Use Cases

  • Create a new Model Armor template with a unique template-id for a given project and location.
  • Supports optional presets or JSON configuration to customize safety rules.
  • Integrates with gws-shared for authentication and global flag handling.

Quick Start

Create a new Model Armor template for a given project and location using a unique template-id.

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 Google Model Armor template for a specific GCP project?

To create a Google Model Armor template, use the gws CLI with the required --project, --location, and --template-id flags to scope and assign a unique identifier for your safety template.

Can I customize Model Armor template safety rules using JSON?

Yes, you can customize Model Armor template safety rules by passing a JSON configuration using the optional --json flag, or by using the --preset flag for predefined safety configurations.

What is a Model Armor template used for in GCP?

A Model Armor template is used to standardize safety controls across multiple GCP projects, ensuring consistent security and safety rule application for your models.

Do I need the gws CLI to automate Model Armor template creation?

Yes, automating Model Armor template creation requires the gws CLI and relies on gws-shared for authentication and global flag handling to manage your templates successfully.

What are the limitations when creating Model Armor templates with presets?

When creating Model Armor templates, using the --preset flag applies predefined configurations, which may limit granular customization compared to using the --json flag for explicit overrides.

What's the best way to standardize safety templates across multiple GCP projects?

The best way to standardize safety templates across GCP projects is to automate Google Model Armor template creation using the gws CLI with consistent project and location scoping.