{"id":"98481f57-c94a-41f2-b5b5-9725a58d110b","shortId":"sxQuLu","kind":"skill","title":"gws-modelarmor-sanitize-response","tagline":"Google Model Armor: Sanitize a model response through a Model Armor template.","description":"# modelarmor +sanitize-response\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\nSanitize a model response through a Model Armor template\n\n## Usage\n\n```bash\ngws modelarmor +sanitize-response --template <NAME>\n```\n\n## Flags\n\n| Flag | Required | Default | Description |\n|------|----------|---------|-------------|\n| `--template` | ✓ | — | Full template resource name (projects/PROJECT/locations/LOCATION/templates/TEMPLATE) |\n| `--text` | — | — | Text content to sanitize |\n| `--json` | — | — | Full JSON request body (overrides --text) |\n\n## Examples\n\n```bash\ngws modelarmor +sanitize-response --template projects/P/locations/L/templates/T --text 'model output'\nmodel_cmd | gws modelarmor +sanitize-response --template ...\n```\n\n## Tips\n\n- Use for outbound safety (model -> user).\n- For inbound safety (user -> model), use +sanitize-prompt.\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","sanitize","response","cli","googleworkspace","agent-skills","ai-agent","automation","discovery-api","gemini-cli-extension","google-admin"],"capabilities":["skill","source-googleworkspace","skill-gws-modelarmor-sanitize-response","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-sanitize-response","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,117 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.757Z","embedding":null,"createdAt":"2026-04-18T20:25:32.355Z","updatedAt":"2026-05-18T18:52:30.757Z","lastSeenAt":"2026-05-18T18:52:30.757Z","tsv":"'/gws-modelarmor/skill.md':131 '/gws-shared/skill.md':24,123 'also':119 'armor':8,16,49 'auth':26,127 'bash':52,83 'bodi':79 'cmd':95 'command':140 'content':72,137 'creat':40 'default':62 'descript':63 'exampl':82 'filter':133 'flag':28,59,60,125 'full':65,76 'generat':37,136 'generate-skil':36 'global':27,124 'googl':6 'gws':2,35,53,84,96,121,129 'gws-modelarmor':128 'gws-modelarmor-sanitize-respons':1 'gws-share':120 'inbound':110 'json':75,77 'miss':33 'model':7,11,15,44,48,92,94,107,113 'modelarmor':3,18,54,85,97,130 'name':68 'outbound':105 'output':93 'overrid':80 'prerequisit':22 'projects/p/locations/l/templates/t':90 'projects/project/locations/location/templates/template':69 'prompt':117 'read':23 'request':78 'requir':61 'resourc':67 'respons':5,12,21,45,57,88,100 'rule':31 'run':34 'safeti':106,111,139 'sanit':4,9,20,42,56,74,87,99,116 'sanitize-prompt':115 'sanitize-respons':19,55,86,98 'secur':30 'see':118 'share':122 'skill':38 'skill-gws-modelarmor-sanitize-response' 'source-googleworkspace' 'templat':17,50,58,64,66,89,101 'text':70,71,81,91 'tip':102 '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' 'usag':51 'use':103,114 'user':108,112,135 'user-gener':134","prices":[{"id":"00c8b600-413f-423b-8435-599719318afe","listingId":"98481f57-c94a-41f2-b5b5-9725a58d110b","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:32.355Z"}],"sources":[{"listingId":"98481f57-c94a-41f2-b5b5-9725a58d110b","source":"github","sourceId":"googleworkspace/cli/gws-modelarmor-sanitize-response","sourceUrl":"https://github.com/googleworkspace/cli/tree/main/skills/gws-modelarmor-sanitize-response","isPrimary":false,"firstSeenAt":"2026-04-18T21:52:02.135Z","lastSeenAt":"2026-05-18T18:52:30.757Z"},{"listingId":"98481f57-c94a-41f2-b5b5-9725a58d110b","source":"skills_sh","sourceId":"googleworkspace/cli/gws-modelarmor-sanitize-response","sourceUrl":"https://skills.sh/googleworkspace/cli/gws-modelarmor-sanitize-response","isPrimary":true,"firstSeenAt":"2026-04-18T20:25:32.355Z","lastSeenAt":"2026-05-07T22:40:16.288Z"}],"details":{"listingId":"98481f57-c94a-41f2-b5b5-9725a58d110b","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"googleworkspace","slug":"gws-modelarmor-sanitize-response","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":"b4cd60faa5cbea10512bca08c700f4cd63d4469b","skill_md_path":"skills/gws-modelarmor-sanitize-response/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/googleworkspace/cli/tree/main/skills/gws-modelarmor-sanitize-response"},"layout":"multi","source":"github","category":"cli","frontmatter":{"name":"gws-modelarmor-sanitize-response","description":"Google Model Armor: Sanitize a model response through a Model Armor template."},"skills_sh_url":"https://skills.sh/googleworkspace/cli/gws-modelarmor-sanitize-response"},"updatedAt":"2026-05-18T18:52:30.757Z"}}