gws-modelarmor

gws-modelarmor is a skill for Claude Code from fakoli/fakoli-plugins. It costs 16 tokens per session (252 once invoked), scanned A, original, MIT.

A Google Model Armor command group for filtering user-generated text and model responses with configured safety templates.

In plain words
What is it for?
Sanitizing prompts, sanitizing responses, and creating filtering templates.
Why use it?
It provides a defined place to apply safety checks around model input and output.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the gws plugin — 94 skills, 15 commands, 11 agents shipped together

Good fit Sanitizing prompts, sanitizing responses, and creating filtering templates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fakoli/fakoli-plugins/gws-modelarmor
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add fakoli/fakoli-plugins --skill gws-modelarmor
Clone the repo
git clone --depth 1 https://github.com/fakoli/fakoli-plugins

Made for: Claude Code.

Or install gws, the plugin that ships this one along with the rest of its 94 skills, 15 commands, 11 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gws-modelarmor

README.md
[![agentmods](https://agentmods.dev/badge/skills/fakoli/fakoli-plugins/gws-modelarmor/github.svg)](https://agentmods.dev/skills/fakoli/fakoli-plugins/gws-modelarmor)
Your own site
<a href="https://agentmods.dev/skills/fakoli/fakoli-plugins/gws-modelarmor"><img src="https://agentmods.dev/badge/skills/fakoli/fakoli-plugins/gws-modelarmor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gws-modelarmor

Your own site · 80×15
<a href="https://agentmods.dev/skills/fakoli/fakoli-plugins/gws-modelarmor"><img src="https://agentmods.dev/badge/skills/fakoli/fakoli-plugins/gws-modelarmor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 252 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00016 $0.00252
Opus 5.5 $0.00006 $0.00101
Sonnet 5.5 $0.00003 $0.00050
Haiku 4.5 $0.00002 $0.00025

Measured 1mo ago against content hash 4206cc68264d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gws-modelarmor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/gws/skills/gws-modelarmor/SKILL.md · 36 lines

What it actually says

modelarmor (v1)

Reference: See the gws-shared skill for auth, global flags, and security rules.

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.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 36 lines · 16 tokens per session scan A 4206cc68264d

Subscribe to this mod's changes

gws-modelarmor is a skill published in the GitHub repository fakoli/fakoli-plugins (4 stars, last pushed 1mo ago), licensed MIT. It adds 16 tokens to every session and 252 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

llm-app-development

LLM app development with RAG, prompt engineering, vector databases, and AI agents.

travisjneuman/.claude · 22 tokens

ai-prompting-basics

A practical guide to writing clearer requests for Claude, an AI assistant, by adding context, examples, roles, and output rules.

modu-ai/moai-cowork · 58 tokens

partner-anthropic

Anthropic intelligence — Claude model family, Claude Code, MCP protocol, Claude for Work programs, May 2026 state, Frank's relationship state, integration patterns. Use when generating Anthropic content, writing about Claude/MCP/Claude Code, partnership-conversation prep for Anthropic, or evaluating new Anthropic…

frankxai/claude-skills-library · 69 tokens

prompt-hub

Compose the 13-agent Prompt Hub team via @prompt-conductor. Use when designing prompts, optimizing prompts, evaluating prompts, importing patterns from Fabric / awesome-chatgpt-prompts / awesome-claude-prompts, running IFS introspection or psychometric profiling, or building knowledge-base prompt sets. Auto-trigger on…

frankxai/claude-skills-library · 147 tokens

lyra

Transform vague inputs into precision-optimized AI prompts for Claude, ChatGPT, Gemini, or other LLMs. Use when user mentions "optimize prompt", "improve prompt", "lyra", "prompt engineering", or needs help crafting effective AI prompts.

joaquimscosta/arkhe-claude-plugins · 56 tokens

cost-aware-llm-pipeline

Pick the smallest model that can finish the task, and record the class of work. Use when routing a search, a multi-file edit, or an architecture review, or when a weekly model cap is close.

frankxai/claude-skills-library · 50 tokens