Gws Modelarmor Create Template

Google Model Armor: Create a new Model Armor template.

32,385 stars 1,999 forksAI, LLMs & Agents

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add googleworkspace/cli --skill gws-modelarmor-create-template
Manual install
git clone --depth 1 https://github.com/googleworkspace/cli.git /tmp/cli
mkdir -p ~/.claude/skills
cp -r /tmp/cli/skills/gws-modelarmor-create-template ~/.claude/skills/gws-modelarmor-create-template

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the 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

```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 commands
Read the full skill on GitHub

Details

Skill name
gws-modelarmor-create-template
Path
skills/gws-modelarmor-create-template/SKILL.md
License
Apache-2.0
Repo updated
3 November 2026

FAQ

What does the Gws Modelarmor Create Template skill do?

Google Model Armor: Create a new Model Armor template.

How do I install the Gws Modelarmor Create Template skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add googleworkspace/cli --skill gws-modelarmor-create-template. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Gws Modelarmor Create Template popular?

It lives in googleworkspace/cli, which has 32,385 GitHub stars and 1,999 forks, and is included in 2 curated skill lists.

Related skills

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.