gws-modelarmor by googleworkspace/cli
npx skills add https://github.com/googleworkspace/cli --skill gws-modelarmor前提条件: 阅读
../gws-shared/SKILL.md了解身份验证、全局标志和安全规则。如果文件缺失,请运行gws generate-skills来创建它。
gws modelarmor <resource> <method> [flags]
| 命令 | 描述 |
|---|---|
+sanitize-prompt | 通过 Model Armor 模板清理用户提示 |
+sanitize-response |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 通过 Model Armor 模板清理模型响应 |
+create-template | 创建新的 Model Armor 模板 |
在调用任何 API 方法之前,请先检查它:
# 浏览资源和命令
gws modelarmor --help
# 检查方法的必需参数、类型和默认值
gws schema modelarmor.<resource>.<method>
使用 gws schema 的输出内容来构建你的 --params 和 --json 标志。
每周安装量
5.5K
代码仓库
GitHub 星标数
22.5K
首次出现
2026年3月4日
安全审计
安装于
codex5.3K
opencode5.3K
gemini-cli5.2K
cursor5.2K
github-copilot5.2K
kimi-cli5.2K
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
gws modelarmor <resource> <method> [flags]
| 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 |
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.
Weekly Installs
5.5K
Repository
GitHub Stars
22.5K
First Seen
Mar 4, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex5.3K
opencode5.3K
gemini-cli5.2K
cursor5.2K
github-copilot5.2K
kimi-cli5.2K
102,200 周安装