gws-modelarmor▌
googleworkspace/cli · updated Apr 8, 2026
Google Model Armor: Filter user-generated content for safety.
- ›Provides three core helper commands: sanitize prompts, sanitize responses, and create custom filtering templates
- ›Integrates with Google Workspace services via the gws CLI tool with shared authentication and security rules
- ›Requires schema inspection via gws schema to discover available resources, methods, and parameter requirements before executing API calls
modelarmor (v1)
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
gws modelarmor <resource> <method> [flags]
Helper Commands
| Command | Description |
|---|---|
+sanitize-prompt |
Sanitize a user prompt through a Model Armor template |
+sanitize-response |
Sanitize a model response through a Model Armor template |
+create-template |
Create a new Model Armor template |
Discovering Commands
Before calling any API method, inspect it:
# Browse resources and methods
gws modelarmor --help
# Inspect a method's required params, types, and defaults
gws schema modelarmor.<resource>.<method>
Use gws schema output to build your --params and --json flags.
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.6★★★★★43 reviews- ★★★★★Noah Garcia· Dec 24, 2024
Registry listing for gws-modelarmor matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Amelia Chen· Dec 20, 2024
gws-modelarmor is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Noah Rahman· Dec 20, 2024
I recommend gws-modelarmor for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Pratham Ware· Dec 16, 2024
Solid pick for teams standardizing on skills: gws-modelarmor is focused, and the summary matches what you get after install.
- ★★★★★Ira Mehta· Dec 8, 2024
Keeps context tight: gws-modelarmor is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Benjamin Choi· Nov 15, 2024
Useful defaults in gws-modelarmor — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Chen Anderson· Nov 11, 2024
gws-modelarmor reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Yash Thakker· Nov 7, 2024
We added gws-modelarmor from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Dhruvi Jain· Oct 26, 2024
gws-modelarmor fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Noah Chawla· Oct 6, 2024
I recommend gws-modelarmor for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
showing 1-10 of 43