# Gws Modelarmor Create Template > Google Model Armor: Create a new Model Armor template. Source: https://skillsagentes.com/skills/googleworkspace/cli/gws-modelarmor-create-template Repository: https://github.com/googleworkspace/cli Author: googleworkspace License: Apache-2.0 Updated: hace 4 meses Context cost: 14 tok installed, 423 tok once triggered, 423 tok with every bundled file Bundle: 1 file, 2 KB Permissions requested: none declared ## Install ```bash npx -y skills add googleworkspace/cli --skill gws-modelarmor-create-template --agent claude-code ``` ## What it does - Crea una nueva plantilla de Model Armor con `gws modelarmor +create-template` - Permite usar un preset (jailbreak) o una configuración JSON personalizada vía `--json` - Aplica por defecto el preset jailbreak si no se indica `--preset` ni `--json` ## Use it when - Necesitas crear una plantilla de Model Armor para usarla luego con +sanitize-prompt o +sanitize-response ## What triggers it - "Crea una plantilla de Model Armor con el preset jailbreak" - "Crea una plantilla de Model Armor con esta configuración JSON personalizada" ## Before you install - Requiere el binario `gws` y haber leído gws-shared/SKILL.md para auth y flags globales; es un comando de escritura que debe confirmarse antes de ejecutarse. ## Files - SKILL.md — 2 KB ## SKILL.md Reproduced verbatim from googleworkspace/cli under Apache-2.0. This section is the upstream document and is in English. # modelarmor +create-template > **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it. Create a new Model Armor template ## Usage ```bash gws modelarmor +create-template --project --location --template-id ``` ## Flags | Flag | Required | Default | Description | |------|----------|---------|-------------| | `--project` | ✓ | — | GCP project ID | | `--location` | ✓ | — | GCP location (e.g. us-central1) | | `--template-id` | ✓ | — | Template ID to create | | `--preset` | — | — | Use a preset template: jailbreak | | `--json` | — | — | JSON body for the template configuration (overrides --preset) | ## Examples ```bash gws modelarmor +create-template --project P --location us-central1 --template-id my-tmpl --preset jailbreak gws modelarmor +create-template --project P --location us-central1 --template-id my-tmpl --json '{...}' ``` ## Tips - Defaults to the jailbreak preset if neither --preset nor --json is given. - Use the resulting template name with +sanitize-prompt and +sanitize-response. > [!CAUTION] > This is a **write** command — confirm with the user before executing. ## See Also - [gws-shared](../gws-shared/SKILL.md) — Global flags and auth - [gws-modelarmor](../gws-modelarmor/SKILL.md) — All filter user-generated content for safety commands --- Skills Agentes — https://skillsagentes.com/skills/googleworkspace/cli/gws-modelarmor-create-template