gws-modelarmor-create-template

googleworkspace/cli · updated Apr 8, 2026

$npx skills add https://github.com/googleworkspace/cli --skill gws-modelarmor-create-template
0 commentsdiscussion
summary

Create Google Model Armor templates to filter prompts and responses for safety.

  • Requires GCP project ID, location, and template ID; supports preset templates (jailbreak) or custom JSON configuration
  • Templates work with companion sanitize-prompt and sanitize-response commands for comprehensive content filtering
  • Write operation requiring user confirmation before execution
  • Defaults to jailbreak preset if no preset or JSON configuration is specified
skill.md

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

  • 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

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.531 reviews
  • Amina Malhotra· Dec 4, 2024

    Keeps context tight: gws-modelarmor-create-template is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Amina Srinivasan· Nov 23, 2024

    Registry listing for gws-modelarmor-create-template matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Sakshi Patil· Nov 15, 2024

    I recommend gws-modelarmor-create-template for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Amina White· Oct 14, 2024

    gws-modelarmor-create-template reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Chaitanya Patil· Oct 6, 2024

    Useful defaults in gws-modelarmor-create-template — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Layla Robinson· Sep 25, 2024

    Solid pick for teams standardizing on skills: gws-modelarmor-create-template is focused, and the summary matches what you get after install.

  • Oshnikdeep· Sep 21, 2024

    gws-modelarmor-create-template is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Aanya Harris· Sep 5, 2024

    gws-modelarmor-create-template has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Ishan Gonzalez· Aug 24, 2024

    Solid pick for teams standardizing on skills: gws-modelarmor-create-template is focused, and the summary matches what you get after install.

  • Zara Martin· Aug 16, 2024

    gws-modelarmor-create-template has been reliable in day-to-day use. Documentation quality is above average for community skills.

showing 1-10 of 31

1 / 4