local_rag

Retrieve relevant documentation chunks from local Python package knowledge bases.

Updated May 22, 2026
One-click install
npx skills add https://github.com/xuanhh567/AlphaApollo-TaskB --skill local-rag
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: local_rag
Source: https://github.com/xuanhh567/AlphaApollo-TaskB/tree/main/alphaapollo/core/skills/builtin/local_rag
Command: npx skills add https://github.com/xuanhh567/AlphaApollo-TaskB --skill local-rag

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Local_rag solves the problem of needing accurate answers supported by documentation from math- and science-focused Python packages without relying solely on web search.

Core Features & Use Cases

  • Package-aware documentation retrieval: Fetches relevant documentation snippets from locally available knowledge bases for packages like sympy, scipy, numpy, and others.
  • Query-focused chunk search: Uses a natural-language query to retrieve the most relevant chunks for your question.
  • Use case: When you want to understand how to solve polynomial equations using sympy, local_rag retrieves the exact documentation passages you need so your downstream reasoning can cite and follow them.

Quick Start

Ask local_rag to retrieve the top 3 documentation chunks for a sympy solving question by specifying repo_name and a natural-language query.

Frequently Asked Questions about local_rag

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

FAQPage Schema
How do I retrieve relevant documentation chunks for math and scientific Python packages?▼

To retrieve local documentation chunks, provide a repo_name and a natural-language query to the local_rag Skill. It searches local knowledge bases for math and scientific Python packages like sympy and scipy, returning relevant snippets. An optional top_k parameter controls the exact number of chunks retrieved for grounded question answering.

What is the best way to find specific usage examples in local documentation for sympy or numpy?▼

Finding specific usage examples in local documentation requires a query-focused chunk search. By specifying the package as repo_name and your question as the query, you retrieve the exact documentation passages needed, enabling downstream reasoning to cite and follow package-specific evidence without relying solely on web search.

Can I use local package documentation retrieval for grounded question answering and coding support?▼

Yes, local package documentation retrieval applies directly to grounded question answering and coding support. It fetches relevant documentation snippets from locally available knowledge bases for math and science-focused Python packages, ensuring your downstream reasoning has package-specific doc evidence to cite and follow.

How do I control the number of retrieved documentation chunks returned for my query?▼

You control the number of retrieved documentation chunks using the optional top_k parameter. When you query local knowledge bases for math and scientific Python packages, top_k determines exactly how many relevant snippets are returned for your natural-language question, bounding the retrieved evidence.

What are the limitations of using local documentation retrieval for scientific Python packages?▼

The main limitation is that local documentation retrieval is restricted to locally available knowledge bases for math- and science-focused Python packages. It also operates with a bounded timeout and requires specific repo_name and query inputs, meaning it cannot fetch external web evidence or unsupported package documentation.