Works with the AI Agents you already use
LocalCodeRAG: Offline Semantic Code Search & RAG Navigation
Air-gapped, AST-aware hybrid code retrieval engine for local semantic search and symbol navigation.
$19.99
LocalCodeRAG: Offline Semantic Code Search & RAG Navigation
Example session with this skill installed
Index my current repository and find where the JWT authentication verification is implemented.
- Read your context and instructions
- Compiled the localcoderag
I have indexed the codebase and located the relevant logic for JWT authentication. The search utilized hybrid BM25 and vector ranking to identify the most relevant AST units.
Code Retrieval Results
| Symbol / Chunk | File Path | Type | Match Score |
|---|---|---|---|
verify_jwt_token | src/auth/middleware.py | Function | 0.942 |
JWTValidator | src/auth/providers/jwt.py | Class | 0.887 |
decode_payload | src/utils/crypto.py | Function | 0.764 |
AuthConfiguration | config/settings.json | JSON Object | 0.612 |
Implementation Detail: verify_jwt_token
def verify_jwt_token(token: str, secret: str) -> dict:
"""
Validates the incoming RS256 encoded JWT.
Checks for expiration (exp) and issuer (iss) claims.
"""
try:
payload = jwt.decode(token, secret, algorithms=["RS256"])
return payload
except jwt.ExpiredSignatureError:
raise AuthenticationError("Token has expired")
except jwt.InvalidTokenError:
raise AuthenticationError("Invalid token format")
Next steps
- Use
local_find_referencesonverify_jwt_tokento see which routes are protected. - Run
local_codebase_statsto verify the total number of indexed symbols.
Connects securely to your tools. The creator never sees your data.
About this skill
Coding assistants often struggle with large codebases, hitting context limits or leaking IP to cloud embedding providers. Generic RAG often chunks code at arbitrary byte offsets, breaking the logic of a function or class.
What it does
- AST-Boundary Chunking parses code along natural syntactic structures like functions, methods, and classes to preserve context.
- Hybrid RRF Search combines BM25 lexical matching with dense vector similarity for high-precision retrieval.
- 100% Offline Execution runs all embeddings and indexing on your local CPU with zero network calls.
- Symbol Intelligence tracks definitions and call-site references across the entire repository.
- Sub-10ms Latency provides near-instant search results using a local SQLite FTS5 backend.
How it works
- Initialize the indexer on your repository to build the local SQLite database and AST maps.
- Search using natural language or keywords to locate relevant logic across files.
- Navigate directly to symbol definitions or find all references to a specific class or function.
- Monitor codebase health and index status via the stats command.
Frameworks & tools
Built for use with Claude Code, Cursor, and Windsurf via the MCP protocol. It uses Python, SQLite FTS5 for storage, and AST-based parsers for semantic code understanding.
Why this beats prompting it yourself
Standard prompts rely on the agent's limited context window or basic file-tree visibility. This skill provides a specialized retrieval engine that understands code structure, allowing the agent to "see" relevant logic in huge repos without manual file dragging or hitting token limits.
Use cases
- Indexing a legacy repository to understand complex logic flows quickly.
- Finding specific implementations like JWT auth or database transactions without knowing filenames.
- Performing impact analysis before refactoring a widely-used internal API.
- Working in high-security, air-gapped environments where cloud AI APIs are restricted.
Known limitations
Supports specific file extensions including .py, .ts, .js, .json, and .md. Performance depends on local CPU for initial embedding generation.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 7 days ago
- Software
Python
Permissions
What's inside
Frequently Asked Questions
New in LLM Ops
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.