gws-modelarmor-create-template
Google Model Armor: Create a new Model Armor template.
Best use case
gws-modelarmor-create-template is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Google Model Armor: Create a new Model Armor template.
Teams using gws-modelarmor-create-template should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/gws-modelarmor-create-template/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How gws-modelarmor-create-template Compares
| Feature / Agent | gws-modelarmor-create-template | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Google Model Armor: Create a new Model Armor template.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 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.
## 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 commandsRelated Skills
create-spring-boot-java-project
Create Spring Boot Java Project Skeleton
recipe-create-vacation-responder
Enable a Gmail out-of-office auto-reply with a custom message and date range.
recipe-create-task-list
Set up a new Google Tasks list with initial tasks.
recipe-create-shared-drive
Create a Google Shared Drive and add members with appropriate roles.
recipe-create-presentation
Create a new Google Slides presentation and add initial slides.
recipe-create-meet-space
Create a Google Meet meeting space and share the join link.
recipe-create-gmail-filter
Create a Gmail filter to automatically label, star, or categorize incoming messages.
recipe-create-feedback-form
Create a Google Form for feedback and share it via Gmail.
recipe-create-expense-tracker
Set up a Google Sheets spreadsheet for tracking expenses with headers and initial entries.
recipe-create-events-from-sheet
Read event data from a Google Sheets spreadsheet and create Google Calendar entries for each row.
recipe-create-doc-from-template
Copy a Google Docs template, fill in content, and share with collaborators.
recipe-create-classroom-course
Create a Google Classroom course and invite students.