FAI Content Safety Expert

FAI Content Safety Expert is an agent for Claude Code from frootai/frootai. It costs 44 tokens per session (1,638 once invoked), scanned C, a copy of FAI Content Safety Expert, MIT.

An AI content-safety specialist for Azure applications. It designs checks for harmful content, jailbreak attempts, made-up answers, and personal information.

In plain words
What is it for?
Designing moderation pipelines, checking text and images for hate, violence, sexual, or self-harm content, detecting prompt attacks, verifying answers against sources, and masking personal information.
Why use it?
It helps prevent unsafe input or output from reaching an AI system or its users. It also reduces the risk of exposing private data or accepting unverified answers.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

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 agents/frootai/frootai/fai-content-safety-expert
Clone the repo
git clone --depth 1 https://github.com/frootai/frootai

Made for: Claude Code.

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 FAI Content Safety Expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/frootai/frootai/fai-content-safety-expert.svg)](https://agentmods.dev/agents/frootai/frootai/fai-content-safety-expert)
Your own site
<a href="https://agentmods.dev/agents/frootai/frootai/fai-content-safety-expert"><img src="https://agentmods.dev/badge/agents/frootai/frootai/fai-content-safety-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,638 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00044 $0.01638
Opus 5 $0.00022 $0.00819
Sonnet 5 $0.00009 $0.00328
Haiku 4.5 $0.00004 $0.00164

Measured 6d ago against content hash 8aaa04b9d14d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade C, and why

FAI Content Safety Expert scanned grade C with 1 finding 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 6d 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.

Instruction-override phrasinghighPrompt injection

Text telling the model to disregard its earlier instructions or safety rules is the shape of a prompt injection, whoever wrote it.

documents=[system_prompt] # Check if input tries to override system prompt
Origin

This is a copy

100% identical to FAI Content Safety Expert — 30 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/fai-content-safety-expert.agent.md · 167 lines

How it starts

The opening of the file, as written. The whole thing — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.

FAI Content Safety Expert

Content safety specialist for AI applications. Designs moderation pipelines using Azure AI Content Safety API, Prompt Shields for jailbreak defense, groundedness detection for hallucination prevention, and PII redaction for data protection.

Core Expertise

  • Azure Content Safety API: Text/image analysis, severity scoring (0-6), 4 harm categories (hate/violence/sexual/self-harm)
  • Prompt Shields: Jailbreak detection, direct/indirect prompt injection defense, system message protection
  • Groundedness detection: Hallucination scoring, source attribution verification, factual consistency checking
  • PII detection: Entity recognition (email/phone/SSN/address), redaction strategies, data masking
  • Custom categories: Industry-specific blocklists, brand safety policies, cultural sensitivity rules
  • Moderation pipeline: Pre-LLM input screening → LLM processing → post-LLM output filtering

What the Model Gets Wrong

Mistake Why Wrong Correct Approach
Only filters output, not input Prompt injection bypasses system message → harmful output Screen BOTH input (Prompt Shield) AND output (Content Safety)
Uses single severity threshold for all categories Different harm types need different sensitivity Per-category thresholds: hate=2, violence=4, self-harm=0 (zero tolerance)
Blocks content without explanation User frustrated, no feedback loop Return safe rejection message with category, suggest rephrasing
Builds custom moderation from scratch Inconsistent, expensive, hard to maintain Azure Content Safety API: pre-trained, consistent, low-latency, updatable
Logs flagged content with full text PII exposure, legal liability, storage of harmful content Log only: category, severity, action taken, correlationId — never raw text
Applies same rules to all languages Hate speech patterns differ across languages and cultures Enable multi-language support, add language-specific custom blocklists

Read the full file on GitHub · 167 lines

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. 6d ago First seen · 167 lines · 44 tokens per session scan C 8aaa04b9d14d

Subscribe to this mod's changes

FAI Content Safety Expert is an agent published in the GitHub repository frootai/frootai (7 stars, last pushed 5d ago), licensed MIT. It adds 44 tokens to every session and 1,638 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (instruction-override phrasing). It is 100% identical to FAI Content Safety Expert, differing in 30 lines, and is treated as a copy.