Tooluck logoTooluck
SKILL.md

gws-modelarmor-create-template

Agent skill fromgoogleworkspace/cli

Google Model Armor: Create a new Model Armor template.

How to install gws-modelarmor-create-template

install gws-modelarmor-create-template
# install the cli pack with the skills CLI
npx skills add googleworkspace/cli

# or add only this skill to Claude Code: copy the folder

skills/gws-modelarmor-create-template/

# into

~/.claude/skills/gws-modelarmor-create-template/ (all projects)

.claude/skills/gws-modelarmor-create-template/ (one project)

skills/gws-modelarmor-create-template/SKILL.md

Apache-2.0Full file
1# modelarmor +create-template
2
3> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.
4
5Create a new Model Armor template
6
7## Usage
8
9```bash
10gws modelarmor +create-template --project <PROJECT> --location <LOCATION> --template-id <ID>
11```
12
13## Flags
14
15| Flag | Required | Default | Description |
16|------|----------|---------|-------------|
17| `--project` | ✓ | — | GCP project ID |
18| `--location` | ✓ | — | GCP location (e.g. us-central1) |
19| `--template-id` | ✓ | — | Template ID to create |
20| `--preset` | — | — | Use a preset template: jailbreak |
21| `--json` | — | — | JSON body for the template configuration (overrides --preset) |
22
23## Examples
24
25```bash
26gws modelarmor +create-template --project P --location us-central1 --template-id my-tmpl --preset jailbreak
27gws modelarmor +create-template --project P --location us-central1 --template-id my-tmpl --json '{...}'
28```
29
30## Tips
31
32- Defaults to the jailbreak preset if neither --preset nor --json is given.
33- Use the resulting template name with +sanitize-prompt and +sanitize-response.
34
35> [!CAUTION]
36> This is a **write** command — confirm with the user before executing.
37
38## See Also
39
40- [gws-shared](../gws-shared/SKILL.md) — Global flags and auth
41- [gws-modelarmor](../gws-modelarmor/SKILL.md) — All filter user-generated content for safety commands

Excerpt shown under the repository's Apache-2.0 license.

More skills in cli

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates