Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Create a new Google Model Armor content safety template with preset or custom JSON configuration.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
SKILL.md
1---2name: gws-modelarmor-create-template3description: "Google Model Armor: Create a new Model Armor template."4metadata:5version: 0.22.56openclaw:7category: "security"8requires:9bins:10- gws11cliHelp: "gws modelarmor +create-template --help"12---1314# modelarmor +create-template1516> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.1718Create a new Model Armor template1920## Usage2122```bash23gws modelarmor +create-template --project <PROJECT> --location <LOCATION> --template-id <ID>24```2526## Flags2728| Flag | Required | Default | Description |29|------|----------|---------|-------------|30| `--project` | ✓ | — | GCP project ID |31| `--location` | ✓ | — | GCP location (e.g. us-central1) |32| `--template-id` | ✓ | — | Template ID to create |33| `--preset` | — | — | Use a preset template: jailbreak |34| `--json` | — | — | JSON body for the template configuration (overrides --preset) |3536## Examples3738```bash39gws modelarmor +create-template --project P --location us-central1 --template-id my-tmpl --preset jailbreak40gws modelarmor +create-template --project P --location us-central1 --template-id my-tmpl --json '{...}'41```4243## Tips4445- Defaults to the jailbreak preset if neither --preset nor --json is given.46- Use the resulting template name with +sanitize-prompt and +sanitize-response.4748> [!CAUTION]49> This is a **write** command — confirm with the user before executing.5051## See Also5253- [gws-shared](../gws-shared/SKILL.md) — Global flags and auth54- [gws-modelarmor](../gws-modelarmor/SKILL.md) — All filter user-generated content for safety commands55