Gws Modelarmor

🌐Community
by googleworkspace Β· vlatest Β· Repository

Gws Modelarmor protects Google Workspace data by automatically detecting and blocking risky user actions, enhancing security and compliance.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add gws-modelarmor npx -- -y @trustedskills/gws-modelarmor
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "gws-modelarmor": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/gws-modelarmor"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

Gws Modelarmor enhances security and compliance within Google Workspace by automatically detecting and blocking risky user actions. It provides commands to sanitize both user prompts and model responses using predefined templates. The skill allows users to create new Model Armor templates for customized protection, ensuring data safety when interacting with AI models.

When to use it

  • When you need to ensure user prompts sent to an AI model are safe and compliant.
  • To sanitize the responses generated by a model before they are presented to a user.
  • When creating custom security rules or templates for protecting Google Workspace data.
  • For initial setup of Model Armor configurations within your environment.

Key capabilities

  • sanitize-prompt: Sanitizes user prompts using a Model Armor template.
  • sanitize-response: Sanitizes model responses using a Model Armor template.
  • create-template: Creates new Model Armor templates.
  • Provides schema discovery to understand API method parameters and types.

Example prompts

  • "gws modelarmor users.list --params='{"query": "[email protected]"}'" (This is an example of how to use the skill, not a direct prompt for ModelArmor itself)
  • "gws modelarmor +sanitize-prompt 'User input here'"
  • "gws modelarmor +create-template --name 'My New Template' --description 'A custom template.'"

Tips & gotchas

  • Prerequisite: You must have a SKILL.md file for authentication, global flags, and security rules. Use gws generate-skills to create this if it’s missing.
  • The skill uses command-line arguments with --params and --json flags which need to be built using the schema output (gws schema modelarmor.<resource>.<method>).
  • Before using any API method, use gws modelarmor --help to browse resources and methods.

Tags

πŸ›‘οΈ

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates β€” what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
googleworkspace
Installs
158

🌐 Community

Passed automated security scans.