{"id":"98481f57-c94a-41f2-b5b5-9725a58d110b","shortId":"sxQuLu","kind":"skill","title":"Gws Modelarmor Sanitize Response","tagline":"Cli skill by Googleworkspace","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"],"capabilities":["skill","source-googleworkspace","category-cli"],"categories":["cli"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/googleworkspace/cli/gws-modelarmor-sanitize-response","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"install_from":"skills.sh"}},"qualityScore":"0.300","qualityRationale":"deterministic score 0.30 from registry signals: · indexed on skills.sh · published under googleworkspace/cli","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:v1","enrichmentVersion":1,"enrichedAt":"2026-04-22T03:40:13.362Z","embedding":null,"createdAt":"2026-04-18T20:25:32.355Z","updatedAt":"2026-04-22T03:40:13.362Z","lastSeenAt":"2026-04-22T03:40:13.362Z","tsv":"'/gws-modelarmor/skill.md':122 '/gws-shared/skill.md':15,114 'also':110 'armor':40 'auth':17,118 'bash':43,74 'bodi':70 'category-cli' 'cli':5 'cmd':86 'command':131 'content':63,128 'creat':31 'default':53 'descript':54 'exampl':73 'filter':124 'flag':19,50,51,116 'full':56,67 'generat':28,127 'generate-skil':27 'global':18,115 'googleworkspac':8 'gws':1,26,44,75,87,112,120 'gws-modelarmor':119 'gws-share':111 'inbound':101 'json':66,68 'miss':24 'model':35,39,83,85,98,104 'modelarmor':2,9,45,76,88,121 'name':59 'outbound':96 'output':84 'overrid':71 'prerequisit':13 'projects/p/locations/l/templates/t':81 'projects/project/locations/location/templates/template':60 'prompt':108 'read':14 'request':69 'requir':52 'resourc':58 'respons':4,12,36,48,79,91 'rule':22 'run':25 'safeti':97,102,130 'sanit':3,11,33,47,65,78,90,107 'sanitize-prompt':106 'sanitize-respons':10,46,77,89 'secur':21 'see':109 'share':113 'skill':6,29 'source-googleworkspace' 'templat':41,49,55,57,80,92 'text':61,62,72,82 'tip':93 'usag':42 'use':94,105 'user':99,103,126 'user-gener':125","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-04-22T00:52:21.819Z"},{"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-04-22T03:40:13.362Z"}],"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","source":"skills_sh","category":"cli","skills_sh_url":"https://skills.sh/googleworkspace/cli/gws-modelarmor-sanitize-response"},"updatedAt":"2026-04-22T03:40:13.362Z"}}