zap-rag-mcp: Skill for Claude Code

.grok/skills/operating-zap-intellij/SKILL.md

operating-zap-intellij is a skill for Claude Code, Codex from RaviTeja-438/zap-rag-mcp. It costs 87 tokens per session (1,009 once invoked), scanned A, original, Apache-2.0.

A fallback workflow for searching a software project from IntelliJ, a popular Java and Kotlin development environment, when the project's ZAP search service is unavailable.

In plain words
What is it for?
It guides project indexing, re-embedding search data, job management, settings recovery, and searches through ZAP before IntelliJ's built-in search.
Why use it?
It gives you a prescribed way to find project information instead of relying on guesses when the normal search connection is offline.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is RaviTeja-438/zap-rag-mcp's own configuration. It tells Claude Code and Codex how to work on zap-rag-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything zap-rag-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to RaviTeja-438/zap-rag-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/RaviTeja-438/zap-rag-mcp/main/.grok/skills/operating-zap-intellij/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/RaviTeja-438/zap-rag-mcp

Made for: Claude Code, Codex.

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 operating-zap-intellij

README.md
[![agentmods](https://agentmods.dev/badge/skills/raviteja-438/zap-rag-mcp/operating-zap-intellij/github.svg)](https://agentmods.dev/skills/raviteja-438/zap-rag-mcp/operating-zap-intellij)
Your own site
<a href="https://agentmods.dev/skills/raviteja-438/zap-rag-mcp/operating-zap-intellij"><img src="https://agentmods.dev/badge/skills/raviteja-438/zap-rag-mcp/operating-zap-intellij/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 operating-zap-intellij

Your own site · 80×15
<a href="https://agentmods.dev/skills/raviteja-438/zap-rag-mcp/operating-zap-intellij"><img src="https://agentmods.dev/badge/skills/raviteja-438/zap-rag-mcp/operating-zap-intellij.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,009 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.00087 $0.01009
Opus 5.5 $0.00035 $0.00404
Sonnet 5.5 $0.00017 $0.00202
Haiku 4.5 $0.00009 $0.00101

Measured 2mo ago against content hash 52d75a3cd1b3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

operating-zap-intellij 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 2mo 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.

.grok/skills/operating-zap-intellij/SKILL.md · 117 lines

How it starts

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

Operating ZAP in IntelliJ (UI fallback)

Use when MCP is unavailable. When MCP works, use searching-zap-rag instead.

STRICT priority (same policy as MCP skill)

TIER 1 — ZAP UI (mandatory first)
  Zap Search → Zap it (PLAIN → HYBRID → HYBRID_RERANK)
  Index Project / Zap Jobs / re-embed / Kill Switch as needed
  Human pastes hits back to the agent

TIER 2 — Native IDE search (only after Tier 1 exhausted)
  Search Everywhere / Find in Files — only if Zap Search failed after index check

TIER 3 — Agent own capabilities (last resort)
  Memory, guesses, web — only after Tier 1 and Tier 2 failed

MUST NOT

  • Answer codebase facts from memory while ZAP UI is available and unused
  • Tell the human to skip Zap Search and only use Find in Files first
  • Enable Tier 3 before Index Project was attempted when the index is empty

When this skill applies

  • No zap_rag_* MCP tools
  • MCP OFF / /health fails
  • Index, re-embed, kill, settings recovery
  • Human-only IntelliJ workflow

Instructions (Tier 1 — agent → human)

1. Craft a precise query (as if zap_rag_search)
2. Human: Zap Search → PLAIN → paste query → "Zap it"
3. Escalate: HYBRID → HYBRID_RERANK if weak
4. Human pastes display name, source_file, line, snippet
5. Answer ONLY from those facts
6. Empty → Index Project; watch Zap Jobs; Zap it again
7. Stuck → Kill Switch
8. MCP enabled + host:port shared → switch to searching-zap-rag (still Tier 1 ZAP)
9. ONLY if ZAP UI exhausted → suggest native Find in Files (Tier 2)
10. ONLY if that fails → cautious agent reasoning (Tier 3) with uncertainty

UI map

Place Action
Zap Search Query + mode → Zap it → click class/method
Zap Jobs Progress + ⏹ Kill Switch
Settings → ZAP RAG Providers, S-tier, MCP, Apply, re-embed
Tools → ZAP RAG → Index Project Ctrl+Alt+R
Tools → ZAP RAG → Kill Switch Emergency

Settings ops

  1. Embedding required; chat for summaries / HYBRID_RERANK
  2. Test Connection before long index
  3. Apply after every change
  4. Restart loads ZAP-RAG.xml (not a wipe)
  5. Model must match vectors → re-embed or re-index

Read the full file on GitHub · 117 lines

Files

What ships with it

1 file 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. 2mo ago First seen · 117 lines · 87 tokens per session scan A 52d75a3cd1b3

Subscribe to this mod's changes

operating-zap-intellij is a skill published in the GitHub repository RaviTeja-438/zap-rag-mcp (0 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 87 tokens to every session and 1,009 once invoked, about $0.0003 per session on Opus 5.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-01.

Related

operating-zap-intellij compared with skills from other repositories

operating-zap-intellij next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
operating-zap-intellijRaviTeja-438/zap-rag-mcpSkill03mo agoApache-2.0A87Claude Code, Codex
embeddingsruvnet/rufloSkill81kyesterdayMITA62Claude Code
agent-platform-rag-engine-managementgoogle/skillsSkill22kyesterdayApache-2.0A85Claude Code, Codex
llm-app-patternsdavila7/claude-code-templatesSkill33kyesterdayMITA54Claude Code, Codex
9router-embeddingsdecolua/9routerSkill32k9d agoMITA66Claude Code, Codex
embedding-strategiesforyourhealth111-pixel/Vibe-SkillsSkill3.8k3d agoApache-2.0A37Claude Code, Codex
similarity-search-patternsforyourhealth111-pixel/Vibe-SkillsSkill3.8k3d agoApache-2.0A30Claude Code, Codex