gws-modelarmor-create-template
Google Model Armor: Create a new Model Armor template.
npx skills add googleworkspace/cli --skill gws-modelarmor-create-template --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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 ```bash 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 ```bash 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.
- Usage
- Flags
- Examples
- Tips
- See Also
gws modelarmor +create-template --project <PROJECT> --location <LOCATION> --template-id <ID>
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 '{...}'What does the gws-modelarmor-create-template skill do?
Google Model Armor: Create a new Model Armor template.
How do I install it?
Run `npx skills add googleworkspace/cli --skill gws-modelarmor-create-template --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From googleworkspace/cli, a repository with 30,193 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
