zap-rag-mcp: Skill for Claude Code

.grok/skills/searching-zap-rag/SKILL.md

searching-zap-rag is a skill for Claude Code, Codex from RaviTeja-438/zap-rag-mcp. It costs 122 tokens per session (2,049 once invoked), scanned A, original, Apache-2.0.

A read-only project search and code-navigation workflow for ZAP and IntelliJ, an integrated development environment.

In plain words
What is it for?
It searches project text, definitions, usages, implementations, tests, hierarchies, problems, file contents, and version-control history through ZAP.
Why use it?
It makes the most relevant indexed project information the first source for answering codebase questions, reducing guesses and ad-hoc searches.

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/searching-zap-rag/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 searching-zap-rag

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/raviteja-438/zap-rag-mcp/searching-zap-rag"><img src="https://agentmods.dev/badge/skills/raviteja-438/zap-rag-mcp/searching-zap-rag.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,049 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.00122 $0.02049
Opus 5 $0.00061 $0.01025
Sonnet 5 $0.00024 $0.00410
Haiku 4.5 $0.00012 $0.00205

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

Security

Grade A, and why

searching-zap-rag 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.

.grok/skills/searching-zap-rag/SKILL.md · 195 lines

How it starts

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

Searching ZAP RAG (MCP)

Read-only. ZAP tools always come first. Do not invent paths or APIs.

STRICT tool priority (mandatory — never reorder)

When ZAP MCP tools from server zap-rag are available, you MUST follow this ladder. Skipping a tier is a policy violation.

╔══════════════════════════════════════════════════════════════════╗
║  TIER 1 — ZAP MCP ONLY (use first, exhaust before anything else) ║
╠══════════════════════════════════════════════════════════════════╣
║  1a. RAG     zap_rag_status (if health unknown)                  ║
║              zap_rag_search  PLAIN → HYBRID → HYBRID_RERANK      ║
║  1b. PSI     zap_goto_definition, zap_find_usages,               ║
║              zap_find_implementations, zap_type_hierarchy,       ║
║              zap_call_hierarchy, zap_symbol_info,                ║
║              zap_class_structure, zap_find_tests,                ║
║              zap_problems, zap_vcs_blame                         ║
║  1c. FS      zap_read_file, zap_glob_files, zap_list_directory   ║
║  Control     zap_rag_cancel (hang); zap_rag_kill_switch (stuck)  ║
╠══════════════════════════════════════════════════════════════════╣
║  TIER 2 — NATIVE / HOST SEARCH (only if Tier 1 fully exhausted)  ║
║  IDE Search Everywhere, host codebase_search, workspace find,    ║
║  other MCP search servers — ONLY after ZAP returned empty/       ║
║  irrelevant after RAG modes + appropriate PSI/FS attempts        ║
╠══════════════════════════════════════════════════════════════════╣
║  TIER 3 — AGENT OWN CAPABILITIES (last resort only)              ║
║  Memory, prior-chat guesses, ad-hoc shell grep, web search,      ║
║  inventing structure — ONLY after Tier 1 and Tier 2 failed       ║
╚══════════════════════════════════════════════════════════════════╝

MUST

  • Call zap_rag_search before any Tier 2 or Tier 3 tool on codebase questions
  • Stay inside Tier 1 until RAG modes are tried and, for structural questions, relevant PSI tools are tried
  • Cite only paths/lines from tool results
  • Prefer zap_find_usages / zap_call_hierarchy over host “find references” when ZAP is up

Read the full file on GitHub · 195 lines

Files

What ships with it

2 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. 11d ago First seen · 195 lines · 122 tokens per session scan A fe7b86a6fbf5

Subscribe to this mod's changes

searching-zap-rag is a skill published in the GitHub repository RaviTeja-438/zap-rag-mcp (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 122 tokens to every session and 2,049 once invoked, about $0.0006 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-09-01.

Related

Other skills, from other repositories

embeddings

Vector embeddings with HNSW indexing, sql.js persistence, and hyperbolic support. 75x faster with agentic-flow integration. Use when: semantic search, pattern matching, similarity queries, knowledge retrieval. Skip when: exact text matching, simple lookups, no semantic understanding needed.

ruvnet/ruflo · 62 tokens

agent-platform-rag-engine-management

Manage and query Agent Platform RAG Engine Corpora and retrieve grounded contexts using the Google GenAI SDK. Use when listing RAG corpora or files, inspecting a corpus, retrieving contexts, or generating content grounded in a RAG corpus. Do not use for standard database queries (use SQL/Spanner skills), Google…

google/skills · 85 tokens

llm-app-patterns

Production-ready patterns for building LLM applications. Covers RAG pipelines, agent architectures, prompt IDEs, and LLMOps monitoring. Use when designing AI applications, implementing RAG, building agents, or setting up LLM observability.

davila7/claude-code-templates · 54 tokens

9router-embeddings

Generate vector embeddings via 9Router /v1/embeddings using OpenAI / Gemini / Mistral / Voyage / Nvidia / GitHub embedding models for RAG, semantic search, similarity. Use when the user wants embeddings, vectors, RAG, semantic search, or to embed text.

decolua/9router · 66 tokens

azure-search-documents-dotnet

Azure AI Search SDK for .NET (Azure.Search.Documents). Use for building search applications with full-text, vector, semantic, and hybrid search. Covers SearchClient (queries, document CRUD), SearchIndexClient (index management), and SearchIndexerClient (indexers, skillsets). Triggers: "Azure Search .NET"…

microsoft/skills · 102 tokens

browserwing-admin

Manage and operate BrowserWing — an intelligent browser automation platform. Install dependencies, configure LLM, create/manage/execute automation scripts, use AI-driven exploration to generate scripts, browse the script marketplace, and troubleshoot issues.

MemTensor/MemOS · 47 tokens