Zum Hauptinhalt springen
Dieser Inhalt ist noch nicht in Ihrer Sprache verfügbar und wird auf Englisch angezeigt.

Gws Modelarmor Sanitize Prompt

Skill Verifiziert Aktiv

Google Model Armor: Sanitize a user prompt through a Model Armor template.

Zweck

To enhance AI safety by cleaning user prompts against predefined Model Armor templates before they are processed, preventing potential misuse or harmful content.

Funktionen

  • Sanitize user prompts via Model Armor templates
  • Accepts text input or full JSON request body
  • Supports reading input from stdin
  • Integrates with Google Cloud Model Armor

Anwendungsfälle

  • When processing potentially untrusted user input that needs to be validated against a security template.
  • As a pre-processing step in AI agent workflows to ensure prompt safety.
  • To adhere to Google Cloud Model Armor policies for prompt handling.

Nicht-Ziele

  • Sanitizing model responses (use `+sanitize-response` instead)
  • Providing AI Model Armor template management beyond basic usage
  • Operating independently of the `gws` CLI

Installation

npx skills add googleworkspace/cli

Führt das Vercel skills CLI (skills.sh) via npx aus — benötigt Node.js lokal und mindestens einen installierten skills-kompatiblen Agent (Claude Code, Cursor, Codex, …). Setzt voraus, dass das Repo dem agentskills.io-Format folgt.

Qualitätspunktzahl

Verifiziert
99 /100
Analysiert about 19 hours ago

Vertrauenssignale

Letzter Commit2 days ago
Sterne26.2k
LizenzApache-2.0
Status
Quellcode ansehen