360 Secure SkillHub
360 安全技能中心

gws-modelarmor

该 Skill 以 gws CLI 封装 Google Model Armor v1 接口,提供 sanitize-prompt、sanitize-response、create-template 等辅助命令,用于对用户提示和模型响应做安全净化。调用前需读取共享的 gws-shared 技能获取认证与全局参数,并可先用 gws schema 查看方法的参数与类型。

分类:安全
googleworkspace
热度 70.94
最近更新 2026-10-18 17:15:15

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add googleworkspace/cli/gws-modelarmor
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
gws-modelarmor
description
Google Model Armor: Filter user-generated content for safety.
metadata
{"version":"0.22.5","openclaw":{"category":"productivity","requires":{"bins":["gws"]},"cliHelp":"gws modelarmor --help"}}

modelarmor (v1)

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

gws modelarmor <resource> <method> [flags]

Helper Commands

Command Description
+sanitize-prompt Sanitize a user prompt through a Model Armor template
+sanitize-response Sanitize a model response through a Model Armor template
+create-template Create a new Model Armor template

Discovering Commands

Before calling any API method, inspect it:

# Browse resources and methods
gws modelarmor --help

# Inspect a method's required params, types, and defaults
gws schema modelarmor.<resource>.<method>

Use gws schema output to build your --params and --json flags.