← 返回 Skills 市场
googleworkspace-bot

Gws Modelarmor Sanitize Prompt

作者 googleworkspace-bot · GitHub ↗ · v1.0.12 · MIT-0
cross-platform ✓ 安全检测通过
417
总下载
0
收藏
12
当前安装
13
版本数
在 OpenClaw 中安装
/install gws-modelarmor-sanitize-prompt
功能描述
Google Model Armor: Sanitize a user prompt through a Model Armor template.
使用说明 (SKILL.md)

modelarmor +sanitize-prompt

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

Sanitize a user prompt through a Model Armor template

Usage

gws modelarmor +sanitize-prompt --template \x3CNAME>

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-prompt --template projects/P/locations/L/templates/T --text 'user input'
echo 'prompt' | gws modelarmor +sanitize-prompt --template ...

Tips

  • If neither --text nor --json is given, reads from stdin.
  • For outbound safety, use +sanitize-response instead.

See Also

安全使用建议
This skill is a simple wrapper that calls the 'gws' CLI to sanitize prompts. Before installing or enabling it: (1) verify the 'gws' binary is the legitimate tool you expect and is installed from a trusted source; (2) open and read ../gws-shared/SKILL.md (or the output of 'gws generate-skills') to see what authentication or global flags it requires — that file may request credentials or configure behavior not declared here; (3) be aware that sanitized text will be sent to whatever backend 'gws' communicates with (likely a Google service), so avoid passing sensitive secrets through the prompt unless you trust that flow. If you cannot access or audit gws-shared, treat this skill with caution.
功能分析
Type: OpenClaw Skill Name: gws-modelarmor-sanitize-prompt Version: 1.0.12 The skill bundle is a standard documentation wrapper for the 'gws' CLI tool, specifically for interacting with Google Cloud's Model Armor service to sanitize prompts. No malicious code, data exfiltration, or prompt injection attempts were found in SKILL.md or _meta.json.
能力评估
Purpose & Capability
The skill's name/description match what the SKILL.md instructs: run the 'gws modelarmor +sanitize-prompt' command. Requiring the 'gws' binary is coherent with the stated purpose and no unrelated binaries or installs are requested.
Instruction Scope
The runtime instructions are narrow and only describe invoking the gws CLI with --template/--text/--json and reading stdin. However the SKILL.md explicitly points to ../gws-shared/SKILL.md for auth, global flags, and security rules and suggests running 'gws generate-skills' if missing — you should review that shared file because it governs authentication and any additional behavior not declared here.
Install Mechanism
No install spec and no code files (instruction-only). This minimizes risk from arbitrary downloads or writes to disk.
Credentials
The skill itself declares no env vars or credentials, but it defers auth and global flags to ../gws-shared/SKILL.md. That external file may require credentials or configuration not visible here; the lack of declared credentials in this skill is therefore incomplete and should be verified by inspecting gws-shared.
Persistence & Privilege
always is false and the skill does not request system persistence or elevated privileges. Nothing in this SKILL.md indicates it will modify other skills or system-wide agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gws-modelarmor-sanitize-prompt
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gws-modelarmor-sanitize-prompt 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.12
- Updated skill metadata version from 0.22.4 to 0.22.5 in SKILL.md.
v1.0.11
- Updated metadata version to 0.22.4 in SKILL.md - No other changes made
v1.0.10
- Bumped metadata version from 0.22.2 to 0.22.3 in SKILL.md. - No other content changes.
v1.0.9
- Updated metadata version from 0.22.1 to 0.22.2 in SKILL.md.
v1.0.8
- Updated version metadata from 0.22.0 to 0.22.1 in SKILL.md
v1.0.7
- Updated version in metadata from 0.21.2 to 0.22.0 in SKILL.md. - No other changes made to documentation or functionality.
v1.0.6
- Bumped internal version in metadata from 0.21.1 to 0.21.2 in SKILL.md. - No other content or functionality changes.
v1.0.5
- Updated skill metadata version from 0.20.1 to 0.21.1 in SKILL.md. - No other content or functional changes.
v1.0.4
- Version bumped from 0.20.0 to 0.20.1 in metadata. - No other changes made to documentation or functionality.
v1.0.3
- Updated version number in SKILL.md from 0.19.0 to 0.20.0.
v1.0.2
- Updated SKILL.md metadata: moved version under metadata and set to 0.19.0. - Removed explicit top-level version field from SKILL.md. - No changes to usage, flags, examples, or documentation content.
v1.0.1
- Minor formatting update to the SKILL.md metadata: switched "bins: [gws]" to a YAML list format. - No functional or user-facing changes.
v1.0.0
Initial release of the gws-modelarmor-sanitize-prompt skill. - Introduces a command to sanitize user prompts using a Model Armor template. - Supports input via --text, --json, or stdin. - Requires specifying a full template resource name. - Includes CLI help, usage examples, and tips for outbound safety. - Linked documentation for shared flags, authentication, and related Model Armor skills.
元数据
Slug gws-modelarmor-sanitize-prompt
版本 1.0.12
许可证 MIT-0
累计安装 12
当前安装数 12
历史版本数 13
常见问题

Gws Modelarmor Sanitize Prompt 是什么?

Google Model Armor: Sanitize a user prompt through a Model Armor template. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 417 次。

如何安装 Gws Modelarmor Sanitize Prompt?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install gws-modelarmor-sanitize-prompt」即可一键安装,无需额外配置。

Gws Modelarmor Sanitize Prompt 是免费的吗?

是的,Gws Modelarmor Sanitize Prompt 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Gws Modelarmor Sanitize Prompt 支持哪些平台?

Gws Modelarmor Sanitize Prompt 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Gws Modelarmor Sanitize Prompt?

由 googleworkspace-bot(@googleworkspace-bot)开发并维护,当前版本 v1.0.12。

💬 留言讨论