Community程式設計與開發github.com

googleworkspace/gws-modelarmor-sanitize-prompt

Google Model Armor:透過 Model Armor 範本清理使用者提示。

gws-modelarmor-sanitize-prompt 是什麼?

此技能讓 AI 代理能夠透過 Google Model Armor 服務,根據指定的範本清理使用者輸入的提示內容。主要用於防範提示注入攻擊、防止敏感資訊外洩,並確保與 AI 模型互動時的安全性。該技能通常用於 Claude Code、Cursor 或 Codex 等開發平台,透過呼叫 Model Armor API 來掃描和過濾使用者提示,再將清理後的結果傳遞給下游的 AI 模型。其運作方式依賴於預先定義的 Model Armor 範本(包含安全規則和過濾條件),能夠有效移除或標記惡意內容、不當語言或機密資料。對於需要安全地處理使用者輸入、並減少 AI 應用中潛在風險的開發者來說,此技能是一個重要的安全防護層。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/googleworkspace/cli/tree/main/skills/gws-modelarmor-sanitize-prompt

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

gws-modelarmor-sanitize-prompt 是做什麼的?

Google Model Armor:透過 Model Armor 範本清理使用者提示。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

googleworkspace/gws-admin-reports

Google Workspace Admin SDK: Audit logs and usage reports.

googleworkspace/gws-calendar

Google Calendar: Manage calendars and events.

googleworkspace/gws-calendar-agenda

Google Calendar: Show upcoming events across all calendars.

googleworkspace/gws-calendar-insert

Google Calendar: Create a new event.

googleworkspace/gws-chat

Google Chat: Manage Chat spaces and messages.

googleworkspace/gws-chat-send

Google Chat: Send a message to a space.

googleworkspace/gws-classroom

Google Classroom: Manage classes, rosters, and coursework.

googleworkspace/gws-docs

Read and write Google Docs.

googleworkspace/gws-docs-write

Google Docs: Append text to a document.

googleworkspace/gws-drive

Google Drive: Manage files, folders, and shared drives.

googleworkspace/gws-drive-upload

Google Drive: Upload a file with automatic metadata.

googleworkspace/gws-events

Subscribe to Google Workspace events.

googleworkspace/gws-events-renew

Google Workspace Events: Renew/reactivate Workspace Events subscriptions.

googleworkspace/gws-events-subscribe

Google Workspace Events: Subscribe to Workspace events and stream them as NDJSON.

googleworkspace/gws-forms

Read and write Google Forms.

googleworkspace/gws-gmail

Gmail: Send, read, and manage email.

googleworkspace/gws-gmail-forward

Gmail: Forward a message to new recipients.

googleworkspace/gws-gmail-read

Gmail: Read a message and extract its body or headers.

googleworkspace/gws-gmail-reply

Gmail: Reply to a message (handles threading automatically).

googleworkspace/gws-gmail-reply-all

Gmail: Reply-all to a message (handles threading automatically).

相關技能