Skip to content

Model Armor Template Creator

Lets an agent create Google Cloud Model Armor safety templates via the gws CLI

Stars
32,059
Licence
Apache-2.0
Files
1 file

What it does

This skill teaches an AI agent how to use the gws command-line tool to create a Model Armor template in a Google Cloud project. Model Armor is a Google Cloud service that screens prompts and responses for things like jailbreak attempts. Once installed, the agent can set up a named template using a built-in jailbreak preset or a custom JSON configuration, and it is told to confirm with you before running the write command.

Great for

  • Developers building LLM applications on Google Cloud who need a reusable Model Armor template
  • Security or platform teams standing up prompt-screening configuration in a GCP project
  • Engineers who already use the gws CLI and want the agent to run its commands

Skip it if

  • People without a Google Cloud project or the gws CLI installed, since the skill cannot work without them
  • Anyone wanting to screen content without touching cloud resources; this creates real resources in your project, which may incur cost or affect production settings
  • Non-technical users looking for a general-purpose safety tool; it only configures a Model Armor template

Try asking

  • “Create a Model Armor template called my-tmpl in project my-project in us-central1 using the jailbreak preset”
  • “Set up a Model Armor template with a custom JSON configuration in location us-central1”
  • “Make a new prompt-screening template I can later reference when sanitizing prompts”
Step-by-step guide: how to use Model Armor Template CreatorInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 1 original files, the Apache-2.0 licence and an attribution note.

    gws-modelarmor-create-template.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip gws-modelarmor-create-template.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip gws-modelarmor-create-template.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Review the template name, project and location before approving, since the command creates a real resource
  • Use --preset jailbreak for a quick start, or pass --json for custom filter settings
  • Run gws generate-skills if the referenced shared skill file is missing

What's inside

  • SKILL.md

Redistributed unmodified from googleworkspace/cli under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.