{"id":"16bb997f-cf05-4bf4-8810-b2c5041b155e","shortId":"nA9vfe","kind":"skill","title":"gws-modelarmor-create-template","tagline":"Google Model Armor: Create a new Model Armor template.","description":"# modelarmor +create-template\n\n> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.\n\nCreate a new Model Armor template\n\n## Usage\n\n```bash\ngws modelarmor +create-template --project <PROJECT> --location <LOCATION> --template-id <ID>\n```\n\n## Flags\n\n| Flag | Required | Default | Description |\n|------|----------|---------|-------------|\n| `--project` | ✓ | — | GCP project ID |\n| `--location` | ✓ | — | GCP location (e.g. us-central1) |\n| `--template-id` | ✓ | — | Template ID to create |\n| `--preset` | — | — | Use a preset template: jailbreak |\n| `--json` | — | — | JSON body for the template configuration (overrides --preset) |\n\n## Examples\n\n```bash\ngws modelarmor +create-template --project P --location us-central1 --template-id my-tmpl --preset jailbreak\ngws modelarmor +create-template --project P --location us-central1 --template-id my-tmpl --json '{...}'\n```\n\n## Tips\n\n- Defaults to the jailbreak preset if neither --preset nor --json is given.\n- Use the resulting template name with +sanitize-prompt and +sanitize-response.\n\n> [!CAUTION]\n> This is a **write** command — confirm with the user before executing.\n\n## See Also\n\n- [gws-shared](../gws-shared/SKILL.md) — Global flags and auth\n- [gws-modelarmor](../gws-modelarmor/SKILL.md) — All filter user-generated content for safety commands","tags":["gws","modelarmor","create","template","cli","googleworkspace","agent-skills","ai-agent","automation","discovery-api","gemini-cli-extension","google-admin"],"capabilities":["skill","source-googleworkspace","skill-gws-modelarmor-create-template","topic-agent-skills","topic-ai-agent","topic-automation","topic-cli","topic-discovery-api","topic-gemini-cli-extension","topic-google-admin","topic-google-api","topic-google-calendar","topic-google-chat","topic-google-docs","topic-google-drive"],"categories":["cli"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/googleworkspace/cli/gws-modelarmor-create-template","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add googleworkspace/cli","source_repo":"https://github.com/googleworkspace/cli","install_from":"skills.sh"}},"qualityScore":"0.700","qualityRationale":"deterministic score 0.70 from registry signals: · indexed on github topic:agent-skills · 26371 github stars · SKILL.md body (1,391 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T18:52:30.643Z","embedding":null,"createdAt":"2026-04-18T20:25:28.752Z","updatedAt":"2026-05-18T18:52:30.643Z","lastSeenAt":"2026-05-18T18:52:30.643Z","tsv":"'/gws-modelarmor/skill.md':185 '/gws-shared/skill.md':21,177 'also':173 'armor':8,13,43 'auth':23,181 'bash':46,96 'bodi':88 'caution':160 'central1':72,107,126 'command':165,194 'configur':92 'confirm':166 'content':191 'creat':4,9,17,37,39,50,79,100,119 'create-templ':16,49,99,118 'default':60,135 'descript':61 'e.g':69 'exampl':95 'execut':171 'filter':187 'flag':25,57,58,179 'gcp':63,67 'generat':34,190 'generate-skil':33 'given':146 'global':24,178 'googl':6 'gws':2,32,47,97,116,175,183 'gws-modelarmor':182 'gws-modelarmor-create-templ':1 'gws-share':174 'id':56,65,75,77,110,129 'jailbreak':85,115,138 'json':86,87,133,144 'locat':53,66,68,104,123 'miss':30 'model':7,12,42 'modelarmor':3,15,48,98,117,184 'my-tmpl':111,130 'name':151 'neither':141 'new':11,41 'overrid':93 'p':103,122 'prerequisit':19 'preset':80,83,94,114,139,142 'project':52,62,64,102,121 'prompt':155 'read':20 'requir':59 'respons':159 'result':149 'rule':28 'run':31 'safeti':193 'sanit':154,158 'sanitize-prompt':153 'sanitize-respons':157 'secur':27 'see':172 'share':176 'skill':35 'skill-gws-modelarmor-create-template' 'source-googleworkspace' 'templat':5,14,18,44,51,55,74,76,84,91,101,109,120,128,150 'template-id':54,73,108,127 'tip':134 'tmpl':113,132 'topic-agent-skills' 'topic-ai-agent' 'topic-automation' 'topic-cli' 'topic-discovery-api' 'topic-gemini-cli-extension' 'topic-google-admin' 'topic-google-api' 'topic-google-calendar' 'topic-google-chat' 'topic-google-docs' 'topic-google-drive' 'us':71,106,125 'us-central1':70,105,124 'usag':45 'use':81,147 'user':169,189 'user-gener':188 'write':164","prices":[{"id":"78c178f3-7a27-45f8-9ec2-74228ea25a53","listingId":"16bb997f-cf05-4bf4-8810-b2c5041b155e","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"googleworkspace","category":"cli","install_from":"skills.sh"},"createdAt":"2026-04-18T20:25:28.752Z"}],"sources":[{"listingId":"16bb997f-cf05-4bf4-8810-b2c5041b155e","source":"github","sourceId":"googleworkspace/cli/gws-modelarmor-create-template","sourceUrl":"https://github.com/googleworkspace/cli/tree/main/skills/gws-modelarmor-create-template","isPrimary":false,"firstSeenAt":"2026-04-18T21:52:00.812Z","lastSeenAt":"2026-05-18T18:52:30.643Z"},{"listingId":"16bb997f-cf05-4bf4-8810-b2c5041b155e","source":"skills_sh","sourceId":"googleworkspace/cli/gws-modelarmor-create-template","sourceUrl":"https://skills.sh/googleworkspace/cli/gws-modelarmor-create-template","isPrimary":true,"firstSeenAt":"2026-04-18T20:25:28.752Z","lastSeenAt":"2026-05-07T22:40:16.167Z"}],"details":{"listingId":"16bb997f-cf05-4bf4-8810-b2c5041b155e","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"googleworkspace","slug":"gws-modelarmor-create-template","github":{"repo":"googleworkspace/cli","stars":26371,"topics":["agent-skills","ai-agent","automation","cli","discovery-api","gemini-cli-extension","google-admin","google-api","google-calendar","google-chat","google-docs","google-drive","google-sheets","google-workspace","oauth2","rust"],"license":"apache-2.0","html_url":"https://github.com/googleworkspace/cli","pushed_at":"2026-05-12T16:46:11Z","description":"Google Workspace CLI — one command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI agent skills.","skill_md_sha":"3926280e7927b14a731ccb3388e4cb933a306e5c","skill_md_path":"skills/gws-modelarmor-create-template/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/googleworkspace/cli/tree/main/skills/gws-modelarmor-create-template"},"layout":"multi","source":"github","category":"cli","frontmatter":{"name":"gws-modelarmor-create-template","description":"Google Model Armor: Create a new Model Armor template."},"skills_sh_url":"https://skills.sh/googleworkspace/cli/gws-modelarmor-create-template"},"updatedAt":"2026-05-18T18:52:30.643Z"}}