gws-modelarmor-sanitize-response by googleworkspace/cli
npx skills add https://github.com/googleworkspace/cli --skill gws-modelarmor-sanitize-response前提条件: 阅读
../gws-shared/SKILL.md了解身份验证、全局标志和安全规则。如果该文件缺失,请运行gws generate-skills来创建它。
通过 Model Armor 模板清理模型响应
gws modelarmor +sanitize-response --template <NAME>
| 标志 | 是否必需 | 默认值 | 描述 |
|---|---|---|---|
--template | ✓ | — | 完整的模板资源名称 (projects/PROJECT/locations/LOCATION/templates/TEMPLATE) |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
--text| — |
| — |
| 要清理的文本内容 |
--json | — | — | 完整的 JSON 请求体 (会覆盖 --text) |
gws modelarmor +sanitize-response --template projects/P/locations/L/templates/T --text 'model output'
model_cmd | gws modelarmor +sanitize-response --template ...
每周安装量
5.7K
代码仓库
GitHub 星标数
22.9K
首次出现
2026年3月4日
安全审计
安装于
codex5.5K
opencode5.5K
gemini-cli5.5K
cursor5.5K
github-copilot5.5K
kimi-cli5.5K
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
Sanitize a model response through a Model Armor template
gws modelarmor +sanitize-response --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-response --template projects/P/locations/L/templates/T --text 'model output'
model_cmd | gws modelarmor +sanitize-response --template ...
Weekly Installs
5.7K
Repository
GitHub Stars
22.9K
First Seen
Mar 4, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex5.5K
opencode5.5K
gemini-cli5.5K
cursor5.5K
github-copilot5.5K
kimi-cli5.5K
AI Elements:基于shadcn/ui的AI原生应用组件库,快速构建对话界面
56,200 周安装