Agent Skills
› googleworkspace/cli
› gws-modelarmor-sanitize-response
gws-modelarmor-sanitize-response
GitHub通过 Google Model Armor 模板对模型输出进行安全过滤与内容净化,适用于出站场景。
Trigger Scenarios
需要对模型生成的文本内容进行安全审核
使用 gws modelarmor sanitize-response 命令
Install
npx skills add googleworkspace/cli --skill gws-modelarmor-sanitize-response -g -y
SKILL.md
Frontmatter
{
"name": "gws-modelarmor-sanitize-response",
"metadata": {
"version": "0.22.5",
"openclaw": {
"cliHelp": "gws modelarmor +sanitize-response --help",
"category": "security",
"requires": {
"bins": [
"gws"
]
}
}
},
"description": "Google Model Armor: Sanitize a model response through a Model Armor template."
}
modelarmor +sanitize-response
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
Usage
gws modelarmor +sanitize-response --template <NAME>
Flags
| 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) |
Examples
gws modelarmor +sanitize-response --template projects/P/locations/L/templates/T --text 'model output'
model_cmd | gws modelarmor +sanitize-response --template ...
Tips
- Use for outbound safety (model -> user).
- For inbound safety (user -> model), use +sanitize-prompt.
See Also
- gws-shared — Global flags and auth
- gws-modelarmor — All filter user-generated content for safety commands
Version History
- a3768d0 Current 2026-08-20 07:24


