Gws Modelarmor Sanitize Response
v1.0.12Google Model Armor: Sanitize a model response through a Model Armor template.
0· 381·12 当前·12 累计
安全扫描
OpenClaw
安全
high confidenceThe skill is an instruction-only wrapper around the gws CLI to run a Model Armor sanitize command and its declared requirements are coherent, but you should inspect the referenced shared auth document and the gws binary before use.
评估建议
This skill is essentially a thin wrapper that runs the gws CLI to sanitize model output — that is coherent. Before installing or enabling it: (1) Confirm you trust the gws binary on your system (verify source/version) because the skill will invoke it; (2) open and review ../gws-shared/SKILL.md as referenced — that file likely contains the auth/global flags and may request credentials or config paths (inspect any required env vars or token usage); (3) confirm the Model Armor template names you wi...详细分析 ▾
✓ 用途与能力
The name/description match the runtime instructions: the SKILL.md tells the agent to run gws modelarmor +sanitize-response with a template. Requiring the gws binary is expected for this purpose; no unrelated binaries or env vars are requested.
ℹ 指令范围
Instructions explicitly tell the agent to read ../gws-shared/SKILL.md for auth and global flags. That delegation is reasonable for shared configuration, but it means this skill relies on another file for credentials and security rules — users should review that shared file because it may expand the skill's effective scope.
✓ 安装机制
There is no install spec (instruction-only). This minimizes install-time risk — the only runtime requirement is an existing gws binary on PATH.
ℹ 凭证需求
This skill declares no environment variables itself (proportionate). However, the SKILL.md defers auth/global flags to ../gws-shared/SKILL.md, which may require credentials or config (not visible here). Verify that the shared file does not request unrelated secrets or broad credentials.
✓ 持久化与权限
The skill is not marked always:true and uses normal autonomous invocation settings. It does not request system-wide config changes or persistent installation steps in its own instructions.
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
版本
latestv1.0.122026/3/6
- Updated skill metadata version to 0.22.5 (was 0.22.4). No other changes were made.
● 无害
安装命令 点击复制
官方npx clawhub@latest install gws-modelarmor-sanitize-response
镜像加速npx clawhub@latest install gws-modelarmor-sanitize-response --registry https://cn.clawhub-mirror.com
技能文档
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
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
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制
免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制