zia-look-up-rule-targets

zia-look-up-rule-targets is a skill for Claude Code from zscaler/zscaler-mcp-server. It costs 188 tokens per session (5,438 once invoked), scanned A, original, MIT.

A lookup procedure for finding the IDs that Zscaler Internet Access rules require for users, groups, locations, URL categories, devices, labels and schedules. These IDs identify the targets a rule applies to, while names are what administrators usually provide.

In plain words
What is it for?
Use it before creating or updating ZIA firewall, DNS, IPS, URL filtering, SSL inspection, data-loss prevention, sandbox or cloud-application rules. It returns the matching IDs or accepted category strings.
Why use it?
It prevents rules from failing or targeting the wrong resources because a display name was entered where the rule API expects an ID or standard category value.

Skill for Claude Code

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

Part of the zscaler plugin — 42 skills, 20 commands, 1 MCP server shipped together

Good fit Use it before creating or updating ZIA firewall, DNS, IPS, URL filtering, SSL inspection, data-loss prevention, sandbox or cloud-application rules. It returns the matching IDs or accepted category strings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zscaler/zscaler-mcp-server/look-up-rule-targets
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/zscaler-mcp-server --skill look-up-rule-targets
Clone the repo
git clone --depth 1 https://github.com/zscaler/zscaler-mcp-server

Made for: Claude Code.

Or install zscaler, the plugin that ships this one along with the rest of its 42 skills, 20 commands, 1 MCP server.

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 zia-look-up-rule-targets

README.md
[![agentmods](https://agentmods.dev/badge/skills/zscaler/zscaler-mcp-server/look-up-rule-targets/github.svg)](https://agentmods.dev/skills/zscaler/zscaler-mcp-server/look-up-rule-targets)
Your own site
<a href="https://agentmods.dev/skills/zscaler/zscaler-mcp-server/look-up-rule-targets"><img src="https://agentmods.dev/badge/skills/zscaler/zscaler-mcp-server/look-up-rule-targets/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 zia-look-up-rule-targets

Your own site · 80×15
<a href="https://agentmods.dev/skills/zscaler/zscaler-mcp-server/look-up-rule-targets"><img src="https://agentmods.dev/badge/skills/zscaler/zscaler-mcp-server/look-up-rule-targets.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 188 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,438 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 191
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
How audits are shown
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.00188 $0.05438
Opus 5 $0.00094 $0.02719
Sonnet 5 $0.00038 $0.01088
Haiku 4.5 $0.00019 $0.00544

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

Security

Grade A, and why

zia-look-up-rule-targets 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 11d 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.

skills/zia/look-up-rule-targets/SKILL.md · 194 lines

How it starts

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

ZIA: Look Up Rule Targets

Why this skill exists

Every ZIA rule resource (Cloud Firewall, DNS, IPS, URL Filtering, SSL Inspection, Web DLP, File Type Control, Sandbox, Cloud App Control) scopes by the same set of "who/where/when/what-device" target fields:

  • users, groups, departments — who the rule applies to
  • locations, location_groups — where the user is connecting from
  • url_categories — which URL category the request hits
  • devices, device_groups — which managed device the user is on
  • workload_groups — which workload (cloud-asset) the connection is to/from
  • labels — admin-assigned tags for organisation/reporting
  • time_windows — which time-of-day schedule the rule honours

Every one of those fields takes IDs (or, for url_categories, canonical UPPER_SNAKE strings), not display names. The admin will almost always name them by display name. This skill is the single source of truth for "given a name, find the ID."

Centralising it here means every rule skill (zia-create-firewall-filtering-rule, zia-create-cloud-app-control-rule, etc.) can chain to this one instead of repeating — and re-decaying — the same lookup table.

Hard rules (apply to every lookup)

These rules are non-negotiable and override anything a rule skill might say in passing:

  1. Read-before-write. For every rule target the admin names, run one lookup with the appropriate zia_list_* tool before assembling the rule payload.
  2. Empty list is authoritative. If the list call returns no match for an exact-name lookup, the named target does not exist. Stop the rule create. Tell the admin plainly. Do not retry with split keywords, broader filters, larger page_size, unfiltered listings, or "let me also try without the filter to double-check." One call, one answer.
  3. Never invent IDs. If a lookup returns nothing, never substitute a similar-looking ID, never skip the field that the admin named, never silently drop it from the payload. The rule payload must reflect the admin's intent verbatim or the workflow stops.
  4. Never narrate the lookup. Don't tell the admin "I'm searching for the user group Engineering…" — just resolve, build the payload, and report what was applied. If you have to retry quietly (e.g. one retry with a different known-good knob, see the name= vs search= notes), retry quietly and report only the final outcome.
  5. Don't pre-list targets the admin didn't name. If the admin says "create a rule for users in Engineering," resolve only Engineering. Don't dump the full user-group list as context, don't enumerate departments, don't list time intervals "in case they want one."
  6. One target kind per call. Don't try to bundle a user lookup and a location lookup into one tool call.

Read the full file on GitHub · 194 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. 11d ago First seen · 194 lines · 188 tokens per session scan A d7059a50e340

Subscribe to this mod's changes

zia-look-up-rule-targets is a skill published in the GitHub repository zscaler/zscaler-mcp-server (50 stars, last pushed 4d ago), licensed MIT. It adds 188 tokens to every session and 5,438 once invoked, about $0.0009 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.

Related

Other skills, from other repositories

jmcomic

Search, browse, inspect album-specific or site-wide comments, list favorite folders, browse, add, and delete favorites, and download manga from JMComic (18comic), obtain the latest Android APK from hect0x7/JMComic-APK, and invoke the upstream jm-view-server jms command for local reading. Use for manga discovery…

hect0x7/jmcomic-ai · 115 tokens

ast-grep

Guide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search. This skill should be used when users ask to search for…

JanDeDobbeleer/oh-my-posh · 80 tokens

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

ue-mcp-epic-routing

Use when deciding between ue-mcp's native category actions and Epic's wrapped ToolsetRegistry tools (the epic actions, incl. the Blueprint graph DSL) for a task in Unreal. Pulls in when authoring Blueprint graph bodies, or any time both a native action and an epic action could do the job and you need to pick.

db-lyon/ue-mcp · 81 tokens

frontmcp-setup

Use when starting, scaffolding, or organizing a FrontMCP project. Covers creating a new project (CLI scaffold or manual) for Node, Vercel, and other targets; standalone versus Nx-monorepo layout, naming conventions, generators, and dependency rules; composing multiple @App classes, ESM packages, and remote MCP servers…

agentfront/frontmcp · 176 tokens

apitap

ApiTap gives AI agents cheap access to web data through three layers.

n1byn1kt/apitap · 0 tokens