Gws Modelarmor Create Template gws-modelarmor-create-template
Google Model Armor: Create a new Model Armor template.
Works in Claude, ChatGPT, Codex and more
- Our test
- 7/10✓ Verified
- tested Dec 6, 2026
- GitHub stars
- 33k
- googleworkspace/cli
- Added by
- 0
- members
- Updated
- Dec 6
- commit 8e945ee
- Content
- 1 file
- no scripts · 2 KB
- License
- Apache 2.0
- free to use
What our test found
The skill provides a clear creation command, required flags, and an appropriate confirmation safeguard for a cloud write operation.
Request we tested it on“Create a Model Armor template named customer-input in project acme-prod, location us-central1, using the jailbreak preset.”
Limits spotted
- Depends on shared authentication and security instructions that are not included here.
- Does not explain how to validate the created template or handle common command errors.
name: gws-modelarmor-create-template
description: "Google Model Armor: Create a new Model Armor template."
metadata:
version: 0.22.5
openclaw:
category: "security"
requires:
bins:
- gws
cliHelp: "gws modelarmor +create-template --help"modelarmor +create-template
PREREQUISITE: Read../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto 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
- 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
- — Global flags and auth
- — All filter user-generated content for safety commands