gws-modelarmor-create-template by googleworkspace/cli
npx skills add https://github.com/googleworkspace/cli --skill gws-modelarmor-create-template前提条件: 阅读
../gws-shared/SKILL.md了解认证、全局标志和安全规则。如果文件缺失,请运行gws generate-skills来创建它。
创建一个新的 Model Armor 模板
gws modelarmor +create-template --project <PROJECT> --location <LOCATION> --template-id <ID>
| 标志 | 必需 | 默认值 | 描述 |
|---|---|---|---|
--project | ✓ | — | GCP 项目 ID |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
--location| ✓ |
| — |
| GCP 位置(例如 us-central1) |
--template-id | ✓ | — | 要创建的模板 ID |
--preset | — | — | 使用预设模板:jailbreak |
--json | — | — | 模板配置的 JSON 主体(会覆盖 --preset) |
gws modelarmor +create-template --project P --location us-central1 --template-id my-tmpl --preset jailbreak
gws modelarmor +create-template --project P --location us-central1 --template-id my-tmpl --json '{...}'
[!CAUTION] 这是一个 写入 命令 — 执行前请与用户确认。
每周安装量
5.4K
代码库
GitHub 星标数
22.5K
首次出现
2026年3月4日
安全审计
安装于
codex5.2K
opencode5.2K
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.
Create a new Model Armor template
gws modelarmor +create-template --project <PROJECT> --location <LOCATION> --template-id <ID>
| Flag | Required | Default | Description |
|---|---|---|---|
--project | ✓ | — | GCP project ID |
--location | ✓ | — | GCP location (e.g. us-central1) |
--template-id | ✓ | — | Template ID to create |
--preset | — | — | Use a preset template: jailbreak |
--json | — | — | JSON body for the template configuration (overrides --preset) |
gws modelarmor +create-template --project P --location us-central1 --template-id my-tmpl --preset jailbreak
gws modelarmor +create-template --project P --location us-central1 --template-id my-tmpl --json '{...}'
[!CAUTION] This is a write command — confirm with the user before executing.
Weekly Installs
5.4K
Repository
GitHub Stars
22.5K
First Seen
Mar 4, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex5.2K
opencode5.2K
gemini-cli5.2K
cursor5.2K
github-copilot5.2K
kimi-cli5.2K
59,200 周安装