Description
gws-modelarmor is a command-line skill for Google Model Armor, a service that filters user-generated prompts and model responses for safety using configurable templates. It sits between your application and an LLM and screens content before it reaches the model or the end user. The page's point is that you can wire these safety filters into an LLM pipeline with a single CLI call, instead of writing custom content moderation logic. Example jobs from the page are filtering user prompts before they go to an LLM API, scanning model responses for harmful content before they are shown, creating reusable safety templates shared across several AI applications, blocking prompt injection attempts in user-facing chat, and auditing content policy violations in LLM-powered workflows. It is aimed at developers building chat features or AI tools who need a repeatable safety layer, and the templates let several applications share one policy. Install it with npx skills add https://github.com/googleworkspace/cli --skill gws-modelarmor. Google Workspace publishes it in the cli repository on GitHub, and the page labels it official.…
Highlights
- Screens prompts before they reach an LLM
- Screens model responses before display
- Reusable safety templates
- Blocks prompt injection attempts
- Audit log of policy violations
Ratings & Reviews
No ratings yet
Be the first to rate googleworkspace/gws-modelarmor.
People also visit
googleworkspace/gws-modelarmor FAQ
What does Model Armor filter?
User-generated prompts and model responses, screened against configurable safety templates.
Where does it sit in an app?
Between your application and the LLM, screening content before it reaches the model or the user.
How do I install it?
Run npx skills add https://github.com/googleworkspace/cli --skill gws-modelarmor.
Can it stop prompt injection?
The page lists blocking prompt injection attempts in user-facing chat as a use case.
Who publishes it?
Google Workspace, in the cli repository on GitHub. The page labels it official.
What are the best googleworkspace/gws-modelarmor alternatives?
Popular alternatives to googleworkspace/gws-modelarmor include gws-modelarmor, gws-modelarmor-sanitize-response and gws-modelarmor-sanitize-prompt. See all googleworkspace/gws-modelarmor alternatives












