codebase-rag

codebase-rag is a skill for Claude Code, Codex from miticojo/ge-app-mcp. It costs 37 tokens per session (289 once invoked), scanned A, original, Apache-2.0.

A software-development skill that queries the Gemini Enterprise Conversational Search API, a company search service, to investigate bugs and understand code patterns.

In plain words
What is it for?
It is for investigating production or staging errors, checking whether they are documented, and proposing code changes based on the search results.
Why use it?
It helps connect error reports and stack traces with known causes and recommended fixes in a corporate knowledge base.

Skill for Claude CodeCodex

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

Good fit It is for investigating production or staging errors, checking whether they are documented, and proposing code changes based on the search results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/miticojo/ge-app-mcp/codebase-rag
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 miticojo/ge-app-mcp --skill codebase-rag
Clone the repo
git clone --depth 1 https://github.com/miticojo/ge-app-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 codebase-rag

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/miticojo/ge-app-mcp/codebase-rag"><img src="https://agentmods.dev/badge/skills/miticojo/ge-app-mcp/codebase-rag.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 289 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.00037 $0.00289
Opus 5.5 $0.00015 $0.00116
Sonnet 5.5 $0.00007 $0.00058
Haiku 4.5 $0.00004 $0.00029

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

Security

Grade A, and why

codebase-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 1mo 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/codebase-rag/SKILL.md · 18 lines

What it actually says

Codebase RAG Assistant

System Prompt / Behavioral Instructions for the Agent

If the user reports a bug, shares an error stack trace, or asks how to resolve an exception in a production or staging environment:

  1. Analyze Error via Conversational Search: Call the gemini_enterprise_ask tool passing the stack trace or bug description as the question.
  2. RAG Synthesis: Use the synthesized answer from the Response API to explain to the user whether the error is already known, what its documented root cause is, and what solutions are recommended in the corporate wiki.
  3. Propose Fix: Based on the query results, propose a code modification to the local codebase that is fully aligned with documented corporate standards.

Prerequisites & Security Scopes

  • Required Scope: This skill relies entirely on the search scope to execute RAG queries.
  • Enforcement: Verify that the MCP server has the search scope enabled. If any search tool returns an "Access Denied" error, request the user to add the search scope to the MCP_SCOPES environment variable.
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. 1mo ago First seen · 18 lines · 37 tokens per session scan A ec7de15a35d5

Subscribe to this mod's changes

codebase-rag is a skill published in the GitHub repository miticojo/ge-app-mcp (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 37 tokens to every session and 289 once invoked, about $0.0001 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-08-31.

Related

Other skills, from other repositories

autorag-doctor

Diagnose and repair a broken or half-working AutoRAG install so every configured source is both indexed and searchable. Checks AutoRAG, MinSync, Jikji, the embedding gateway, and every CLI-backed datasource (lazykatok, discrawl, slacrawl, wacrawl, telecrawl, notcrawl, qmd, mailcrawl, rclone, Spotlight), then fixes…

Marker-Inc-Korea/AutoRAG · 152 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

profile-vllm-performance

Profile vLLM and RT-VLM inference to identify and remove GPU-idle gaps, underfilled batches, transfer stalls, serialized multimodal work, scheduler gaps, or KV pressure. Use this skill when GPU utilization is unexpectedly low or bursty, capacity trails another runtime, TTFT or ITL regresses, or multimodal prefill and…

NVIDIA-AI-Blueprints/video-search-and-summarization · 93 tokens

rag-architecture-review

Review an existing Retrieval-Augmented Generation system and find why it underperforms. Use when asked to review or audit a RAG pipeline, diagnose wrong/ungrounded answers from a 'chat with your docs' feature, or improve an already-built knowledge assistant. Produces a staged review — ingestion, chunking, retrieval…

mohitagw15856/pm-claude-skills · 89 tokens

rag-index-decisions

After making a non-obvious architectural decision, solving a novel bug, agreeing on a coding standard, or reaching a conclusion worth remembering, index it back into the knowledge base so the next occurrence is one search away. Uses adddocument or addfromurl. Closes the feedback loop that makes a RAG-backed team…

lyonzin/knowledge-rag · 72 tokens

rag-blueprint

NVIDIA RAG Blueprint — deploy, configure, troubleshoot, and manage. Handles any RAG action: deploy, install, start, enable, disable, toggle, change, configure, troubleshoot, debug, fix, shutdown, stop, or tear down any RAG feature or service (Agentic RAG, VLM, guardrails, query rewriting, models, search, ingestion…

NVIDIA-AI-Blueprints/rag · 92 tokens