360 Secure SkillHub
360 安全技能中心

Gws Modelarmor

这是gws生态下的modelarmor工具,依托Google Model Armor实现用户生成内容的安全过滤。核心功能包括清理用户提示词、模型响应,创建自定义安全模板;可通过命令行查看命令详情与参数规范。典型场景覆盖AI交互前后的内容安全校验、个性化安全过滤规则定制,需依赖gws环境,通过命令行带参数调用,输出合规内容或模板操作结果。

googleworkspace-bot
googleworkspace-bot
热度 74.55
最近更新 2026-05-11 17:29:02
分类:安全依赖:第三方 API应用场景:法律文档

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add 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.