rag-query

Query the project's RAG index across code, docs, or papers using MCP tools.

1|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/arashshahidi1997/projio --skill rag-query-arashshahidi1997
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rag-query
Source: https://github.com/arashshahidi1997/projio/tree/main/docs/prompts/skills/rag-query
Command: npx skills add https://github.com/arashshahidi1997/projio --skill rag-query-arashshahidi1997

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables fast, cross-domain search across code, documentation, and literature by querying the project's RAG index using configured MCP tools. It helps teams locate implementations, conventions, and references across a codebase or documentation corpus.

Core Features & Use Cases

  • Infer the appropriate corpus from user intent and run targeted queries across code, docs, or papers.
  • Format results to highlight paths, sections, or citekeys depending on the corpus.
  • Use case: a developer wants to find where a function is implemented, and where a related paper describes the method, then reconciles findings in a single view.

Quick Start

Ask rag-query to search across code, docs, and papers for a topic and return formatted results.

Frequently Asked Questions about rag-query

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search across code, docs, and papers using a RAG index?

To perform cross-domain search across code, docs, or papers, you query the project's RAG index using configured MCP tools like rag_query and corpus_list. It infers the appropriate corpus from your intent and accepts QUERY, CORPUS, and K inputs to return structured results.

How does cross-domain retrieval reconcile code implementations with literature references?

Cross-domain retrieval reconciles implementations with literature by querying codebases and papers concurrently. It formats results to highlight paths, sections, or citekeys, allowing you to view where a function is implemented and where a paper describes the method together.

Can I use rag-query to find specific function implementations and related paper citations?

Yes, you can locate function implementations and related paper citations by querying the RAG index. The tool uses rag_query_multi and citekey_resolve to format results, highlighting relevant file paths and resolving citekeys across your documentation and paper corpora.

What do I need to set up before querying a project corpus across code and documentation?

Before querying a project corpus, you need a configured RAG index and the associated MCP tools. You must have your code, docs, and papers indexed so the retrieval tools can infer the correct corpus and execute targeted queries across the available domains.

What is the best way to retrieve literature references and code conventions from a single search interface?

The best way to retrieve literature references and code conventions is to use a tool that applies rag_query_multi across configured corpora. It formats results to highlight relevant paths, sections, or citekeys, presenting reconciled findings from both codebases and papers in a single view.