knowledge-retrieval

$npx mdskill add open-gitagent/opengap/knowledge-retrieval

Search ingested documents semantically using RAG.

  • Finds information in pre-ingested PDFs, whitepapers, or technical docs.
  • Uses LlamaIndex with ChromaDB or NVIDIA Foundational RAG.
  • Ranks chunks by semantic similarity to the query.
  • Returns text passages with citation metadata like filename and page.

SKILL.md

.github/skills/knowledge-retrievalView on GitHub ↗
---
name: knowledge-retrieval
description: Semantic search over ingested documents using RAG (LlamaIndex/ChromaDB or Foundational RAG)
allowed-tools: knowledge-retrieval
---

# Knowledge Retrieval

Perform semantic search over a pre-ingested document collection using Retrieval-Augmented Generation (RAG). Backed by LlamaIndex with ChromaDB or NVIDIA Foundational RAG.

## When to Use

- Searching internal or pre-ingested documents and reports
- Finding information in PDFs, whitepapers, or technical documentation
- Retrieving domain-specific knowledge not available on the open web
- This is the **highest priority** source — check the knowledge base first before web or paper searches

## How to Use

1. Formulate a semantic search query describing the information needed
2. Call `knowledge_retrieval` with the query
3. Review returned chunks for relevance
4. Note the citation metadata (filename, page number) for sourcing

## Result Format

Results are returned as text chunks with citation metadata:

```
Relevant text passage from the ingested document...

Citation: filename.pdf, p.12
```

## Constraints

- Searches only over documents that have been ingested into the knowledge index
- Returns ranked chunks based on semantic similarity
- Citation format: `Citation: filename.ext, p.X`
- Each call counts toward the researcher's 8-call limit per task

## Backend Options

- **LlamaIndex + ChromaDB** — Local vector store with LlamaIndex orchestration
- **NVIDIA Foundational RAG** — NVIDIA-hosted RAG service with NeMo Retriever

More from open-gitagent/opengap

SkillDescription
compute-ladder>
create-agentCreates and configures agent.yaml files, writes SOUL.md personality definitions, and sets up agent directory structures with skills, tools, and knowledge. Use when the user wants to configure an agent, create agent.yaml, write SOUL.md, set up agent directory structure, or customize agent settings.
document-reviewReviews financial documents (prospectuses, ADVs, marketing materials) for FINRA 2210 compliance, required disclosures, and balanced presentation. Use when reviewing financial statements, audit documents, regulatory filings, or when the user mentions compliance checks, financial audits, or document verification.
export-agentConverts agent definitions between frameworks — exports to Claude Code, OpenAI, CrewAI, Lyzr, and GitHub Models formats, and imports from Claude, Cursor, and CrewAI projects. Use when the user wants to convert an agent, migrate to another framework, export to LangChain/AutoGen/CrewAI, or import from existing automation tools.
manage-skillsSearches the SkillsMP registry, installs skills locally or globally, creates custom skills with SKILL.md frontmatter, and manages the skill lifecycle. Use when the user wants to find skills, add new capabilities, install a skill, browse available skills, create a custom skill, or manage the skills system.
narco-check>
packet-factory>
paper-searchAcademic paper search via Google Scholar using Serper API
regulatory-analysisAnalyzes documents and processes against FINRA, SEC, Federal Reserve, and CFPB regulatory frameworks. Identifies compliance gaps, classifies findings by severity, and recommends remediation. Use when performing compliance audits, regulatory reviews, gap analyses, or verifying policy adherence to financial regulations.
run-agentConfigures and runs agents with different adapters including Claude, OpenAI, CrewAI, Lyzr, and GitHub Models. Supports local execution, remote git repos, and one-shot prompts. Use when the user wants to run an agent, switch LLM providers, configure adapter settings, or launch agents from git repositories.