Gws modelarmor create template

From googleworkspace/cli · View interactive version

Gws modelarmor create template is an AI agent skill from the GitHub repository googleworkspace/cli. Google Model Armor: Create a new Model Armor template.

How to use this skill

Skill file

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

gws modelarmor +create-template --project <PROJECT> --location <LOCATION> --template-id <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

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

[!CAUTION]

This is a write command — confirm with the user before executing.

See Also

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.