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.
npx skills add TheArchitectit/agent-guardrails-template --skill content-safetygit clone --depth 1 https://github.com/TheArchitectit/agent-guardrails-templateWrote 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.
[](https://agentmods.dev/skills/thearchitectit/agent-guardrails-template/content-safety)<a href="https://agentmods.dev/skills/thearchitectit/agent-guardrails-template/content-safety"><img src="https://agentmods.dev/badge/skills/thearchitectit/agent-guardrails-template/content-safety/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.
<a href="https://agentmods.dev/skills/thearchitectit/agent-guardrails-template/content-safety"><img src="https://agentmods.dev/badge/skills/thearchitectit/agent-guardrails-template/content-safety.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00018 | $0.00608 |
| Opus 5 | $0.00009 | $0.00304 |
| Sonnet 5 | $0.00004 | $0.00122 |
| Haiku 4.5 | $0.00002 | $0.00061 |
Grade A, and why
Content Safety & Filtering 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 10d 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.
How it starts
The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Content Safety & Filtering
Content filtering supplements output validation by scanning for topic-level harmful content rather than specific secret patterns. It enforces organizational content policies.
Automatic Enforcement
When configured, the content filter runs alongside output validation on every tool result. Since tool_result handlers are side-effect only (they cannot block content from reaching the agent), the filter detects and warns about denied content via violation logging and status bar alerts.
Filtering Modes
Denylist Mode
Block specific topics from appearing in any output:
{
"outputValidation": {
"contentFilter": {
"deniedTopics": ["violence", "hate", "self_harm", "sexual", "credentials"]
}
}
}
Allowlist Mode (Strict)
In strict mode, everything not on the allowed list is blocked. Use this for highly regulated environments:
{
"outputValidation": {
"contentFilter": {
"allowedTopics": ["code", "documentation"],
"strictMode": true
}
}
}
Built-In Topic Patterns
| Topic | Patterns |
|---|---|
| violence | kill, murder, attack, assault, bomb, weapon, shoot, stab |
| hate | hate, bigot, racist, slur, discrimination |
| self_harm | suicide, self-harm, cutting, overdose |
| sexual | pornograph, explicit, nsfw, sexual |
| credentials | password = ..., secret = ..., api_key = ... |
Custom Topics
Add organization-specific topics with custom patterns:
{
"outputValidation": {
"contentFilter": {
"deniedTopics": ["internal_project_names"],
"topicPatterns": {
"internal_project_names": ["\\bProjectX\\b", "\\bAurora\\b", "\\bTitan\\b"]
}
}
}
}
What To Do When Content Is Blocked
- Do not rephrase the flagged content to work around the filter
- Inform the user that content was flagged by policy
- Proceed with the safe portions of your task
- If the block seems incorrect, suggest the user review their content filter configuration
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.
- 10d ago First seen · 91 lines · 18 tokens per session scan A ad12496f402f
Content Safety & Filtering is a skill published in the GitHub repository TheArchitectit/agent-guardrails-template (79 stars, last pushed yesterday), licensed BSD-3-Clause. It adds 18 tokens to every session and 608 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-08-30.
Other skills, from other repositories
construction-expert
Expert-level construction management, project planning, BIM, safety compliance, and construction technology. Use when the user mentions BIM, project management, safety, or building, or when the task involves Construction Management, Technologies, Standards and Regulations, or Cost Control.
pydantic-ai
Build production-ready AI agents with PydanticAI — type-safe tool use, structured outputs, dependency injection, and multi-model support.
edgeone skill scanner
A local static scanner that checks agent-skill files for security risks before they are installed or used. Static analysis examines files without running them.
connect-agent
Connect the codebase's AI agent to LangWatch agent simulations, so test suites run against the real agent process. Adds a small connect function beside the service startup that calls the agent already in the codebase, which opens an outbound connection and registers the agent with its environment and its run…
agent-improve
Turns production evidence into tested improvements for your AI agent. Forms hypotheses from real traces and analytics, explains the reasoning behind each one, then executes with the user: scenario tests that reproduce production failures, prompt and code changes as reviewable PRs, new evaluators and monitors that…
dashboard-widgets
Author a dashboard widget — a small React component backed by named LangWatchQL queries — from a plain question. Discovers the analytics schema, writes the queries, writes the widget file, saves it, then proves it renders. Use when asked to build, prototype, or iterate on a custom chart widget, or to add a widget…