gws-modelarmor-sanitize-prompt by googleworkspace/cli
npx skills add https://github.com/googleworkspace/cli --skill gws-modelarmor-sanitize-prompt前提条件: 阅读
../gws-shared/SKILL.md了解身份验证、全局标志和安全规则。如果文件缺失,请运行gws generate-skills来创建它。
通过 Model Armor 模板净化用户提示
gws modelarmor +sanitize-prompt --template <NAME>
| 标志 | 必需 | 默认值 | 描述 |
|---|---|---|---|
--template | ✓ | — | 完整的模板资源名称 (projects/PROJECT/locations/LOCATION/templates/TEMPLATE) |
--text |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| — |
| — |
| 要净化的文本内容 |
--json | — | — | 完整的 JSON 请求体(会覆盖 --text) |
gws modelarmor +sanitize-prompt --template projects/P/locations/L/templates/T --text 'user input'
echo 'prompt' | gws modelarmor +sanitize-prompt --template ...
每周安装量
5.3K
代码仓库
GitHub 星标数
22.5K
首次出现
2026年3月4日
安全审计
安装于
codex5.1K
opencode5.1K
gemini-cli5.1K
cursor5.1K
github-copilot5.1K
kimi-cli5.1K
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
Sanitize a user prompt through a Model Armor template
gws modelarmor +sanitize-prompt --template <NAME>
| Flag | Required | Default | Description |
|---|---|---|---|
--template | ✓ | — | Full template resource name (projects/PROJECT/locations/LOCATION/templates/TEMPLATE) |
--text | — | — | Text content to sanitize |
--json | — | — | Full JSON request body (overrides --text) |
gws modelarmor +sanitize-prompt --template projects/P/locations/L/templates/T --text 'user input'
echo 'prompt' | gws modelarmor +sanitize-prompt --template ...
Weekly Installs
5.3K
Repository
GitHub Stars
22.5K
First Seen
Mar 4, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex5.1K
opencode5.1K
gemini-cli5.1K
cursor5.1K
github-copilot5.1K
kimi-cli5.1K
Azure 升级评估与自动化工具 - 轻松迁移 Functions 计划、托管层级和 SKU
59,200 周安装