CtrlK
BlogDocsLog inGet started
Tessl Logo

gws-modelarmor-sanitize-prompt

Google Model Armor: Sanitize a user prompt through a Model Armor template.

Install with Tessl CLI

npx tessl i github:googleworkspace/cli --skill gws-modelarmor-sanitize-prompt
What are skills?

70

Does it follow best practices?

Validation for skill structure

SKILL.md
Review
Evals

Evaluation results

100%

65%

LLM Gateway Prompt Safety Integration

Correct sanitize-prompt command and template format

Criteria
Without context
With context

Correct subcommand

0%

100%

Not +sanitize-response

100%

100%

--template flag present

0%

100%

Full resource name format

0%

100%

Project component correct

0%

100%

Location component correct

0%

100%

--text flag used

0%

100%

Dynamic prompt argument

100%

100%

Stdout not suppressed

100%

100%

README present

100%

100%

Without context: $0.1674 · 38s · 12 turns · 14 in / 2,138 out tokens

With context: $0.2224 · 47s · 16 turns · 54 in / 2,462 out tokens

100%

57%

Nightly Prompt Audit Pipeline

Stdin piping for batch prompt sanitization

Criteria
Without context
With context

Correct subcommand

0%

100%

Not +sanitize-response

100%

100%

--template flag present

0%

100%

Full resource name format

53%

100%

Stdin pipe pattern

0%

100%

No --text flag

33%

100%

No --json flag

100%

100%

Iterates per line

100%

100%

Results written to file

100%

100%

Sample prompts.txt

100%

100%

Without context: $0.1526 · 51s · 11 turns · 16 in / 2,678 out tokens

With context: $0.3551 · 1m 15s · 23 turns · 286 in / 3,967 out tokens

100%

55%

Advanced Model Armor Sanitization with Custom Request Body

JSON request body override

Criteria
Without context
With context

Correct subcommand

0%

100%

Not +sanitize-response

100%

100%

--template flag present

0%

100%

Full resource name format

0%

100%

--json flag used

0%

100%

JSON contains prompt content

100%

100%

No --json + --text combined

100%

100%

No stdin pipe with --json

100%

100%

Response saved to file

100%

100%

demo_notes.md present

100%

100%

Without context: $0.2964 · 1m 22s · 19 turns · 23 in / 4,437 out tokens

With context: $0.2045 · 44s · 14 turns · 19 in / 2,337 out tokens

Evaluated
Agent
Claude Code

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.