modelarmor +create-template

SkillAI & models

Lets your agent create a new Google Model Armor template for AI safety settings.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the modelarmor +create-template skill

About this capability

Google Model Armor: Create a new Model Armor template.

What this skill tells your AI

The instructions your AI receives, as published by googleworkspace/cli in skills/gws-modelarmor-create-template/SKILL.md and read by ahel’s review.

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

FlagRequiredDefaultDescription
--projectGCP project ID
--locationGCP location (e.g. us-central1)
--template-idTemplate ID to create
--presetUse a preset template: jailbreak
--jsonJSON 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

Signals

GitHub stars
31k
Forks
2k
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
gws-modelarmor-create-template
Source
github.com/googleworkspace/cli