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.
npx agentmods add skills/miticojo/ge-app-mcp/codebase-ragnpx skills add miticojo/ge-app-mcp --skill codebase-raggit clone --depth 1 https://github.com/miticojo/ge-app-mcpWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00037 | $0.00289 |
| Opus 5 | $0.00018 | $0.00144 |
| Sonnet 5 | $0.00007 | $0.00058 |
| Haiku 4.5 | $0.00004 | $0.00029 |
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 2d 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.
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:
- Analyze Error via Conversational Search: Call the
gemini_enterprise_asktool passing the stack trace or bug description as thequestion. - 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.
- 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
searchscope to execute RAG queries. - Enforcement: Verify that the MCP server has the
searchscope enabled. If any search tool returns an "Access Denied" error, request the user to add thesearchscope to theMCP_SCOPESenvironment variable.
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.
- 2d ago First seen · 18 lines · 37 tokens per session scan A ec7de15a35d5
codebase-rag is a skill published in the GitHub repository miticojo/ge-app-mcp (0 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 37 tokens to every session and 289 once invoked, about $0.0002 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.
Other skills, from other repositories
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…
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.
potpie-source-ingestion
Use when the user explicitly asks to ingest, refresh, or deeply understand a repository, PR, issue, ticket, runbook, incident report, document, or web link into Potpie. The harness performs todo-driven discovery, uses local/GitHub/integration tools and read-only subagents when available, builds evidence-backed…
embedding-strategies
Select and optimize embedding models for semantic search and RAG applications. Use when choosing embedding models, implementing chunking strategies, or optimizing embedding quality for specific domains.
generate-rag-dataset
Generate a synthetic evaluation dataset from your RAG knowledge base. Creates diverse Q&A pairs with expected answers and relevant context, ready for LangWatch experiments and platform import. Use when you need test data for your RAG pipeline.
embeddings
Vector embeddings configuration and semantic search.