gws-modelarmor-create-template

仓库创建 2026年3月3日最近提交 5 天前SkillHot 收录 20 天前
▸ 精选理由

便于在流水线中统一配置与复用安全策略模板。

▸ 风险提示

需要 Google 云项目权限并调用外部 Model Armor 服务。

这个 Skill 做什么

在 Google Model Armor 中创建新的安全过滤模板。

在 Google Model Armor 里创建新的过滤模板,用来定义如何识别和处理不当内容。通常在项目启动或需要为不同团队定制审核规则时使用。优势是把复杂规则封成可复用的模板,方便统一管理和在自动化流程中应用。

▸ 展开 SKILL.md 英文原文

Google Model Armor: Create a new Model Armor template.

Skill 开发管理内容审查模板管理通用
3.0w
Stars
1.8k
Forks
40
仓库内 Skill
+562
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/googleworkspace/cli/main/skills/gws-modelarmor-create-template/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/googleworkspace/cli/main/skills/gws-modelarmor-create-template/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# modelarmor +create-template

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

Create a new Model Armor template

## Usage

```bash
gws modelarmor +create-template --project <PROJECT> --location <LOCATION> --template-id <ID>
```

## Flags

| 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 (
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有