首页/数据 & AI/gws-modelarmor-create-template
G

gws-modelarmor-create-template

by @googleworkspacev
4.4(140)

在Google Model Armor中创建一个新的模板,用于模型安全和部署。

Google Model ArmorAI Model TemplatesData GovernanceResponsible AIGoogle WorkspaceGitHub
安装方式
npx skills add googleworkspace/cli --skill gws-modelarmor-create-template
compare_arrows

Before / After 效果对比

1
使用前

以前,创建Google Model Armor模板需要我手动配置各种参数和规则,这过程复杂且容易遗漏关键设置,尤其对于不熟悉平台的用户来说,学习曲线陡峭,耗时且可能导致配置不当。

使用后

现在,通过自动化指令,我能快速生成符合最佳实践的Google Model Armor新模板,系统会引导我完成必要配置,确保模板的完整性和有效性,极大地简化了模型安全策略的部署流程。

description 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

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

Flags

FlagRequiredDefaultDescription
--projectGCP project ID
--locationGCP location (e.g. us-central1)
--template-idTemplate ID to create
--presetUse a preset template: jailbreak
--jsonJSON body for the template configuration (overrides --preset)

Examples

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 '{...}'

Tips

  • Defaults to the jailbreak preset if neither --preset nor --json is given.
  • Use the resulting template name with +sanitize-prompt and +sanitize-response.

[!CAUTION] This is a write command — confirm with the user before executing.

See Also

forum用户评价 (0)

发表评价

效果
易用性
文档
兼容性

暂无评价

统计数据

安装量3.5K
评分4.4 / 5.0
版本
更新日期2026年4月29日
对比案例1 组

用户评分

4.4(140)
5
24%
4
51%
3
24%
2
2%
1
0%

为此 Skill 评分

0.0

兼容平台

🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI

时间线

创建2026年3月16日
最后更新2026年4月29日
🎁 Agent 知识卡片