aiguard

aiguard is a skill for Claude Code from zscaler/zguard-ai-integrations. It costs 230 tokens per session (852 once invoked), scanned A, original, MIT.

A security scanner for prompts, AI-generated responses, and code, using Zscaler AI Guard to detect threats such as prompt injection, exposed personal data, and secrets.

In plain words
What is it for?
Checking AI inputs and outputs and scanning code for security risks, personal information, secrets, malicious links, and other listed threats.
Why use it?
It helps find unsafe or sensitive content before it reaches users, systems, or other services.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Checking AI inputs and outputs and scanning code for security risks, personal…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zscaler/zguard-ai-integrations/claude-code-skill
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 zscaler/zguard-ai-integrations --skill claude-code-skill
Clone the repo
git clone --depth 1 https://github.com/zscaler/zguard-ai-integrations

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 aiguard

README.md
[![agentmods](https://agentmods.dev/badge/skills/zscaler/zguard-ai-integrations/claude-code-skill.svg)](https://agentmods.dev/skills/zscaler/zguard-ai-integrations/claude-code-skill)
Your own site
<a href="https://agentmods.dev/skills/zscaler/zguard-ai-integrations/claude-code-skill"><img src="https://agentmods.dev/badge/skills/zscaler/zguard-ai-integrations/claude-code-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 230 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 852 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.00230 $0.00852
Opus 5 $0.00115 $0.00426
Sonnet 5 $0.00046 $0.00170
Haiku 4.5 $0.00023 $0.00085

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

Security

Grade A, and why

aiguard 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 6d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/scan.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Anthropic/claude-code-skill/SKILL.md · 95 lines

How it starts

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

Zscaler AI Guard Security Scanner

Detect security threats in prompts, AI responses, and code using Zscaler AI Guard.

What It Detects

All detectors enabled in your AI Guard policy are applied automatically. Available detectors include:

Security: Prompt Injection, Code, Secrets, PII, Personal Data, PII DeepScan, Invisible Text, Malicious URL Toxicity: Toxicity (multilingual) General: Text (regex), Gibberish, Competition, Language, Brand and Reputation Risk, Refusal, URL Reachability, Prompt/Response Tags Content Moderation: Legal Advice, Intellectual Property, Off Topic, Topic, Finance Advice

Prerequisites

Environment variables required:

  • AIGUARD_API_KEY — API key from AI Guard Console (Private AI Apps → App API Keys)
  • AIGUARD_CLOUD — Cloud region (us1, us2, eu1, eu2)
  • AIGUARD_POLICY_ID — (Optional) Specific policy ID; auto-resolved if not provided

How to Pass Content

Method 1: Heredoc (recommended — handles quotes and newlines)

python3 scripts/scan.py --type prompt <<'EOF'
Content with "quotes" and
multiple lines works fine.
EOF

Method 2: File (recommended for code)

python3 scripts/scan.py --type code --file path/to/file.py

Method 3: Direct argument (simple content only)

python3 scripts/scan.py --type prompt --content "simple text"

Conversation (prompt + response together)

python3 scripts/scan.py --type conversation --prompt "user prompt" --response "ai response"

Scan Types

Type Use Case
prompt Scan user input before processing (direction: IN)
response Scan AI-generated content before delivery (direction: OUT)
code Scan generated code for vulnerabilities (direction: OUT)
conversation Scan both prompt and response together

Interpreting Results

  • action: ALLOW — Content is safe, proceed normally
  • action: DETECT — Threat detected but not blocked (alert); review and decide
  • action: BLOCK — Threat detected and blocked; do NOT proceed with this content

Read the full file on GitHub · 95 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 95 lines · 230 tokens per session scan A ee095000288b

Subscribe to this mod's changes

aiguard is a skill published in the GitHub repository zscaler/zguard-ai-integrations (5 stars, last pushed 4d ago), licensed MIT. It adds 230 tokens to every session and 852 once invoked, about $0.0011 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-31.

Related

Other skills, from other repositories

implementing-zero-trust-network-access-with-zscaler

Use when implement Zero Trust Network Access using Zscaler Private Access (ZPA) to replace traditional VPN with identity-based, context-aware access to private applications through the Zscaler Zero Trust Exchange. Use when implementing zero trust network access using zscaler private access (zpa).

oyi77/1ai-skills · 69 tokens

configuring-zscaler-private-access-for-ztna

Configuring Zscaler Private Access (ZPA) to replace traditional VPN with zero trust network access by deploying App Connectors, defining application segments, configuring access policies based on user identity and device posture, and integrating with IdPs.

26zl/cybersec-toolkit · 59 tokens

configuring-zscaler-private-access-for-ztna

Configures Zscaler Private Access (ZPA) to replace traditional VPN with zero trust network access by deploying App Connectors, defining application segments, configuring identity- and device-posture-based access policies, and integrating with IdPs. Use when replacing VPN concentrators with ZTNA or providing remote…

Youngmaidainon/Agent-Level-Up · 83 tokens

nemo-guardrails

NVIDIA's runtime safety framework for LLM applications. Features jailbreak detection, input/output validation, fact-checking, hallucination detection, PII filtering, toxicity detection. Uses Colang 2.0 DSL for programmable rails. Production-ready, runs on T4 GPU.

davila7/claude-code-templates · 61 tokens

implementing-secrets-management-with-vault

This skill covers deploying HashiCorp Vault for centralized secrets management across cloud environments, including dynamic secret generation for databases and cloud providers, transit encryption, PKI certificate management, and Kubernetes integration. It addresses eliminating hardcoded credentials from application…

xalgorix/xalgorix · 69 tokens

token-tracker

Track token consumption, enforce session budgets, and display cost for every NetClaw interaction.

automateyournetwork/netclaw · 22 tokens