googleworkspace/cli · Official

gws-modelarmor-create-template

Google Model Armor: Create a new Model Armor template.

All-time #1005 Trending #2008 First seen Mar 4, 2026
8-week activity · all time api

Installation

$ npx skills add googleworkspace/cli --skill gws-modelarmor-create-template
Feature your product here Skill page unit · reach builders installing agent skills View pricing →

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

Also in this package

Other skills from googleworkspace/cli · top by installs.

npx skills add googleworkspace/cli

Browse all from googleworkspace/cli

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 30.8K
License LICENSE
Default branch main
Open issues 129
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Version0.22.5
Declared agents clawdbot
More metadata
version
0.22.5
openclaw
{"category":"security","requires":{"bins":["gws"]},"cliHelp":"gws modelarmor +create-template --help"}

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,693 B
  • docs SUMMARY.md 92 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 26,900 installs

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

  • [gws-shared](../gws-shared/SKILL.md) — Global flags and auth
  • [gws-modelarmor](../gws-modelarmor/SKILL.md) — All filter user-generated content for safety commands