Works with the AI Agents you already use
Search Local Docs & Codebase Offline No Vector DB or API Key
Search and query local documentation and codebases using a zero-dependency, privacy-focused RAG engine.
$9
Search Local Docs & Codebase Offline No Vector DB or API Key
Example session with this skill installed
Search my ./docs folder for instructions on how to configure the authentication middleware and cite the files.
- Read your context and instructions
- Compiled the search local docs
I have searched the ./docs directory for information regarding authentication middleware configuration. I found three relevant segments across two files.
Local Documentation Search Results
| Source File | Relevance | Snippet Summary |
|---|---|---|
docs/auth/config.md | 0.94 | Detailed steps for setting up AUTH_SECRET and PROVIDER_ID in the environment. |
docs/api/middleware.py | 0.88 | Implementation logic for the SessionGuard class and header validation. |
docs/auth/config.md | 0.72 | List of supported OAuth2 providers and their required callback URLs. |
Configuration Summary
Based on the retrieved context from docs/auth/config.md, you must define an AUTH_SECRET in your .env file to sign session cookies. The middleware, as defined in docs/api/middleware.py, expects an Authorization: Bearer <token> header for all routes prefixed with /api/v1/private.
To finalize the setup
- Ensure
SessionGuardis registered in your main application entry point. - Verify that
CALLBACK_URLinconfig.mdmatches your deployment domain.
Next steps
- Open
docs/auth/config.mdto copy the environment variable template. - Review the
SessionGuardclass indocs/api/middleware.pyif you need to add custom exclusion paths.
Connects securely to your tools. The creator never sees your data.
About this skill
Managing sensitive project documentation often forces a choice between manual searching or uploading private data to cloud vector databases. This skill implements a local RAG engine to query your filesystem directly without external APIs or privacy leaks.
What it does
- Local Indexing chunks and processes local files including Markdown, code, and configuration files.
- Context Retrieval uses BM25 ranking to pull the most relevant snippets for any specific query.
- Source Citation maps every answer back to its original file path and chunk ID.
- Zero-Dependency Execution runs entirely on your local machine with no cloud vector DB required.
How it works
- Targeting identifies the specific local directory or knowledge base to be searched.
- Retrieval executes a local Python script to rank and extract relevant text chunks.
- Synthesis processes the JSON output to generate a grounded response based only on retrieved data.
- Validation reports if no matches are found rather than attempting to guess or hallucinate.
Frameworks & tools
This skill utilizes a Python-based retrieval script (search_docs.py) leveraging BM25 for ranking. It supports Markdown, text, reStructuredText, Python, JSON, YAML, CSV, and HTML formats.
Why this beats prompting it yourself
Standard prompts struggle with large file contexts and often hallucinate when information is missing. This skill provides a deterministic retrieval layer that ensures the agent only speaks from your actual documentation while maintaining 100% data privacy.
Use cases
- Docs Q&A asking specific technical questions across a large Markdown documentation site.
- Code Onboarding searching a repository for specific implementation patterns or logic.
- Privacy-First Research querying internal company handbooks or project notes without cloud uploads.
Known limitations
Requires a local Python environment to execute the search script. Does not support PDF or proprietary binary document formats.
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.
Requires Python and the scripts/search_docs.py file to be present. Does not support binary formats like PDF or .docx.
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 5 days ago
- Software
Python 3.8+