LogoAwesome Skills
  • Search
  • Category
  • Tag
  • Blog
LogoAwesome Skills
LogoAwesome Skills

Discover Open-Source Agent Skills for AI Coding Assistants

Product

  • Search
  • Category
  • Tag
  • Blog

Resources

  • Claude Skill Docs
  • Antigravity Skills Docs

Tools

  • Claude Code
  • OpenCode
  • Cursor
  • Codex
  • Antigravity

Company

  • Privacy Policy
  • Terms of Service
  • Sitemap

©2026 Awesome Skills. All rights reserved.

Privacy PolicyTerms
Back to Skills

gws-modelarmor-create-template

Google Model Armor: Create a new Model Armor template.

24,995stars1,274forksUpdated 4/19/2026
SecurityCloud InfrastructureDocumentation#security#documentation#gcp#model-armor#cli#template-creation

Security Assessment

Safe(100/100)
Security Score100/100

About gws-modelarmor-create-template

The gws-modelarmor-create-template skill allows users to create new Model Armor templates within Google Cloud Platform (GCP). This skill addresses the need for standardized, secure configurations for handling user-generated content in AI applications. By providing a mechanism to generate templates, it simplifies the process of defining safety and content moderation policies, ensuring that AI models operate within defined security and ethical guidelines. Users no longer need to manually configure or manage template structures, reducing the risk of errors and inconsistencies in security enforcement.

This skill offers several key features and capabilities. It requires specifying a GCP project, location, and template ID to create a new template. Users can choose between using a preset template, such as 'jailbreak,' or providing a custom JSON configuration to define specific behaviors. The skill integrates with other Model Armor commands, allowing seamless use of the resulting template with operations like +sanitize-prompt and +sanitize-response. Its command-line interface provides clear flags for required and optional parameters, along with examples and tips for effective use, making it accessible for both new and experienced users.

The gws-modelarmor-create-template skill is ideal for developers, security engineers, and AI practitioners who need to enforce content safety and moderation policies consistently across AI models. It is particularly useful in environments where user-generated content must be filtered or sanitized before processing. Typical use cases include creating templates for AI chatbots, content moderation systems, and automated safety checks, providing a reliable and standardized approach to managing AI interactions safely and efficiently.

FAQ

How do I create a new Model Armor template?

Use the command `gws modelarmor +create-template` with the required flags `--project`, `--location`, and `--template-id`. You can optionally specify `--preset` or `--json` for template configuration.

Can I use a custom JSON configuration for the template?

Yes, you can provide a JSON body using the `--json` flag, which will override the preset option if specified.

What happens if I don’t provide a preset or JSON configuration?

If neither `--preset` nor `--json` is given, the command defaults to using the 'jailbreak' preset.

Are there any prerequisites before using this skill?

Yes, you should read the shared skill documentation (`gws-shared`) for authentication, global flags, and security rules. If it is missing, run `gws generate-skills` to create it.

Is this a safe command to run directly?

This is a write operation, so it is recommended to confirm with the user before executing, as it will create a new template in your GCP project.

Install gws-modelarmor-create-template

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

googleworkspace/cli

Related Skills

pulumi-esc

78

skill-name

1,884

defold-core

5,619

animated-infographic

16