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

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.

agentmods
npx agentmods add skills/fakoli/fakoli-plugins/gws-modelarmor
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00008 $0.00126
Sonnet 5 $0.00003 $0.00050
Haiku 4.5 $0.00002 $0.00025

Measured 2d ago against content hash 4206cc68264d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 2d 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. 2d 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 28d ago), licensed MIT. It adds 16 tokens to every session and 252 once invoked, about $0.0001 per session on Opus 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

engineering-prompts-and-output

Use when writing or reviewing system prompts, few-shot examples, structured output via tool use, JSON schema validation with retry loops, Message Batches API processing, or multi-instance/multi-pass review pipelines such as automated PR reviewers. Also when outputs are inconsistent between runs, JSON fails validation…

atretyak1985/swarmery · 118 tokens

omh-model-optimization

This is a Hermes-native model-optimization workflow skill.

rlaope/oh-my-hermes · 82 tokens

lijigang-skill

李继刚(Prompt布道师/Prompt之神)的AI提示词创作思维——Lisp压缩美学+哲学底色+结构化写作+极简主义。 触发词:「李继刚视角」「像李继刚那样写」「Prompt之神」「汉语新解」「压缩美学」「ljg-skills」「Lisp提示词」。 擅长:Lisp伪代码风格提示词编写(公文笔杆子/汉语新解/七把武器系列)、哲学级Prompt思考框架(从工具论到道)、结构化写作方法论、认知工作流设计(13+1 Skills)、技术大会演讲、深度播客对话。.

momozi1996/awesome-ai-persona-skills · 169 tokens

baoyu-skill

宝玉xp(前微软MVP/2025微博年度新知博主/AI提示词方法论专家)的AI科普与内容创作思维——工程师思维+提示词系统教学+开源共享+日更坚持。 触发词:「宝玉视角」「像宝玉那样写」「宝玉xp」「提示词教程」「AI工具推荐」「baoyu-skills」「提示词方法论」。 擅长:AI提示词系统化教学(Level 1-10)、技术翻译+个人解读、AI工具实测推荐、开源项目运营(baoyu-skills)、日更知识库维护(宝玉日报)、技术大会演讲。.

momozi1996/awesome-ai-persona-skills · 153 tokens

cloudflare-workers-ai

Cloudflare Workers AI for serverless GPU inference. Use for LLMs, text/image generation, embeddings, or encountering AIERROR, rate limits, token exceeded errors.

secondsky/claude-skills · 39 tokens

nano-banana

This skill should be used for Python scripting and Gemini image generation. Use when users ask to generate images, create AI art, edit images with AI, or run Python scripts with uv. Trigger phrases include "generate an image", "create a picture", "draw", "make an image of", "nano banana", or any image generation…

NikiforovAll/claude-code-rules · 73 tokens