{"id":"56742b4c-3cde-4a53-b827-077566ab1df4","shortId":"Sq3dpu","kind":"skill","title":"Gws Modelarmor Sanitize Prompt","tagline":"Cli skill by Googleworkspace","description":"# modelarmor +sanitize-prompt\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 user prompt through a Model Armor template\n\n## Usage\n\n```bash\ngws modelarmor +sanitize-prompt --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-prompt --template projects/P/locations/L/templates/T --text 'user input'\necho 'prompt' | gws modelarmor +sanitize-prompt --template ...\n```\n\n## Tips\n\n- If neither --text nor --json is given, reads from stdin.\n- For outbound safety, use +sanitize-response instead.\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","prompt","cli","googleworkspace"],"capabilities":["skill","source-googleworkspace","category-cli"],"categories":["cli"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/googleworkspace/cli/gws-modelarmor-sanitize-prompt","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.325Z","embedding":null,"createdAt":"2026-04-18T20:25:32.353Z","updatedAt":"2026-04-22T03:40:13.325Z","lastSeenAt":"2026-04-22T03:40:13.325Z","tsv":"'/gws-modelarmor/skill.md':125 '/gws-shared/skill.md':15,117 'also':113 'armor':40 'auth':17,121 'bash':43,74 'bodi':70 'category-cli' 'cli':5 'command':134 'content':63,131 'creat':31 'default':53 'descript':54 'echo':85 'exampl':73 'filter':127 'flag':19,50,51,119 'full':56,67 'generat':28,130 'generate-skil':27 'given':100 'global':18,118 'googleworkspac':8 'gws':1,26,44,75,87,115,123 'gws-modelarmor':122 'gws-share':114 'input':84 'instead':111 'json':66,68,98 'miss':24 'model':39 'modelarmor':2,9,45,76,88,124 'name':59 'neither':95 'outbound':105 'overrid':71 'prerequisit':13 'projects/p/locations/l/templates/t':81 'projects/project/locations/location/templates/template':60 'prompt':4,12,36,48,79,86,91 'read':14,101 'request':69 'requir':52 'resourc':58 'respons':110 'rule':22 'run':25 'safeti':106,133 'sanit':3,11,33,47,65,78,90,109 'sanitize-prompt':10,46,77,89 'sanitize-respons':108 'secur':21 'see':112 'share':116 'skill':6,29 'source-googleworkspace' 'stdin':103 'templat':41,49,55,57,80,92 'text':61,62,72,82,96 'tip':93 'usag':42 'use':107 'user':35,83,129 'user-gener':128","prices":[{"id":"68a1611e-1570-44e8-b5e0-6780e21daff0","listingId":"56742b4c-3cde-4a53-b827-077566ab1df4","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.353Z"}],"sources":[{"listingId":"56742b4c-3cde-4a53-b827-077566ab1df4","source":"github","sourceId":"googleworkspace/cli/gws-modelarmor-sanitize-prompt","sourceUrl":"https://github.com/googleworkspace/cli/tree/main/skills/gws-modelarmor-sanitize-prompt","isPrimary":false,"firstSeenAt":"2026-04-18T21:52:01.466Z","lastSeenAt":"2026-04-22T00:52:21.741Z"},{"listingId":"56742b4c-3cde-4a53-b827-077566ab1df4","source":"skills_sh","sourceId":"googleworkspace/cli/gws-modelarmor-sanitize-prompt","sourceUrl":"https://skills.sh/googleworkspace/cli/gws-modelarmor-sanitize-prompt","isPrimary":true,"firstSeenAt":"2026-04-18T20:25:32.353Z","lastSeenAt":"2026-04-22T03:40:13.325Z"}],"details":{"listingId":"56742b4c-3cde-4a53-b827-077566ab1df4","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"googleworkspace","slug":"gws-modelarmor-sanitize-prompt","source":"skills_sh","category":"cli","skills_sh_url":"https://skills.sh/googleworkspace/cli/gws-modelarmor-sanitize-prompt"},"updatedAt":"2026-04-22T03:40:13.325Z"}}